Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My requirement is to track old rows and modified rows from some particular table and the time when changes are made. Using "Change Tracking" and with help of any system table.

Due to some specific reasons I have to use change tracking as I was told not to use triggers and Change Data Capture.

Right now I am able to fetch current data and which column is modified. But in addition I want to track time of modification and old data.

But if anyone can help me to get any one of these two will be very helpful for me.

share|improve this question

migrated from Feb 3 '12 at 17:29

This question came from our site for professional and enthusiast programmers.

Without triggers or CDC? Ho hum. Stored procedures allowed...? – gbn Feb 3 '12 at 13:02
Yes we can use stored procedure but we are not maintaining any extra table for any input – user1166764 Feb 3 '12 at 13:13
You can find some more additional information from my Article… – user18807 Feb 5 '13 at 9:22

If you can't add any extra storage for the data (as noted in your comment) then you simply can't do this. SQL Server doesn't track the old and modified rows for you.

There's a duct-tape way of doing it temporarily: you can read the transaction log. When combined with the full chain of backups, you can build the old & new data together. Third party data recovery products like Quest LiteSpeed do this - for any transaction, they'll show you the old and new data by reading through the full backup and transaction log backups.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.