Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2008
    Posts
    3

    Unanswered: simple audit trail

    Hi, anyone have links i can go to about audit trail?i have been on the internet an the example are confusing.

  2. #2
    Join Date
    Jun 2007
    Location
    Ohio, USA
    Posts
    142
    Depends on what you want to audit. Can you be more specific?

  3. #3
    Join Date
    Feb 2008
    Posts
    3
    I would like to audit a table, track the inserts and deletes on that table.Store who made the insert/delete and the time it was done.

  4. #4
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    you want to read about triggers.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  5. #5
    Join Date
    Feb 2008
    Posts
    3
    i want to create one that does what i mentioned, the examples on the net are confusing

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    There is some good information about GAAP Audit Trails that might be helpful.

    Use SQL Profiler to do your auditing. It is a lot easier than having to write your own audit code, and it is nearly foolproof too.

    -PatP

  7. #7
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    What have you tried so far?

    Have you looked up the syntax for CREATE TRIGGER ?
    If so, which, if any, part of it is causing you confusion?
    George
    Home | Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •