Back to Yugabyte Db

END statement [YSQL]

docs/content/v2025.1/api/ysql/the-sql-language/statements/txn_end.md

2026.1.0.0-b25561 B
Original Source

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

{{%ebnf%}} end {{%/ebnf%}}

Semantics

end

END [ TRANSACTION | WORK ]

WORK

Add optional keyword — has no effect.

TRANSACTION

Add optional keyword — has no effect.

See also