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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suspect database to send mail

Status
Not open for further replies.

EBee

MIS
Aug 10, 2001
229
US
How do I configure my SQL Mail to send mail/page messages when one of my databases goes "SUSPECT". I already have my SQL mail setup, i just can not find a error that sends this message out.

thanks
 
You may have to write a job that periodically polls the master..sysdatabases table for a database w/ status 32678.
when the status is found, then email the alert. trick would then be to set some type of flag once the email was sent so that other emails of the same error will not be sent out until the suspect DB issue is resolved.

Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top