Transaction ACID Properties in SQL Server
The ACID is stands for
2. Consistency:- The consistency requirement ensures that the transaction cannot break the integrity rules of the database; it must leave the database in a consistent state.
3. Isolation:- Isolation refers to keeping the changes of incomplete transactions running at the same time separate from one another. Each transaction must be entirely self-contained, and changes it makes must not be readable by any other transaction
4. Durability:- Once a transaction is committed, it must persist even if there is a system failure — that is, it must be durable. In SQL Server, the information needed to replay changes made in a transaction is written to the transaction log before the transaction is considered to be committed.
- A--->> Atomicity
- C-->> Consistency
- I-->> Isolation
- D-->> Durability
2. Consistency:- The consistency requirement ensures that the transaction cannot break the integrity rules of the database; it must leave the database in a consistent state.
3. Isolation:- Isolation refers to keeping the changes of incomplete transactions running at the same time separate from one another. Each transaction must be entirely self-contained, and changes it makes must not be readable by any other transaction
4. Durability:- Once a transaction is committed, it must persist even if there is a system failure — that is, it must be durable. In SQL Server, the information needed to replay changes made in a transaction is written to the transaction log before the transaction is considered to be committed.