mssql-cmd - SQL Server interactive and batch query command-line tool »

Download mssql-cmd Free Trial »

Run mssql-cmd in batch mode

mssql-cmd can run in batch mode, like this:


my-cmd dsn="pan:withdata@192.168.0.102/test" task=load table=media_messages datafile=f:\media_messages.txt delimiter=, quote=" header=y quit=y