Click here to Skip to main content
15,917,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I need to set up a job that emails me every morning to say if/when any constraints(Check and reference types) on the database have been disabled.

Can anyone help

Thanks
Claire
Posted

1 solution

You might want to look into Auditing in SQL Server 2008[^]. That should give you a nudge into the right direction.

Cheers!

-MRB
 
Share this answer
 
Comments
Espen Harlinn 11-May-11 13:05pm    
Good link, my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900