问题
I was advised to make another question, from here - Need help to make sqlcmd run as per requirements
My sqlcmd.exe is invoked with a command of the form -
sqlcmd -S .\MYSQLSERVER2008 -U MyUsername -P MyPassword
-i C:\Database\hugescript.sql > log.txt 2> error.txt
Now,
log.txt says - Canceling connection. Please wait...
Error.txt says - Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 :
Operation was canceled..
How do I find out the cause of the problem and fix it ?
来源:https://stackoverflow.com/questions/19674377/need-to-understand-output-of-sqlcmd-exe