HostWeb Forums » Microsoft Databases » microsoft.public.sqlserver.securitytools » Logging Inserts and Updates

Topic: Logging Inserts and Updates

Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/29/2008 1:18:01 PM

By: Leslie Howard
Is there a place in the master db to check when inserts or updates were done
for a specific table? If not, what would be the easiest way to setup
logging to track when inserts and updates were done on a specific table or
set of tables?

Thanks in advance...



Replies below ↓

Replies

Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/29/2008 3:38:21 PM

By: Erland Sommarskog

Re: Logging Inserts and Updates

Leslie Howard (got2bfree@hotmail.com) writes:
> Is there a place in the master db to check when inserts or updates were
> done for a specific table? If not, what would be the easiest way to
> setup logging to track when inserts and updates were done on a specific
> table or set of tables?

Probably to get a third-party auditing tool. Apex SQLAudit generates
triggers. There are other tools that read the information from the
transaction long. The other option would be to write/generate the
triggers on your own.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Contents
Home
Forums
About Us
Contact Us
Web Hosting:
Hosting Providers
How to choose a name
What is a Hosting Provider
Hosting Types
Choosing the right plan
 
Search
 
Login to HostWeb.com
Email
Password
If you do not have an account with us yet, join now - it's FREE!