Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Who inserted/updated row in the table
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 06/20/2013 :  09:08:33  Show Profile  Reply with Quote

I am new to SQL SERVER administration. Last week we faced one problem during the internal testing of a newly developed application. While testing was going on few unwanted rows were inserted in to one table. We could not find from where this data is coming as the trace was not enabled.
Is it possible now to find out which DB user\application was responsible for this?
Can we find the reason by reading the Transaction Log on this particular date or between two dates?

Thank you.

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 06/20/2013 :  15:01:04  Show Profile  Reply with Quote
I don't think it is possible to get this information unless you had some kind of auditing turned on. It would be a very difficult task to read the log file to get this information, if that is possible at all. Log file is geared towards documeting transactions in a form readable by the SQL engine for rollbacks, roll forwards etc.
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 06/22/2013 :  10:51:36  Show Profile  Visit jackv's Homepage  Reply with Quote
it is possible to read the active portion of the transaction log using ::fn_dblog - read more on -

if you're in a situation to look for the recent DML operations some further ideas on -

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000