SAVEPOINT

Syntax

Purpose

"SET TRANSACTION" for information on setting characteristics of the current transaction

Prerequisites

None.

Keywords and Parameters

savepoint

is the name of the savepoint to be created.

Savepoint names must be distinct within a given transaction. If you create a second savepoint with the same identifier as an earlier savepoint, the earlier savepoint is erased. After a savepoint has been created, you can either continue processing, commit your work, roll back the entire transaction, or roll back to the savepoint.

Example

To update BLAKE's and CLARK's salary, check that the total company salary does not exceed 27,000, then reenter CLARK's salary, enter: