June 7, 2012 at 7:17 am
Hi All,
Some one devloper update a column in a table, how to I find out who updated it is?
Could you please help me out?
Thanks is Advance:-)
June 7, 2012 at 7:30 am
Unless you had some form of auditing in place, you don't.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 8:20 am
There's nothing in SQL Server that tracks who is making changes automatically. You have to set something up ahead of time. There are lots of ways to do that, so you need to define what it is you're looking for in particular.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
June 7, 2012 at 9:19 am
AAKR (6/7/2012)
Hi All,Some one devloper update a column in a table, how to I find out who updated it is?
Could you please help me out?
Thanks is Advance:-)
Which version of SQL server are you using?....if it's SQL 2005, you can use DML trigger to track who made the changes.....and if it's SQL 2008 and above, you can use the CDC(change data capture) which you need to enable at the DB level and then the table level as well to track for any changes. You can use these methonds going forward if you want to track the changes.
Regards,
TA
Regards,
SQLisAwe5oMe.
June 7, 2012 at 6:02 pm
thanks for the all the responces
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply