Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Server Agent Job Failure - keeps executing

$
0
0

SQL 2008 - 2012

I have multiple Jobs that run on a schedule. Sometimes the jobs exec a tsql script and other jobs it executes an SSIS package. It does not seem to matter which. When a job fails, the job continues to execute sometimes for 20 minutes before stopping and then displaying the error message and information. I try to TRY CATCH most errors but sometimes System error is thrown and the job continues to execute. I have some critical sections of code that I do not want a soon to fail job to continue to execute.

Is there a way to know that an error has been throw? These jobs have lots of seperate batches (GO statements).


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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