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