Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

Get an email notification of the failed job STEP DETAIL

$
0
0

I have set up my SQL Server Agent to send notification emails whenever a job fails, but the messages in the emails are so not detailed, and it's not more than something like:

MESSAGES:         The job failed.  The Job was invoked by User domain\user.  The last step to run was step 1 (jobName).

however if I open the history of that failing job, I can drill-down and see the details and the error message of the specific failing step inside that job.... the question is that, how can I get the error message of theSTEP (not just the job) appear in the notification email?

 



Viewing all articles
Browse latest Browse all 1519

Trending Articles



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