SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Audit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

shaggy
Posting Yak Master

India
245 Posts

Posted - 02/07/2013 :  04:06:07  Show Profile  Reply with Quote
I have a bunch of scripts and the script (each script has many DML lines) contains insert\update\delete activity for many tables i want to validate changed\deleted information from a table so am looking for any good approach.

This is only for validation and its only for test env.

I've made some approach
1)creating triggers for all tables
inside trigger log table will record changed activity ,table name and time

2)we Can create SQL CDC to track the changes.

apart from this any other approach

  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000