Hello folks, Can anyone help me with this scenario? "I am facing a scenario here where during some debugging exercises, we had turned off the update trigger on on of my tables. Soon after the exercise, we left for the day, while forgetting to restore the triggers back. After a week, we realise our folly and are now wanting to analyse what all transactions could have occured in the meantime and apply them to the trigger tables and take the database into a single-truth version. Any ideas how we can accomplish? My rig is having SQL Server 2008R2"
You are out of luck. There is no automatic mechanism that captures this within SQL Server unless you've set it up. You could use [Extended Events] (the best mechanism) or a lot of people are still using Profiler. But both of these require that you have defined and enabled their event capture. There is no way in the world to go back in time and capture this information. Unless... Do you have your database in full recovery mode and do you have all the log backups for the period you're interested in? If so, you could, through a very long, tedious, extended process, carefully browse through the [transaction logs using fn_dblog]. It will not be easy. :