Need to understand output of sqlcmd.exe

若如初见. 提交于 2019-12-11 07:00:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!