Jump to content

Dangling reference

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bluebot (talk | contribs) at 05:43, 3 November 2005 (Bringing "External links" and "See also" sections in line with Manual of Style recommendations.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A dangling reference can occur in relational database systems when a foreign key refers to a record that doesn't exist anymore or was never created. It can be seen as the database equivalent of a dangling pointer.

Example

If a foreign key to employee #387 is given and no employee with id 387 exists, this is a situation of a dangling reference.

See also