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, November 24, 2015 9:46 AM
Points: 23, Visits: 802
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: 2 days ago @ 8:48 AM
Points: 6,014, Visits: 11,913
Have you looked at DDL triggers?

Post #940271
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse