What does ROLLBACK do?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What does ROLLBACK do?

Key points

  • ROLLBACK reverses changes within a transaction
  • It does not save the transaction permanently like option B
  • It does not delete all rows in a table like option C
  • It does not revert the database schema like option D

Ready to go further?

Related questions