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: Computed column?

Re: Computed column?

From: Tomm Carr <tommcatt_at_geocities.com>
Date: 1997/07/22
Message-ID: <33D531CC.7E2D@geocities.com>#1/1

Tomm Carr wrote:
>
> CREATE OR REPLACE TRIGGER c_compute
> before INSERT OR UPDATE OF A, B ON Test
> FOR EACH ROW
> Begin
> :new.C = Power(( :new.A + :new.B), 2 )
> End;

Oops. Make that:

    :new.C := Power(( :new.A + :new.B), 2 )

        ^-- forgot the colon

-- 
Tomm Carr
--
"Can you describe your assailant?"
"No problem, Officer.  That's exactly what I was doing when he hit me!"
Received on Tue Jul 22 1997 - 00:00:00 CDT

Original text of this message

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