Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

ALert When Database State Changes Expand / Collapse
Posted Monday, June 21, 2010 6:18 AM


Group: General Forum Members
Last Login: Tuesday, September 22, 2015 3:03 AM
Points: 23, Visits: 776
Hi Friends,

How to Create a alert for Database STate changes?
(EG : if State changes from ONLINE to OFFLINE then i should get alert,
I can query sys.databases to find the Database STate BUt I need to get alert when State changes)

Post #940263
Posted Monday, June 21, 2010 6:29 AM



Group: General Forum Members
Last Login: Today @ 8:08 AM
Points: 5,909, Visits: 11,609
Have you looked at DDL triggers?

Post #940271
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse