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

1) commit
2) rollback

User Alex Haas
by
7.0k points

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.

User Padrus
by
8.9k points