asked 63.8k views
0 votes
Every transaction must have an explicit end statement, which is either a ___ or ____.

1) commit
2) rollback

1 Answer

3 votes

Final answer:

Every database transaction must end with either a commit, which finalizes the changes, or a rollback, which undoes all changes made during the transaction.

Step-by-step explanation:

The question relates to database transaction management. In the context of a database, every transaction must conclude with an explicit end statement, which is either a commit or a rollback. A commit means that the transaction has been successfully completed, and all changes made during the transaction are now a permanent part of the database. A rollback, on the other hand, means that the transaction has been aborted, and all changes made during the transaction are undone, restoring the database to its previous state before the transaction began.

answered
User Padrus
by
8.8k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.