Question DB-TXN-0073
HardA bank transfer debits A and credits B in one transaction. The debit succeeds, but the credit fails a CHECK constraint. What should happen?
- A.
The database shuts down
- B.
The whole transaction is rolled back, restoring A's balance
- C.
Only the credit is retried
- D.
The debit stays
Sign up free to see the answer and a step-by-step explanation.