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

Home -> Community -> Usenet -> c.d.o.server -> Re: Help with Triggers

Re: Help with Triggers

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Tue, 22 Aug 2006 23:58:42 +0100
Message-ID: <vc2ne2tbfeaqq9t48r6ria4ltjiuetlf67@4ax.com>


On Tue, 22 Aug 2006 15:32:19 -0700, DA Morgan <damorgan_at_psoug.org> wrote:

>The original post says:
>You cannot write either the :OLD or the :NEW value.
>
>I posted:
>INSERT INTO audit_log
>11 (o_fname, o_lname, n_fname, n_lname, chng_by, chng_when)
>12 VALUES
>13 (:OLD.fname, :OLD.lname, :NEW.fname, :NEW.lname, USER, SYSDATE);
>
>You responded with:
>READ <> WRITE
>
>Where in my INSERT STATEMENT do you see a READ?

 There's four of them here in the values clause, two from :old, two from :new.

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Tue Aug 22 2006 - 17:58:42 CDT

Original text of this message

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