Quantcast
Channel: All about Business Intelligence » SQL
Viewing all articles
Browse latest Browse all 4

A Stored Procedure to Launch a SQL Agent Job and Wait

$
0
0
If you need to launch a SQL Agent Job from within a stored procedure you can simply use msdb..sp_start_job @job. But what if you need to wait for that job to finish before you can continue whatever you are doing in that stored procedure ? Here is the code for a stored procedure [...]

Viewing all articles
Browse latest Browse all 4

Trending Articles