Transaction in database

A transaction is a unit of work that must maintain ACID properties. ACID is an acronym of Atomicity, Consistency, Isolation, and Durability Let’s look at each of them in detail. Atomicity A transaction contains a query or a set of queries. In order to maintain atomicity property, the transaction either has to execute all the …