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