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 returns rows for a task owner (i.e. the role with the OWNERSHIP privilege on a task) or a role with either the MONITOR or OPERATE privilege on a task.
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 task:
DESC TASK mytask;