SQL - Transactions and Data Integrity
In a system with auto-commit OFF, you run:
Then the connection drops before COMMIT. What happens to these changes?
UPDATE accounts SET balance = balance + 50 WHERE id = 2;
INSERT INTO logs (event) VALUES ('Deposit');Then the connection drops before COMMIT. What happens to these changes?
