Professional KnowledgeHardIBPS SO IT
Which is true of a foreign key constraint with ON DELETE CASCADE?
- A. The parent delete is rejected
- B. Deleting the parent row deletes the referencing child rows
- C. Child FK values become NULL
- 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.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- With n transactions, the number of possible serial schedules is:
- Under strict two-phase locking, a transaction releases its exclusive locks:
- In the wait-die scheme, what happens when a transaction requests a lock held by another?
- In timestamp ordering, a write W(Q) by T is rejected if:
- Which of these is the strongest class of schedules?
- Which ACID properties are primarily enforced by the recovery manager using logs?