1

I have a multi-step SQL Agent job with steps 1-20. Is it possible to run one step only or is the only option to start the job at a particular step (and then watch as it runs through all subsequent steps)?

I've looked at the documentation for sp_start_job and have tried going through the GUI of SMSS, but can't figure out if it's possible to do this.

4

1 回答 1

1

当然,如果您右键单击 SQL Server 作业并从步骤开始。这将从某个点开始,然后执行剩余的步骤。

Open SQLServerManagementStudio--> SQL Server Agent Job--> Select the job--> Right Click--> Start Job At Step-->Highlight the job and click START.

更新:如果你需要做一个步骤,你不能将成功设置为:Quit the job as Success

于 2013-07-12T22:01:59.977 回答