πŸ“Š MySQL
Q. ROLLBACK in a database is ________ statement ?
  • (A) TCL
  • (B) DCL
  • (C) DML
  • (D) DDL
πŸ’¬ Discuss
βœ… Correct Answer: (A) TCL

Explanation: 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.

Explanation by: Ritu Singhal
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
123
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Singhal
Publisher
πŸ“ˆ
89%
Success Rate