What Is a Transaction?
Atransactionis alogical unit of work that must be
either entirely completed or aborted; nointermediate states are acceptable.
Most real-world database transactions are formedby two or moredatabase requests.
Adatabase requestis the equivalent of a singleSQL statement in an application program ortransaction.
A transaction that changes the contents of thedatabase must alter the database from oneconsistent database stateto another.
To ensure consistency of the database, everytransaction must begin with the database in aknown consistent state.