Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help

4234391Apr 23 2020 — edited Apr 23 2020

My trigger would not work on apex. Idk why.

CREATE OR REPLACE EDITIONABLE TRIGGER  "BI_ITEM"

  before insert on "ITEM"              

  for each row 

begin  

  if :NEW."ITEM_ID" is null then

    select "ITEM_SEQ".nextval into :NEW."ITEM_ID" from sys.dual;

  end if;

end;

compilation with error message.

Comments
Post Details
Added on Apr 23 2020
2 comments
84 views