SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS

functionsupportedUDFs, procedures, tasks, alerts, scripting

docs.snowflake.com ↗

System functions

Cancels a run of the specified task that the system has already started to process (that is, a run with an EXECUTING state in the TASK_HISTORY output).

Syntax

SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS( '<task_name>' )

Parameters

NameRequiredDescription
task_namerequiredName of the task.

Usage notes