These are code templates to read CSV files and import them into MS SQL Server. They should serve as jumping off points, not as stand alone programs.
Not sure if it works on other RDBMS, I tested it in SQL Server 2022 Express. x.bat will recreate a table in selected database. Then loop all CSV files in the csv folder and import all lines to the ...
bulk insertでCSVをインポートしようとして、うまく出来なかったので、以下のパターンでテストした記録。 エラー1 メッセージ 7301、レベル 16、状態 2、行 2 リンク サーバー "(null)" の OLE DB プロバイダー "BULK" から必要なインターフェイス ("IID_IColumnsInfo") を取得 ...