--:--









Quiz for ROLLBACK

Course: SQL | Subject: SQL | Topic: Transactions and TCL



Logo

Q1: Which SQL command undoes changes made in the current transaction?

Logo

Q2: What does the ROLLBACK statement do in SQL?

Logo

Q3: When is ROLLBACK used?

Logo

Q4: Which SQL command cancels a transaction?

Logo

Q5: Which of the following is TRUE about ROLLBACK?

Logo

Q6: Can ROLLBACK undo a DELETE operation?

Logo

Q7: What happens if ROLLBACK is executed after COMMIT?

Logo

Q8: Which of these is typically paired with ROLLBACK?

Logo

Q9: What does ROLLBACK TO SAVEPOINT do?

Logo

Q10: Which command is used to undo part of a transaction?

Logo

Q11: Is ROLLBACK a DML command?

Logo

Q12: Which keyword is used to start a transaction explicitly?

Logo

Q13: How does ROLLBACK affect AUTO-COMMIT mode?

Logo

Q14: Which command makes changes permanent in a transaction?

Logo

Q15: ROLLBACK reverts changes made by which type of commands?

Logo

Q16: What is the default behavior if no SAVEPOINT is set and ROLLBACK is executed?

Logo

Q17: What is the effect of ROLLBACK on a TRUNCATE statement?

Logo

Q18: Can ROLLBACK be nested in SQL?

Logo

Q19: Which command is used after ROLLBACK to continue transaction?

Logo

Q20: Does ROLLBACK affect database schema changes?

Logo

Q21: Which scenario best requires a ROLLBACK?

Are you ready to start test? Set your time limit