How to: Stop a Job (SQL Server Management Studio)

This topic describes how to stop a Microsoft SQL Server Agent job.

To stop a job

  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.

  2. Expand SQL Server Agent, expand Jobs, right-click the job you want to stop, and then click Stop Job.

    If you want to stop multiple jobs, right-click Job Activity Monitor, and then click View Job Activity. In the Job Activity Monitor, select the jobs you want to stop, right-click your selection, and then click Stop Jobs.

    For a multiserver job, a STOP instruction for the job is posted to all target servers of the job.

Note

If a job is currently executing a step of type CmdExec or PowerShell, the process that is being run (for example, MyProgram.exe) is forced to end prematurely. This can cause unpredictable behavior, such as files that are being used by the process being held open.

See Also

Reference

Concepts