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