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 -> Re: Auditing Changes in a Table.

Re: Auditing Changes in a Table.

From: Brijesh <brijesh_at_enteract.com>
Date: 1997/07/08
Message-ID: <33C140F2.1F9FC1B7@enteract.com>#1/1

Why don't you try database Trigger ?

Jason Greiner wrote:

> 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 Tue Jul 08 1997 - 00:00:00 CDT

Original text of this message

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