| Primary Key |
Article Index for Primary |
Website Links For Primary |
Information AboutPrimary Key |
|
In the Relational Model of Data , a primary key is a Candidate Key chosen as the main method of uniquely identifying a Tuple in a Relation . Practical telephone books and dictionaries cannot use names or words or Dewey Decimal System numbers as candidate keys because they do not uniquely identify telephone numbers or words. In some Design Situation s it is impossible to find a Natural Key that uniquely identifies a tuple in a relation. A Surrogate Key can be used as the primary key. In other Situation s there may be more than one candidate key for a relation, and no candidate key is obviously preferred. A surrogate key may be used as the primary key to avoid giving one candidate key artificial primacy over the others. In addition to the requirement that the primary key be a candidate key, there are several other factors which may make a particular choice of key better than others for a given relation:
SEE ALSO
|
|
|