Solved

Find who deleted a record with Transaction Log

Posted on 2004-08-25
6
415 Views
Last Modified: 2011-10-03
How can I use the transaction log to find who deleted a record from a database?  And how far back into the transaction log can I look?
0
Comment
Question by:pmle
  • 2
6 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 250 total points
ID: 11893173
Not without using a third party tool such as Lumigent and even then doubtful.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 11893189
Also, please maintain these abandoned questions:
1 04/26/2004 500 Quotes - Default ownership  Open Windows 2000
2 07/01/2004 20 Problem With Symantec VPN client on Lapt...  Open Windows Security
0
 
LVL 1

Expert Comment

by:joshpressman
ID: 11894866
hi pmle,

there's no out-of-the-box way... however you can create a trigger that fires on row deletion, and stores on a log, the user who deleted the row.

josh
0
 
LVL 34

Expert Comment

by:arbert
ID: 11895449
"however you can create a trigger that fires on row deletion, and stores on a log, the user who deleted the row."

Wouldn't show you the previous history....

Like acperkins stated above, you can buy a thirdparty package (logexporer http://www.lumigent.com).  As long as you haven't truncated your log file, the information would still be available (you could even roll the transaction back).

Brett
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question