Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help searching through transaction logs

Status
Not open for further replies.

web4fun

MIS
Oct 2, 2002
127
US
Need a way to search through SQL Server transaction log files to find out when a particular table in a specific database; i.e. table 'abc,' was updated. Has someone written anything that might be able to accomplish this; i.e. a store procedure?

Reason for this is that we had a sql hack which updated one of the tables with some problematic values and we need to find out when the update occurred.

Thanks in advance.
 
You can look into Lumigent's Log Explorer. Cost is fairly cheap, I think. At least for most values of "cheap".
 
Thanks very much, was hoping to find a script / stored procedure.
 
There's no way to read the transaction log from a stored procedure.

You can use SQL Profiler to monitor what's happening on the system in real time. Or you can setup a trigger on the table and have it log data into another table to log who made a change, and what they changed.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

My Blog
 
Thanks mrdenny. I was able to find RedGate's SQL Log recovery tool and it's great...had just what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top