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

Home -> Community -> Usenet -> c.d.o.misc -> Auditing Changes in a Table.

Auditing Changes in a Table.

From: Jason Greiner <jgreiner_at_inav.net>
Date: 1997/07/07
Message-ID: <33C1516E.DBBB556D@inav.net>#1/1

I am trying to create a trigger that adds a record to a audit table when ever a change is made in a table.

c1 is a cursor of column names

open c1
fetch c1 into colname;

if :new.colname <> :old.colname then /* This is the problem */

    ???
end if;

Is there any way to de-reference these variables (colname) so that I can create a generic trigger.

Thanks for any help.
Jason Greiner Received on Mon Jul 07 1997 - 00:00:00 CDT

Original text of this message

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