Which SQL statement must be issued at the end of a transaction to ensure that the changes made during that session become permanent and remain available in future sessions, even after the database is restarted?
COMMIT ends the current transaction and writes all changes permanently to disk, making them durable and visible to other sessions. ROLLBACK cancels the changes, SAVEPOINT merely sets a marker within a transaction, and REVERT is not a standard SQL transaction-control command for making changes permanent.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a transaction in SQL?
Open an interactive chat with Bash
What is the difference between COMMIT and ROLLBACK?