Jump to content

Composite key

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 140.203.154.11 (talk) at 15:55, 17 May 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In database design, a compound key (also called a composite key or concatenated key) is a key that consists of 2 or more attributes.

No restriction is applied to the attributes regarding their (initial) ownership within the data model. This means that any one, none, or all, of the multiple attributes within the compound key can be foreign keys. Indeed, a foreign key may, itself, be a compound key.

Compound keys almost always originate from attributive or associative entities (tables) within the model, but this is not an absolute.