stcwp
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
STCW.TR_CERTIF_ENDORSEMENT_ID_SEQ
Parameters
Name
Type
Mode
Definition
TRIGGER "STCW"."TR_CERTIF_ENDORSEMENT_ID_SEQ" before insert on "CERTIFICATE_ENDORSEMENT" for each row begin if inserting then if :NEW."CERTIFICATE_ENDORSEMENT_ID" is null then select CERTIFICATE_ENDORSEMENT_SEQ.nextval into :NEW."CERTIFICATE_ENDORSEMENT_ID" from dual; end if; end if; end;