Revolving around the core of technology
Hello,
I'm currently trying to run a Script using the Commandline feature.
As described in the Manual there can be Problems if u execute Multiple Statemens via Commandline.
Is there a way to run a query via commandline in the same way u would run it with the WinSQL interface??
Thanks in advance!
Julian
Julian,
What problems are you running into? Are you getting any error messages?
You should be able to run multiple statements as long as they are separated by a query terminator. For example:
update customer set state = 'NJ' where id = 5
go
update orders where oid = 45
Since these two scripts are terminated by a'GO', both will run.