Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Notification message?

Status
Not open for further replies.

sqlcasey

Programmer
Sep 21, 2006
150
US
SQL Server 2005

Is it possible to add a custom message to a job notification? For example, on job failure, I would like to add more info than just the job failed.

Thanks
 
Not really. If you add a seperate job step that all the jobs go to on failure, that step can send out any info that you want, then that step can report failure upon success.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
We use SMTP mail (xp_smtp_sendmail) as a final job step in many jobs just to get customized messages. Unfortunately, it seems notification mails are very generic.

However, have you tried setting up Alerts? This might help you out.



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top