I am trying to execute an sql script (which consists of a simple select query) via the command prompt using -
osql -E -i c:\query1.sql
When attempting this, I get an error -
1> 2> Msg 102, Level 15, State 1, Server PADSVR038, Line 1
Incorrect syntax near '''.