Question DB-ACID-114
EasyWhich component of the ACID properties guarantees that database operations that form a single logical transaction either all complete successfully or none take effect at all?
- A.
Atomicity
- B.
Consistency
- C.
Show answer and explanation
Answer: A
Atomicity enforces the 'all-or-nothing' rule for transactions. If any operation within the transaction fails, the entire transaction is rolled back to leave the database in its previous valid state.