In SQL, ROLLBACK is used to _________.

2017

In SQL, ROLLBACK is used to _________.

Answer: A. Undo all the previous changesThe correct option is A. In SQL, the ROLLBACK command is a Transaction Control Language (TCL) command used to undo uncommitted transactions. It reverts the…

  1. A.

    Undo all the previous changes

  2. B.

    Cut changes

  3. C.

    Paste changes

  4. D.

    End changes

Attempted by 100 students.

Show answer & explanation

Correct answer: A

The correct option is A. In SQL, the ROLLBACK command is a Transaction Control Language (TCL) command used to undo uncommitted transactions. It reverts the database to its last committed state or a specific savepoint, completely erasing any pending modifications made during the current session.

Explore the full course: Btsc Lab Assistant

Loading lesson…