Skip to content

Instantly share code, notes, and snippets.

@teopost
Created August 28, 2014 16:33
Show Gist options
  • Save teopost/577704870ca97cf27071 to your computer and use it in GitHub Desktop.
Save teopost/577704870ca97cf27071 to your computer and use it in GitHub Desktop.
Truncate table from csv with csvfix
csvfix sql_insert -en -sep "|" -ifn -hdr "TRUNCATE TABLE dbo.IGM_IMP_CLIFOR_TESTDOCremo" -s "\ngo\n" -f 1:CHIAVE,27:DES_DOC,28:DES_NOTE -t IGM_IMP_CLIFOR_TESTDOC -o a.txt io_clifor_testdoc.dat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment