FOREIGNKEYS System Table Description
Fields
Field | Type | Description |
---|---|---|
PRIMARYTABLEID |
bigint |
|
PRIMARYFIELDID |
integer |
|
FOREIGNTABLEID |
integer |
|
FOREIGNFIELDID |
integer |
|
NUMBERKEYS |
integer |
Number of keys in the definition of this foreign key |
POSITION |
integer |
Position of this specified field in the foreign key definition |
UPDATERULE |
smallint |
Deprecated |
DELETERULE |
smallint |
|
DEFERRABILITY |
smallint |
Deprecated |
FOREIGNKEYNAME |
string |
The name of the foreign key constraint. If you create a foreign key constraint without specifying a name for it then NuoDB SQL automatically generates a name in the following format: FK_schema_tablename_columns#referenced-table-schema_referenced-tablename_referenced-columns where:
The column has a default value of "FKDefault" |