Contains a row for each defined referential constraint.
Table 82. SYSCAT.REFERENCES Catalog View
Column Name | Data Type | Nullable | Description | ||
---|---|---|---|---|---|
CONSTNAME | VARCHAR(18) |
| Name of constraint. | ||
TABSCHEMA | VARCHAR(128) |
| Qualified name of the constraint. | ||
TABNAME | VARCHAR(128) |
| |||
DEFINER | VARCHAR(128) |
| User who created the constraint. | ||
REFKEYNAME | VARCHAR(18) |
| Name of parent key. | ||
REFTABSCHEMA | VARCHAR(128) |
| Name of the parent table. | ||
REFTABNAME | VARCHAR(128) |
| |||
COLCOUNT | SMALLINT |
| Number of columns in the foreign key. | ||
DELETERULE | CHAR(1) |
| Delete rule:
| ||
UPDATERULE | CHAR(1) |
| Update rule:
| ||
CREATE_TIME | TIMESTAMP |
| The timestamp when the referential constraint was defined. | ||
FK_COLNAMES | VARCHAR (640) |
| List of foreign key column names. Warning: This column will be removed in the future. Use SYSCAT.KEYCOLUSE for this information. | ||
PK_COLNAMES | VARCHAR (640) |
| List of parent key column names. Warning: This column will be removed in the future. Use SYSCAT.KEYCOLUSE for this information. | ||
|