Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 716 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 716 Bytes

csv2sql

Helpful tool when you i.e want to create a bunch of SQL from lines in a CSV file.

Pre-requirements

  • .Net 6

Known bugs

  • When parsing lines with "," it will not return the correct number of columns and data.

Build

Run the following to build it as self-contained (without need to install .Net on the target machine)

Windows

dotnet publish -c Release -r win-x64 /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained

Linux

dotnet publish -c Release -r linux-x64 /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained

OSX

dotnet publish -c Release -r osx-arm64 /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained