create or replace TRIGGER "METTINGUSER".TRG_PREPN
BEFORE INSERT ON "PREPROJFUN"
FOR EACH ROW
BEGIN
SELECT SEQ_PRN.NEXTVAL INTO :NEW.PRN_ID FROM DUAL;
END;
CREATE SEQUENCE SEQ_PRN_1
INCREMENT BY 1 START WITH 1 NOMAXVALUE NOCYCLE NOCACHE
2023-01-05 20:51:05
create or replace TRIGGER "METTINGUSER".TRG_PREPN
BEFORE INSERT ON "PREPROJFUN"
FOR EACH ROW
BEGIN
SELECT SEQ_PRN.NEXTVAL INTO :NEW.PRN_ID FROM DUAL;
END;
CREATE SEQUENCE SEQ_PRN_1
INCREMENT BY 1 START WITH 1 NOMAXVALUE NOCYCLE NOCACHE