Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Stop a job vs Disable a job

$
0
0

I'm confused as to the difference between sp_stop_job vs  disabling the job by setting enabled to 0.  At first I thought it was the same thing.

Now I'm thinking that stop_job applies only to jobs that are currently executing in the computer's CPU (and thus stop_job will not prevent the job's future scheduled executions from occurring) whereas disabling the job suspends the schedule and thus DOES cancel the job's future scheduled executions. Do I have this correct?


And thus start_job loads the job into the CPU for an immediate one-time execution, right?

Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>