I have a project coming this weekend where all the jobs has to be stopped but only 1 step in a particular job has to be run.
for eg: i have a a 2 step job and the second step must run and the first step has to be disabled or stopped along with the other jobs.
First of all i thought of stopping the sql server agent, but that will stop all the jobs. Is there any way to do it.
Best Answer
You can't disable a particular job step.
You have two options, the way I see it:
Change the job to have the "start step" as your second step, and have the second step's "on success action" to quit the job (if there are subsequent steps)
Create a separate job with the step's logic and then only use the new job that does the work