Database MCQS - QUESTION DETAILS

What is the purpose of the SQL ROLLBACK statement?
A. Save changes to the database
B. Undo changes made during the current transaction
C. Commit changes to the database
D. Delete records from the database

ROLLBACK is used to undo changes made during the current transaction.

Similar Questions

What is the purpose of the SQL DISTINCT keyword?






What is the purpose of the SQL LIMIT clause?






In MySQL, which type of index allows only unique values and nulls are considered distinct?






What does the SQL NOT NULL constraint do?






Which MySQL command is used to retrieve the definition of a table?






What is the purpose of the SQL HAVING clause?






Which SQL statement is used to grant specific privileges to a user in MySQL?






Which MySQL statement is used to delete a database?






What is the maximum length of the VARCHAR data type in MySQL?






Which SQL function is used to find the highest value in a column?