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 -> Tracking changes

Tracking changes

From: ferraroj <member40432_at_dbforums.com>
Date: Fri, 19 Sep 2003 14:10:57 -0400
Message-ID: <3391744.1063995057@dbforums.com>

I would like to be able to monitor changes to data within a number of tables. I would prefer to have a routine that was generic and did not rely on the structure of the table. I was thinking of having a "before update trigger" call the routine. Below is an idea of the type of code I'm trying to create

begin

    For all_columns_in_table Loop

        If new.col <> old.col then

            track_change()

        endif

    end for loop

end

--
Posted via http://dbforums.com
Received on Fri Sep 19 2003 - 13:10:57 CDT

Original text of this message

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