Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: What's wrong with this SQL statement?
I have changed the statement a few additional times, still with my error.
Here is what I have now:
CREATE OR REPLACE TRIGGER "DCI".INV_FIELD_ITEMS_TRIGGER BEFORE INSERT ON
"DCI"."INV_FIELD_ITEMS" for each row
declare dummy number;
begin
select inv_field_items_sequence.nextval into dummy from dual;
:new.item_id := dummy;
end;
I still receive the following error messages:
ora-6552 pl/sql: Compilation unit analysis terminated. ora-6553 pls-320: the declaration of the type of this expression is incomplete or malformed.
Please help.
Troy Perchotte Received on Mon Jun 22 1998 - 13:08:10 CDT
![]() |
![]() |