END

A newer version of this documentation is available. Use the version menu above to view the most up-to-date release of the Greenplum 4.x documentation.

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