What is a database transaction?
A transaction is a unit of work that you want to treat as “a whole.” It has to either happen in full or not at all. A classical example is transferring money from one bank account to another. To do that you have first to withdraw the amount from the source account, and then deposit … Read more