System Functions (System Control)
Recursively enables all dependent tasks tied to a specified root task. This function allows the owner of a simple tree of tasks (i.e. the role with the OWNERSHIP privilege on the tasks) to enable the tasks by executing a single SQL statement rather than enabling each task individually (using ALTER TASK … RESUME).
For more information about tasks, see Executing SQL Statements on a Schedule Using Tasks.
SYSTEM$TASK_DEPENDENTS_ENABLE( '<root_task_name>' )
Name of the root task in a simple tree of tasks.
root_task_nameis a string so it must be enclosed in single quotes:
Note that the entire name must be enclosed in single quotes, including the database and schema (if the name is fully-qualified), i.e.
If the task name is case-sensitive or includes any special characters or spaces, double quotes are required to process the case/characters. The double quotes must be enclosed within the single quotes, i.e.
Enable all dependent tasks that are children of a root task with a case-insensitive name:
Enable all dependent tasks that are children of a root task with a case-sensitive name: