Question

What is the purpose of the "rollback" operation in a transaction?

A It permanently saves the changes made in the transaction to the database.
B It undoes all the changes made in the transaction and restores the database to its previous state.
C It releases any locks acquired by the transaction and allows other transactions to access the data.
D It checks the consistency of the data in the transaction before making it permanent.
Practice Next

Relevant for Exams:

Hey! Ask a query