Create Table: Column Referential Constraints panel
You use the Create Table: Column Referential Constraints panel to specify information to define one or more column referential constraints for the table.
Panel and field definitions
- Column Name
- The foreign key. This is the column in the table being created that is to be related to an equivalent column (the parent key) in the parent table.
- Constrnt Name
- Optionally use this field to specify the name of the constraint.
- Owner
- Optionally use this field to qualify the name of the parent table.
- Name
- The name of the table containing the parent key. This field is mandatory.
- Column
- The parent key. Specify the name of the column in the parent table to which you want the foreign key (in Column Name) related. The parent key must be a primary or unique key on the parent table. If you leave the Parent Table Column field blank, the foreign key is related to the primary key of the parent table.
- ON DLT
- Determines the type of ON DELETE clause, if any, that FM/Db2 generates
in the CREATE TABLE statement. Valid values are:
- (blank)
- No ON DELETE clause generated
- R
- ON DELETE RESTRICT
- N
- ON DELETE NO ACTION
- C
- ON DELETE CASCADE
- S
- ON DELETE SET NULL
Parent panels
Child panels
None.