RE: Calling sp_start_job -
08-20-2009
, 03:29 AM
The sp_start_job system procedure only notifies SQL Server Agent to start the
job, then returns to the caller.
It does not wait for the job to complete, nor does it monitor job progress.
It makes a few checks *before* initiating the job, but nothing after the job
has started.
You will therefore need another way of monitoring job execution (e.g. using
sp_help_job).
ML
---
Matija Lah, SQL Server MVP
http://milambda.blogspot.com/ |