Synopsis

Use the END statement to commit the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs.

Syntax

end ::= END [ TRANSACTION | WORK ]

end

ENDTRANSACTIONWORK

Semantics

end

END [ TRANSACTION | WORK ]

### WORK

Add optional keyword — has no effect.

### TRANSACTION

Add optional keyword — has no effect.

## See also

- [`ABORT`](../txn_abort)
- [`BEGIN`](../txn_begin/)
- [`COMMIT`](../txn_commit)
- [`ROLLBACK`](../txn_rollback)