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

Discussion

If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.

  • A.the primary key
  • B.

    any alternate key
  • C.a surrogate key
  • D.a foreign key

Answer: A

Correct answer: the primary key

Cascading updates propagate a change in the parent’s primary key to every foreign key value referring to it, so that the references stay valid. The provision is only needed where the primary key can change; a surrogate key never does, which is exactly why using one makes cascading updates unnecessary.

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

Post your comment

Please log in or register to post a comment.