SAVEPOINT Statement

Establishes a savepoint within the current transaction.

Quick Links:

Go to Parameters

Go to Usage

Go to Standards

Go to Permissions

Syntax

SAVEPOINTsavepoint-name ]

Parameters

(back to top)

Usage

(back to top)

All savepoints are automatically released when a transaction ends.

Savepoints that are established while a trigger is executing or while an atomic compound statement is executing are automatically released when the atomic operation ends.

Standards

(back to top)

  • SQL—Vendor extension to ISO/ANSI SQL grammar.
  • SAP Sybase Database product—Not supported in Adaptive Server. To implement similar features in an Adaptive Server-compatible manner, use nested transactions.

Permissions

(back to top)

None

Related reference
RELEASE SAVEPOINT Statement
ROLLBACK TO SAVEPOINT Statement