DESCRIBE RESULT

statementsupportedQueries & DML

docs.snowflake.com ↗

Describes the columns in the result of a query. Snowflake persists the result of a query for a period of time, after which the result is purged. The query can be from the current session or any of your other sessions, including past sessions, as long as the limited period has not elapsed. This period is not adjustable. For more details, see Using Persisted Query Results. DESCRIBE can be abbreviated to DESC.

Syntax

supportedpartialnot supportednot scored

DESC[RIBE] RESULT { '<query_id>' | LAST_QUERY_ID() }

Parameters

NameRequiredDescription
query_id or LAST_QUERY_ID()Specifies either the ID for a query you executed (within the last 24 hours in any session) or the LAST_QUERY_ID function, which returns the ID for a query within your current session.

Usage notes

See also

Referenced by