Converts a comma delimitered CSV to a MSSQL script.
- awk, sed, wc - (found in GNU on Windows, Scoop (
scoop install gow
) or Cygwin) - Powershell
./ConvertCsvTo-Sql -CsvPath <path/to/csv> -OutputFile <path/to/output>
If -OutputFile
is omitted it will just write to stdout.