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

Discussion

When the child entity is required, we are restricted from creating a new parent row without also creating a corresponding child row at the same time.

  • A.True
  • B.False

Answer: A

Correct answer: True

If the child is required, a parent cannot exist without one, so creating a parent alone would immediately violate the constraint. The two rows must be created together, which usually means within a single transaction. This is the mirror image of the required-parent case, where it is the child that cannot be created alone.

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

Post your comment

Please log in or register to post a comment.