DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: How to audit a table being deleted.

  1. #1
    Join Date
    Jun 2000
    Location
    chennai,tamil nadu,india
    Posts
    159
    Hi
    I need a help from you all.I have a table where the rows are deleted frequently and i need to find it who is doing this deletion.

    I have made the audit_trail to true and i have issued a command

    audit all on schema.xxxx whenever successful;

    i checked sys.aud$.But i am not getting any idea.If someone who is experienced in this would help me giving me the exact tables or query to check this.

    Waiting for your reply.

  2. #2
    Join Date
    Jun 2001
    Location
    Charlotte, NC
    Posts
    27
    Originally posted by msuresh
    Hi
    I need a help from you all.I have a table where the rows are deleted frequently and i need to find it who is doing this deletion.

    I have made the audit_trail to true and i have issued a command

    audit all on schema.xxxx whenever successful;

    i checked sys.aud$.But i am not getting any idea.If someone who is experienced in this would help me giving me the exact tables or query to check this.

    Waiting for your reply.
    You could try and use a database trigger, so whenever the row(s) or deleted a another table will be updated with the information

  3. #3
    Join Date
    Jun 2000
    Location
    chennai,tamil nadu,india
    Posts
    159
    How can i do this.Can you give me the trigger code for this and what to check.

Posting Permissions

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


Click Here to Expand Forum to Full Width