Link to home
Start Free TrialLog in
Avatar of rwheeler23
rwheeler23Flag for United States of America

asked on

Checking for column changes SQL 2014

I have been tasked with creating a rudimentary change tracking system for tables in our databases. There are about a dozen tables to be  checked with anywhere from 20 - 100 fields per table. In each table there is datetime stamp when last modified. What is the most efficient way of querying these tables looking for value changes in any of the columns? Do I need to go through each column? I can use the date/time stamp column to first identify the rows that have changed values but then how do I identify which columns have been changed?
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rwheeler23

ASKER

Yes, change tracking appears to be the way to go. I was concerned that it may be overkill. Will change tracking overly burden the server? Thank you for the link. This will definitely get me started.
Will change tracking overly burden the server?
No, it's light but will require disk space to store all the changes. Luckily there's a cleanup task to avoid storing old change tracks.
Thanks