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

Discussion

Which statement about sequences is not true?

  • A.A sequence is an object that generates a sequential series of unique numbers.
  • B.Sequences are most often used to provide values for surrogate keys.
  • C.NextVal and CurrVal are both sequence methods.
  • D.Sequences guarantee valid surrogate key values.

Answer: D

Correct answer: Sequences guarantee valid surrogate key values.

A sequence guarantees only that it will not hand out the same number twice. It cannot guarantee that the number is used, or used in the intended table, or that no one has inserted a conflicting value directly - numbers are also lost on rollback and on instance failure. The other three statements are correct descriptions of what a sequence is and does.

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

Post your comment

Please log in or register to post a comment.