transactionSetSavePoint

Description

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

Categories

Related

History

ColdFusion 9: Added this function.

Syntax

TransactionSetSavepoint(savepoint)

Attributes

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

Returns

Nothing

Usage

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

Example

See the example for TransactionCommit.