Question DB-TXN-0003
EasyWhich command undoes the changes of the current transaction?
- A.
COMMIT
- B.
DELETE
- C.
Show answer and explanation
Answer: C
ROLLBACK restores the data to its state before the transaction (or to a savepoint).
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Transactions and ACID question
Which command undoes the changes of the current transaction?
COMMIT
DELETE
Answer: C
ROLLBACK restores the data to its state before the transaction (or to a savepoint).
ROLLBACK
UNDO