Categories:

Table, View, & Sequence DDL

DESCRIBE TASK

Describes the columns in a task.

DESCRIBE can be abbreviated to DESC.

See also:

ALTER TASK , CREATE TASK , SHOW TASKS

Syntax

DESC[RIBE] TASK <name>

Parameters

name

Specifies the identifier for the task to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage Notes

  • Only the task owner (i.e. the role with the OWNERSHIP privilege on the task) or a role with the MONITOR privilege on the task can execute this command.

  • To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.

Examples

Create an example task:

CREATE TASK mytask ( ... );

Describe the columns in the table:

DESC TASK mytask;