I was advised to make another question, from here - http://stackoverflow.com/questions/19674045/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
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 ?