SYSTEM$ABORT_TRANSACTION

functionsupportedQueries & DML

docs.snowflake.com ↗

System functions

Aborts the specified transaction, if it is running. If the transaction has already been committed or rolled back, then the state of the transaction is not altered. For more information, see Transactions.

Syntax

SYSTEM$ABORT_TRANSACTION(<transaction_id>)

Parameters

NameRequiredDescription
transaction_idrequiredIdentifier for the transaction to abort. To obtain transaction IDs, you can use the SHOW TRANSACTIONS or SHOW LOCKS commands.

Usage notes