Professional KnowledgeHardIBPS SO IT

Which is true of a foreign key constraint with ON DELETE CASCADE?

  1. A. The parent delete is rejected
  2. B. Deleting the parent row deletes the referencing child rows
  3. C. Child FK values become NULL
  4. D. Nothing happens to the child

Correct answer: B. Deleting the parent row deletes the referencing child rows

CASCADE propagates deletes; SET NULL and RESTRICT are the alternatives.

More IT Officer Professional Knowledge (IBPS SO) questions

Exams that ask this topic