tsql cmd exec script from file

Solutions on MaxInterview for tsql cmd exec script from file by the best coders in the world

showing results for - "tsql cmd exec script from file"
Cassandra
10 Sep 2016
1#Integrated Security
2sqlcmd -S Serverinstance -E -i import_file.sql
3#UserName and Password
4sqlcmd -S <server Name> -U sa -P sapassword -i inputquery_file_name -o outputfile_name
5