DESCRIBE TRANSACTION

statementsupportedQueries & DML

docs.snowflake.com ↗

Describes the transaction, including the start time and the state (running, committed, rolled back). DESCRIBE can be abbreviated to DESC.

Syntax

{ DESC | DESCRIBE } TRANSACTION <transaction_id>

Parameters

NameRequiredDescription
transaction_idSpecifies the identifier of the transaction to describe. transaction_id must be a literal, not a session variable.

Usage notes

Output

The output of the command includes the following columns, which describe the properties and metadata of the object: Column | Description id | Unique identifier of the transaction. user | The user ID of the user who ran the transaction. session name | The ID of the user session in which the transaction was executed. started_on | Date and time that the transaction was created. state | The transaction’s completion status, e.g. committed, rolled back, or still running. ended_on | Date and time that the transaction finished.

See also

Referenced by