What is ACID fundamental? What are transactions in SQL SERVER?
The transaction is a sequence of operations performed as a single logical unit of work..The logical unit of work should exhibit 4 properties, Known as the ACID (Isolation , Atomicity, Consistency, and Durability) properties, to qualify for the transaction:
The transaction should be an atomic unit of work; either all of its data modifications are performed or none of them is performed.
When done, a transaction should leave all its data in a consistent state. In a relational database, all rules should be applied to the transaction's modifications to maintain all data integrity. All internal data structures, like B-tree indexes or doubly-linked lists, must be correct at the end of the transaction.
The Modifications made by concurrent transactions should be isolated from the modifications made by any other concurrent transactions. A transaction either see data in the state it was before another concurrent transaction modified it, or it views the data after the second transaction has done, but it does not see an intermediate state. This is known as serializability as it results in the ability to reload the starting data and replay a series of transactions to end up with the data in the same state it was in after the original transactions were performed.
After the transaction has done, its effects are permanently in the place in the system. The changes persist even in the event of a system failure.