DROP TASK — Removes a task and cancels any future execution.
DROP TASK task-name [IF EXISTS]
The DROP TASK statement deletes the specified task and cancels any future execution. The IF EXISTS clause allows the statement to succeed even if the specified task does not exist. If the task does not exist and you do not include the IF EXISTS clause, the statement will return an error.