Machine-translated by Google. Questions are authored in English.
Top

Discussion

An ideal primary key is short, numeric and seldom changing.

  • A.True
  • B.False

Answer: A

Correct answer: True

Short so that indexes and foreign keys stay compact, numeric so that comparison is fast and the value is compact, and seldom changing so that references to it do not have to be updated. A surrogate key has all three by construction, which is the argument for using one rather than a natural key.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.