21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7<br />

Available in: DSQL<br />

Added in: 1.5<br />

Transaction<br />

control statements<br />

RELEASE SAVEPOINT<br />

Description: Deletes a named savepoint, freeing up all the resources it binds.<br />

Syntax:<br />

RELEASE SAVEPOINT name [ONLY]<br />

Unless ONLY is added, all the savepoints created after the named savepoint are released as well.<br />

For a full discussion of savepoints, see SAVEPOINT.<br />

Available in: DSQL, ESQL<br />

Syntax:<br />

ROLLBACK<br />

ROLLBACK [WORK]<br />

[TRANSACTION tr_name]<br />

[RETAIN [SNAPSHOT] | TO [SAVEPOINT] sp_name | RELEASE]<br />

• The TRANSACTION clause is only available in ESQL.<br />

• The RELEASE clause is only available in ESQL, and is discouraged.<br />

• RETAIN and TO are only available in DSQL.<br />

ROLLBACK RETAIN<br />

Available in: DSQL<br />

Added in: 2.0<br />

89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!