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

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Data deleted - how to tell when (using .trn)

Author  Topic 

joker77
Starting Member

4 Posts

Posted - 2010-11-11 : 07:15:12
Hi there,

We had an issue overnight when some of our data was deleted. Specific rows from specific tables.

We have backup files (.bak) from before and after, and Transaction Log Files (.trn)

How can I use these to tell when the data was deleted, and by who?
Thanks
Neal

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2010-11-12 : 16:54:06
search on 3rd party tool, log readers
they usually have eval versions which you can try

--------------------
keeping it simple...
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-11-13 : 05:15:15
FWIW (bit late now, but perhaps worth considering for next time) we have Triggers on all our tables (all the ones that matter) for UPDATE and DELETE that store the "before" data into an audit table (each table has a "parallel" Audit Table, same columns as main table but with additional Date/User columns).

Useful for accidents, diagnosis, fraud investigation ... etc
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-11-13 : 09:10:01
Asked and discussed at length: http://www.sqlservercentral.com/Forums/Topic1019240-357-1.aspx

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -