Viewing 4 posts - 1 through 5 (of 5 total)
This will start the maintenance plan and monitor for the job completion.
Declare @JobStatus int
Declare @JobID nvarchar(150)
Declare @PlanID nvarchar(150)
--This is the Job you want to start
Set @JobID = '####' --Job...
February 21, 2012 at 1:49 pm
All that is secondary. Really it comes down to:
1. I have a maintenance plan job
2. I want to start that job in another job
3. I do not want to...
February 21, 2012 at 12:09 pm
I know the index job takes 14 minutes to run; but when started from another job it takes 0 seconds (per the history).
February 21, 2012 at 11:48 am
I want to index the tables I am loading data into before they are used later in the job. When i run the maintenance plan as a step in...
February 21, 2012 at 11:25 am
Viewing 4 posts - 1 through 5 (of 5 total)