END

Commits the current transaction.

Synopsis

END [WORK | TRANSACTION]

Description

END commits the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs. This command is a Greenplum Database extension that is equivalent to COMMIT.

Parameters

WORK
TRANSACTION
Optional keywords. They have no effect.

Examples

Commit the current transaction:

END;

Compatibility

END is a Greenplum Database extension that provides functionality equivalent to COMMIT, which is specified in the SQL standard.

See Also

BEGIN, ROLLBACK, COMMIT

Parent topic: SQL Command Reference

check-circle-line exclamation-circle-line close-line
Scroll to top icon