Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Data Auditing

Re: Data Auditing

From: bunyamin karadeniz <bunyamink_at_havelsan.com.tr>
Date: Mon, 22 Oct 2001 00:26:26 -0700
Message-ID: <F001.003B108D.20011022003018@fatcity.com>

I do it with triggers for each table .
I capture the old and new values and construct the sql , user, sysdate,table_name and rowid and insert them to a table . if you want i can send you one example .
bunyamin
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com> Sent: Friday, October 19, 2001 8:38 PM

>
>
> Does anyone have any recommendations on auditing data changes on several
> tables? I want to keep before and after data along with
username/timestamp.
>
> I'm thinking of a DML trigger on each table and each with its own audit
> table? Or what about a single audit table (using TO_CHAR to convert all
> non-character data into the BEFORE and AFTER columns; only CHAR, VARCHAR2,
> DATE and NUMBER datatypes are used). That should be slightly more
generic.
>
> Either way it seems a bit messy. Anybody got a better idea? (This audit
> trail has to be readily visible to the users - ie. a table - Log Miner
> isn't really practical).
>
> Many thanks for any suggestions.
> - Bill.
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Bill Buchan
> INET: wbuchan_at_uk.intasys.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: bunyamin karadeniz
  INET: bunyamink_at_havelsan.com.tr

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Oct 22 2001 - 02:26:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US