Tsql cmd exec script from file

This article is tagged with: Tsql cmd exec script from file and mysql

tsql cmd exec script from file

#Integrated Security
sqlcmd -S Serverinstance -E -i import_file.sql
#UserName and Password
sqlcmd -S <server name=""> -U sa -P sapassword -i inputquery_file_name -o outputfile_name
</server>

This article is tagged with: Tsql cmd exec script from file and mysql