May 29, 2013 at 11:49 am
I want to get email alert if the following changes happen on the table in the database:
1. Table deleted
2. Column added/deleted
3. Column datatype/datalength changes
Please advise. Thanks.
May 29, 2013 at 12:14 pm
Mh-397891 (5/29/2013)
I want to get email alert if the following changes happen on the table in the database:1. Table deleted
2. Column added/deleted
3. Column datatype/datalength changes
Please advise. Thanks.
You should look into DDL triggers.
http://msdn.microsoft.com/en-us/library/ms190989.aspx
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
May 29, 2013 at 12:25 pm
I'd also consider event notifications.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply