🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Transactions and ACID: all 10 questions

Quiz: Transactions and ACID · Question 5 of 10

What does ROLLBACK do?

What does ROLLBACK do?

  1. A.Saves all changes permanently
  2. B.Undoes all changes since the transaction began (or since a savepoint)
  3. C.Deletes the table
  4. D.Restarts the database
Answer & explanation

Correct answer: Undoes all changes since the transaction began (or since a savepoint)

ROLLBACK cancels uncommitted changes.

Can you get the rest right without peeking?

Take the timed Quiz: Transactions and ACID quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →