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