Skip to Main Content

SQL & PL/SQL

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!

success with Compilation Error with trigger Help needed in Apex.!!!

4234391Apr 23 2020 — edited Apr 24 2020

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;

Comments
Post Details
Added on Apr 23 2020
16 comments
1,058 views