on ‎2015 Oct 12 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
Request clarification before answering.
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 |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.