In computer programming, a transaction usually means a sequence
of information exchange and related work
(such as database updating) that is treated as a
unit for the purposes of satisfying a request and for ensuring
For a transaction to be completed and
database changes to be made permanent, a transaction has to be
completed in its entirety.
A typical transaction is a catalog
merchandise order phoned in by a customer and entered into a
computer by a customer representative. The order transaction
involves checking an inventory database, confirming that the
item is available, placing the order, and confirming that the
order has been placed and the expected time of shipment.
we view this as a single transaction, then all of the steps
must be completed before the transaction is successful and the
database is actually changed to reflect the new order.
happens before the transaction is successfully completed, any changes
to the database must be kept track of so that they can be undone.
For more information on databases and related computer technology,
take a look at