how do you run multiple DBCC commands in one job
From: Rob (anonymous_at_discussions.microsoft.com)
Date: 09/02/04
- Next message: matthew c. harad: "Cannot Backup over a Network"
- Previous message: Tibor Karaszi: "Re: how do you run multiple DBCC commands in one job"
- In reply to: Rob: "how do you run multiple DBCC commands in one job"
- Next in thread: Keith Kratochvil: "Re: how do you run multiple DBCC commands in one job"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Sep 2004 10:10:20 -0700
One additional note:
The reason to set these steps as CMDEXEC is because I plan
to use OSQL so that the result-set generated by each DBCC
command is stored in its own output file.
Thanks.
>-----Original Message-----
>Hello:
>
>I'd like to create a job to run multiple DBCC commands in
>sequence, one after the other upon successful execution
of
>the preceeding step (and not using the WAIT FOR
TIME/DELAY
>clause).
>
>I could create a multiple step CMDEXEC job, with each
step
>containing its own DBCC command. However, I am afraid
that
>upon executing this job, SQL Server may run all these
DBCC
>commands at the same time without allowing each step to
>complete in its entirety, as SQL Server will not verify
>the completion of a the command passed within a CMDEXEC
>type task.
>
>Any suggestions on how to make the afore-mentioned
process
>work, will be very helpful and appreciated. Thank you in
>advance.
>.
>
- Next message: matthew c. harad: "Cannot Backup over a Network"
- Previous message: Tibor Karaszi: "Re: how do you run multiple DBCC commands in one job"
- In reply to: Rob: "how do you run multiple DBCC commands in one job"
- Next in thread: Keith Kratochvil: "Re: how do you run multiple DBCC commands in one job"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|