MCQ Answer

What does the SQL statement ROLLBACK do in a transaction?

What does the SQL statement ROLLBACK do in a transaction?

Topic : Database Fundamentals

A. Commits the changes made in the transaction

B. Undoes the changes made in the transaction and restores the data to its original state

C. Saves the changes temporarily

D. Clears the transaction log




Correct Answer is :

B. Undoes the changes made in the transaction and restores the data to its original state



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad