SQLCMD error
-
hi friends I tried to run the script db.sql using SQLCMD.I tried to execute it with the following command....SQLCMD -E -i C:\a\db.sql. It is not working in my system.It is showing the error "Could not open connection to SQLSERVER [2]"..."login timeout expired"....But this command is working fine in other system.Would you help me to trouble shoot this problem With regards Denver
-
hi friends I tried to run the script db.sql using SQLCMD.I tried to execute it with the following command....SQLCMD -E -i C:\a\db.sql. It is not working in my system.It is showing the error "Could not open connection to SQLSERVER [2]"..."login timeout expired"....But this command is working fine in other system.Would you help me to trouble shoot this problem With regards Denver
-
Looks like you haven't properly specified the SQL Server you are trying to connect to. Check the help for SQLCMD -
SQCMD -Help
will probably do it.Bob Ashfield Consultants Ltd
Oh thanxx Bob...let me check it