SQL Reference

RELEASE SAVEPOINT

The RELEASE SAVEPOINT statement is used to indicate that the application no longer wishes to have the named savepoint maintained. After this statement has been invoked, rollback to the savepoint is no longer possible.

Invocation

This statement can be embedded in an application program or issued interactively. It is an executable statement that can be dynamically prepared.

Authorization

None required.

Syntax

            .-TO-.
>>-RELEASE--+----+--SAVEPOINT--savepoint-name------------------><
 

Description

savepoint-name
The named savepoint is released. Rollback to that savepoint is no longer possible. If the named savepoint does not exist, an error is issued (SQLSTATE 3B001).

Notes

Example

Example 1:  Release a savepoint named SAVEPOINT1.

   RELEASE SAVEPOINT SAVEPOINT1 


[ Top of Page | Previous Page | Next Page ]