Describes the columns in a task.
DESCRIBE can be abbreviated to DESC.
DESC[RIBE] TASK <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.
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.
Create an example task:
CREATE TASK mytask ( ... );
Describe the columns in the table:
DESC TASK mytask;