← Quiz: Transactions and ACID: all 10 questions
Quiz: Transactions and ACID · Question 5 of 10
What does ROLLBACK do?
What does ROLLBACK do?
- A.Saves all changes permanently
- B.Undoes all changes since the transaction began (or since a savepoint)
- C.Deletes the table
- 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 →