statement

COMMIT

Ends a transaction successfully, preserving its changes subject to database durability settings. Example target: SQLite 3.46.1. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
COMMIT

Working Example

Example Snippetsql
BEGIN; UPDATE orders SET amount=140 WHERE id=101;COMMIT;
SQL Reference