Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Insert LONG type to another table by trigger: Internal error
I need to copy the data in a LONG type column of one table to a LONG
type column of another table by a trigger. I have tried different ways
in Oracle 8i without success. The code basically is:
create or replace trigger UpdateFixer
after INSERT OR UPDATE on t_prod for each row
DECLARE
t_rowid rowid;
begin
insert into t_fixer (id, document) values (:new.id, :new.document) returning rowid into t_rowid; -- do something else using t_rowidend;
DOCUMENT is a long type in both tables. I got the following message:
ERROR at line 1:
ORA-00600: internal error code, arguments: [kdtlcdef-1], [], [], [],
[], [], [], []
ORA-06512: at "PRODDTA.UPDATEFIXER", line 6
ORA-04088: error during execution of trigger 'PRODDTA.UPDATEFIXER'
Is there a work around to make it work? Please help. Thank you so much. Received on Wed Mar 13 2002 - 17:24:06 CST
![]() |
![]() |