Home / Programming MCQs / MySQL MCQs / Question

R

Ritu • 377 Points
Valuable

Q. ROLLBACK in a database is ________ statement ?

(A) TCL
(B) DCL
(C) DML
(D) DDL
Explanation by: Ritu
TCL (Transaction Control Language) statement. ROLLBACK is a TCL statement that is used to undo changes made in a transaction and to restore the database to its previous state before the transaction started. TCL statements are used to control the changes made by transactions in a database. The other TCL statements are COMMIT and SAVEPOINT.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.