END - Amazon Redshift

Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025. If you would like to use Python UDFs, create the UDFs prior to that date. Existing Python UDFs will continue to function as normal. For more information, see the blog post .

END

Commits the current transaction. Performs exactly the same function as the COMMIT command.

See COMMIT for more detailed documentation.

Syntax

END [ WORK | TRANSACTION ]

Parameters

WORK

Optional keyword.

TRANSACTION

Optional keyword; WORK and TRANSACTION are synonyms.

Examples

The following examples all end the transaction block and commit the transaction:

end;
end work;
end transaction;

After any of these commands, Amazon Redshift ends the transaction block and commits the changes.