Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Check to see if a job is running and stopping/re-starting it

$
0
0

Hi All,

I am trying to accomplish the following via a sql stored proc/script and need help:

1. Check to see if  the job named "Data Load" is running

2. If it is running, Stop it first and then start it

Thanks!


GBM


Viewing all articles
Browse latest Browse all 23857

Trending Articles