Small. Fast. Reliable.
Choose any three.

foreign-key-clause

REFERENCES foreign-table ( column-name ) , ON DELETE SET NULL UPDATE SET DEFAULT CASCADE RESTRICT NO ACTION MATCH name NOT DEFERRABLE INITIALLY DEFERRED INITIALLY IMMEDIATE

Used by:   column-constraint   table-constraint

See also:   lang_altertable.html   lang_createtable.html