on 10-12-2015 2:12 PM
Hi experts,
is it possible, to enter more than just one command in ISQL?
I think it is possible, but how is the syntax?
So entering this doesn't work, as I always get the error that the syntax isn't ok.
1>sp_sysmon "begin_sample"
2>dump database <SID> to "<path>"
3>sp_sysmon "end_sample"
4>go
If you have more than one stored procedure in a batch, you must use the "exec[ute]" keyword in front of the stored procedure name. "execute" is optional if the stored procedure is the only thing in the batch.
-bret
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.