Go to file
2022-10-09 17:23:59 +05:00
.gitignore Update .gitignore 2022-09-18 12:48:49 +05:00
consts.go Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
csv.go Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
encodings.go Bugfixes 2022-09-21 21:36:40 +05:00
go.mod Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
go.sum Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
LICENSE Create LICENSE 2022-09-18 12:46:11 +05:00
main.go Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
make.bat first commit 2022-09-18 12:43:16 +05:00
README.md Bugfixes 2022-09-21 21:36:40 +05:00
sql.go Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
types.go Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00
zip.go Switch to urfave/cli app structure 2022-10-09 17:23:59 +05:00

csv2db

Bulk CSV files uploader into Microsoft SQL Server.

Usage

Usage:
  csv2db [OPTIONS]

Application Options:
      /filepath:                CSV file path
      /server:                  server address (default: 127.0.0.1)
      /database:                database name
      /table:                   table name in schema.name format
      /fields:                  field types in [sifdt ] format
      /comma:[,|;|t]            CSV file comma character (default: ,)
      /create                   create table
      /overwrite                overwrite existing table
      /encoding:[utf8|win1251]  CSV file charset (default: utf8)
      /skiprows:                number of rows to skip
      /dateformat:              date format (Go style) (default: 02.01.2006)
      /timestampformat:         timestamp format  (Go style) (default: 02.01.2006 15:04:05)
      /unknowncolumnnames       insert to table with unknown column names

Build

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