COMMIT
A statement that successfully ends a transaction and makes its changes durable.
What does COMMIT do in a relational database?
COMMIT — A statement that successfully ends a transaction and makes its changes durable.
START TRANSACTION;
UPDATE account
SET balance = balance - 50
WHERE account_id = 1;
COMMIT;
Level: Journeyman · More Database terms at this level
Updated