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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to trace all changes made in certain DB for today?

Status
Not open for further replies.

olegkot

Programmer
Aug 28, 2001
31
IL
Hi!

How to trace all changes made in certain DB for today?
I need to see actually all changes trought all tables of the certain DB.

Can somebody help? I'm complitely new in SQL.

thx in advance, oleg.
 

SQL Server provides no audit trail that you describe. You can do the following.

1) Write triggers to record updates in audit tables. This is a very commonly used procedure.

2) Use SQL Profiler to create trace(s). Store the output of the trace(s) in tables for later analysis.

3) Buy third party Audit software. A web search should find a few available packages. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
You can see a rough log file under
Management -> SQL Server Logs

This is not a detail log for your SQL Server. ------------------
Freedom is a Right
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top