Description

Creates and stores a new savepoint for the current transaction. You can add multiple savepoints by calling this function multiple times.

Returns

Nothing

Category

Transaction functions

Function Syntax

TransactionSetSavepoint(savepoint)<helponly></helponly>

See also

TransactionCommitTransactionRollback

History

ColdFusion 9: Added this function.

Parameters

Parameter

Description

savepoint

An optional string identifier for the savepoint. Savepoints let you roll back portions of a transaction.

Usage

You can call this function only from within an active transaction.

Example

See the example for TransactionCommit.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy