Whatever message this page gives is out now! Go check it out!

TransactionRollback

Last update:
May 18, 2026

Description

Rolls back the current active transaction to the specified savepoint.

Returns

Nothing

Category

Transaction functions

Function Syntax

TransactionRollback(savepoint)

See also

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. If you do not specify a savepoint, the current active transaction rolls back to the top-level (original) transaction.

Example

See the example for TransactionCommit.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page