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: discovering PL/SQL and triggers

Re: discovering PL/SQL and triggers

From: Serge LUCAS <Serge.Lucas_at_eurocontrol.fr>
Date: Thu, 04 Feb 1999 14:30:52 +0000
Message-ID: <36B9AF1C.D0BA81F3@eurocontrol.fr>


Mark Styles wrote:
> I recommend using 'create or replace' instead of just 'create'
> the variable should be :OLD.X not OLD.X
> When you get this error, you can do 'show errors' in SQL*Plus to see
> more details.

I wrote the following:

Create or Replace Trigger tr before delete on t1 For Each Row
begin
Insert into t2
values(:old.X);
end;
/

and it RUNS !

Thanks you ALL!
--
Serge LUCAS
STERIA ATM/Eurocontrol
BS-012
Tel 01 69 88 74 15
Fax 01 69 88 73 33
Mel lua_at_eurocontrol.fr Received on Thu Feb 04 1999 - 08:30:52 CST

Original text of this message

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