Introduction to transaction
What is transaction?
A transaction is a set of instructions which performs a logical unit of transactions on the database, which might modify the contents of the database.
Every transaction should be atomic in nature, i.e. necessarily all the instructions within that transaction must be executed fully or none of them must be executed.
The database must remain in consistent state, always.
A successful transaction can change the database from one consistent state to another.
Comments
Post a Comment