FOREIGN KEY constraint


The type of constraint that maintains database consistency through a foreign key relationship. Unlike other kinds of constraints that prevent data from being inserted or updated, FOREIGN KEY constraints can also cause data in child rows to be deleted, changed to different values, or set to null, based on the ON CASCADE option specified when creating the foreign key.

See also child table.

See also constraint.

See also foreign key.

See also NULL.

Retornar