SYSTEM$CANCEL_ALL_QUERIES

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

System functions

Cancels all active/running queries in the specified session.

Syntax

SYSTEM$CANCEL_ALL_QUERIES( <session_id> )

Parameters

NameRequiredDescription
session_idrequiredIdentifier for the session for which to cancel all queries. To obtain the ID for a session, log into the web interface as an account administrator (user with the ACCOUNTADMIN role) and go to: Account » Sessions

Usage notes

See also

Referenced by