Explain ACID Properties of Transaction. code example
Example: acid properties in dbms
Atomicity
The entire transaction take place at once or doesn't happen at all.
Consistency
Database must be consistent before and after the transaction.
Isolation
Multiple transactions occur independently without interference.
Durability
The changes of the successful transaction occurs even if the system
failure occur.