Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 How to send an email when SQL Server locks-up?

Author  Topic 

RickNZ
Starting Member

1 Post

Posted - 2011-06-22 : 05:50:44
I'm running SQL 2008 Standard. I'm experiencing lock-ups once or twice a week, which I'm in the process of debugging. In the meantime, is it possible to configure SQL Server to send me an email when the lock-ups happen? I realize I could write an application to do it, but I'm hoping to find a better way.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2011-06-22 : 07:01:25
There is a query in the DMV views, or the sp_locks procedure.
Have a scheduled job investigate at a regular interval and send email if it finds something suspicious.



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -