需要了解sqlcmd.exe的输出

时间:2013-10-30 05:18:29

标签: sql-server windows cmd sqlcmd

我被建议在这里提出另一个问题 - Need help to make sqlcmd run as per requirements

我的sqlcmd.exe是使用表单 -

的命令调用的
sqlcmd -S .\MYSQLSERVER2008 -U MyUsername -P MyPassword 
-i C:\Database\hugescript.sql > log.txt 2> error.txt

现在,

log.txt says - Canceling connection. Please wait...
Error.txt says - Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : 
Operation was canceled..

如何找出问题的原因并加以解决?

0 个答案:

没有答案