Ask the Expert

Fine-grained auditing in SQL Server?

My department is implementing an ASP-hosted SQL Server database application to manage data collection for homeless programs. Our user group would like to have an audit trail of who, what and when changes are made to the database. I am aware that Oracle 9i+ includes functionality called FINE-GRAINED AUDITING that would probably meet our needs. Does something like this exist in SQL Server?

    Requires Free Membership to View

Yes, via a variety of mechanisms, but it isn't an option you turn on.

Method #1: Write triggers underneath each table that log all of the auditing information.

Method #2: Create a server side trace that will trace all activity against your database, storing the file where you can pull it for review.

Method #3 (low transaction volumes only): Create a server-side trace and store the results directly to a table in your database.

Method #4: Use a product like Lumigent's Entegra to audit the system.


For More Information

This was first published in June 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: