SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Alerts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Wrangler
Starting Member

USA
35 Posts

Posted - 10/11/2012 :  10:43:01  Show Profile  Reply with Quote
We have an alert set for Severity 17 to page the on call. There are some error numbers for Severity 17 we do not want to page the on call. Is there a way to check the error number first before the Notify operators is triggereed? I see you can select the error number in the Alert dialog box but we really want all errors to page except a couple. Or is there an easier way to handle this scenario?

Thank you
Darcy

robvolk
Most Valuable Yak

USA
15635 Posts

Posted - 10/11/2012 :  10:57:19  Show Profile  Visit robvolk's Homepage  Reply with Quote
The only option using SQL Agent I can think of is to have the alert start a job and the job code checks the error and determines whether to forward it. I don't know if the job can access that error though.

This sounds like something that event notifications would be better suited for.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000