Home / Programming MCQs / MySQL MCQs / Question

T

Tina Singh • 10.68K Points
Tutor II

Q. What does the ROLLBACK Statement do?

(A) Changes made in the SQL database transaction are permanently saved using this SQL statement.
(B) Specify the columns of the table in this SQL statement to return distinct values.
(C) By running this SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.
(D) An index is created in a SQL database table with this SQL statement.
Explanation by: Tina Singh
By running ROLLBACK SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.