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
Author
Message
Posted Monday, June 21, 2010 6:18 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, August 7, 2014 7:18 AM
Points: 23, Visits: 684
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


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 9:50 AM
Points: 5,369, Visits: 9,913
Have you looked at DDL triggers?

John
Post #940271
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse