# TransactionRollback()

rolls back a pending transaction

```
TransactionRollback( savepoint=string );
```

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| savepoint | string | No | name of the savepoint to roll back to, if not set, simply roles back to the latest savepoint set without a name and if no savepoint is set, it roles back the complete transaction. |  |

# Examples

*There are currently no examples for this function*







# Categories

[ORM](../../categories/orm.md), [Queries](../../categories/query.md)

# See Also

[TransactionCommit()](transactioncommit.md), [TransactionSetSavePoint()](transactionsetsavepoint.md), [<cftransaction>](../tags/transaction.md)