Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: don't want trigger error to block insert
Here's my hack at the fix:
CREATE TRIGGER table1_insert_trigger
AFTER INSERT ON table1
FOR EACH ROW
WHEN(new.master_flag = '1')
BEGIN
insert into table2(id, filename, category, description)
select :new.id,
:new.table1_filename, 'image', 'image: ' ||s.longname
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Wed Jul 14 1999 - 16:30:43 CDT
![]() |
![]() |