Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Trigger
Can anybody tell me what is wrong with this trigger : (It is supposed to insert in table t2 a new record after insertion is made in table t1. By the way, T2 has a foreign key referencing T1)
create or replace trigger mytrigger
after insert of client_id on t1
begin
insert into t2 values (:new.client_id, 'xxx-xxx-xxxx');
end;
/
Thanks a lot.
LaBoufarikoise Received on Sat Dec 02 2000 - 12:05:05 CST