Question: When i run this commend, i got this msg 1> SQLCMD -S LPC:LOCALHOSTSQLEXPRESS -Q SELECT GETDATE(); 2> GO Msg 102, Level 15, State 1, Server

When i run this commend, i got this msg

1> SQLCMD -S LPC:LOCALHOST\SQLEXPRESS -Q "SELECT GETDATE();" 2> GO Msg 102, Level 15, State 1, Server LOAY8896\SQLEXPRESS, Line 1 Incorrect syntax near 'S'.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!