Go to file
2022-09-18 12:47:31 +05:00
.gitignore Add .gitignore 2022-09-18 12:47:31 +05:00
csv.go first commit 2022-09-18 12:43:16 +05:00
encodings.go first commit 2022-09-18 12:43:16 +05:00
go.mod first commit 2022-09-18 12:43:16 +05:00
go.sum first commit 2022-09-18 12:43:16 +05:00
main.go first commit 2022-09-18 12:43:16 +05:00
make.bat first commit 2022-09-18 12:43:16 +05:00
README.md Fix README header 2022-09-18 12:44:10 +05:00
sql.go first commit 2022-09-18 12:43:16 +05:00
types.go first commit 2022-09-18 12:43:16 +05:00
zip.go first commit 2022-09-18 12:43:16 +05:00

csv2db

Bulk CSV files uploader into Microsoft SQL Server.

Usage

Usage:
  csv2db [OPTIONS]

Application Options:
  /f, /file:                    CSV file path
  /s, /server:                  server address (default: 127.0.0.1)
  /d, /database:                database name
  /t, /table:                   table name
  /l, /fields:                  field types
  /c, /comma:[,|;|t]            CSV file comma character (default: ,)
  /x, /create                   create table
  /o, /overwrite                overwrite existing table
  /e, /encoding:[utf8|win1251]  CSV file charset (default: utf8)
  /r, /skiprows:                number of rows to skip

Build

Use make.bat file to build csv2db.exe executable.