CURRENT_STATEMENT

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

Context functions

Returns the SQL text of the statement that is currently executing.

Syntax

CURRENT_STATEMENT()