rwheeler23
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
ASKER
Thanks
ASKER