Help Auditing in Oracle

Posted by enrique on Stack Overflow See other posts from Stack Overflow or by enrique
Published on 2010-05-06T17:58:29Z Indexed on 2010/05/06 18:08 UTC
Read the original article Hit count: 313

Filed under:
|
|
|
|

Hello everybody

I need some help in auditing in Oracle. We have a database with many tables and we want to be able to audit every change made to any table in any field. So the things we want to have in this audit are:

  • user who modified
  • time of change occurred
  • old value and new value

so we started creating the trigger which was supposed to perform the audit for any table but then had issues...

As I mentioned before we have so many tables and we cannot go creating a trigger per each table. So the idea is creating a master trigger that can behaves dynamically for any table that fires the trigger. I was trying to do it but no lucky at all....it seems that Oracle restricts the trigger environment just for a table which is declared by code and not dynamically like we want to do.

Do you have any idea on how to do this or any other advice for solving this issue?

thanks in advance.

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about trigger