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: Tuesday, June 26, 2012 6:08 AM
Points: 23, Visits: 670
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: 2 days ago @ 8:58 AM
Points: 5,077, Visits: 8,918
Have you looked at DDL triggers?

John
Post #940271
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse