Transactional control is the ability to manage
various transactions that may occur within a relational database
management system. When you speak of transactions, you are referring to
the INSERT, UPDATE, and DELETE commands, which were covered during the last hour.
When a transaction is executed and completes successfully, the target table is not immediately changed, although it may appear so according to the output. When a transaction successfully completes, there are transactional control commands that are used to finalize the transaction, either saving the changes made by the transaction to the database or reversing the changes made by the transaction.
There are three commands used to control transactions
COMMIT
ROLLBACK
SAVEPOINT
When a transaction is executed and completes successfully, the target table is not immediately changed, although it may appear so according to the output. When a transaction successfully completes, there are transactional control commands that are used to finalize the transaction, either saving the changes made by the transaction to the database or reversing the changes made by the transaction.
There are three commands used to control transactions
COMMIT
ROLLBACK
SAVEPOINT
COMMIT;
0 comments:
Post a Comment