August 23, 2007 at 4:23 pm
Hi, Thanks in advance.
Does any one have SQL Script to find out when "data" was modified/updated in the table.
Regards.
August 23, 2007 at 4:44 pm
You need to create that data. Either create a trigger to capture the data you want to an audit table. Or add a modified date column to the table and have the trigger add the date there. Or require that column be populated when an insert/update is performed.
August 24, 2007 at 9:53 pm
Shwetha -
Unless you've set up columns in or triggers on your tables to accept this type of information or are runnning a "log explorer" type tool there is no way to tell who updated a specific row in a table.
Joe
August 24, 2007 at 10:20 pm
Heh... guess you didn't believe the ol' man when he told you the first time, huh, Shwetha?
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=388319#bm393497
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply