Jump to content

Dangling reference

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by NielsenGW (talk | contribs) at 12:54, 31 August 2005. 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