RELEASE SAVEPOINT Statement

Releases a savepoint within the current transaction.

Syntax

RELEASE SAVEPOINTsavepoint-name ]

Usage

The savepoint-name is an identifier specified on a SAVEPOINT statement within the current transaction. If savepoint-name is omitted, the most recent savepoint is released.

Releasing a savepoint does not perform any type of COMMIT; it simply removes the savepoint from the list of currently active savepoints.

Standards

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—Not supported by Adaptive Server Enterprise. A similar feature is available in an Adaptive Server Enterprise-compatible manner using nested transactions.

Permissions

There must have been a corresponding SAVEPOINT within the current transaction.

Related reference
ROLLBACK TO SAVEPOINT Statement
SAVEPOINT Statement