Question 18Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)What is the purpose of the COMMIT command in SQL?
- ATo create a new table
- BTo assign privileges
- CTo rollback the changes
- DTo permanently save changes made in a transaction
Show answerHide answer
Correct answer: (D) To permanently save changes made in a transaction
Explanation
COMMIT ends a transaction and makes all its changes permanent in the database. ROLLBACK is the command that undoes them.