SHOW VERSIONS IN LISTING

statementsupportedNative apps, listings & sharing

docs.snowflake.com ↗

Lists and provides details of all listing versions.

Syntax

supportedpartialnot supportednot scored

SHOW VERSIONS IN LISTING <name>
  [ LIMIT <rows> ]

Parameters

NameRequiredDescription
nameSpecifies the listing identifier (name). 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. For more information, see Identifier Requirements.
LIMIT rowsOptionally limits the maximum number of rows returned, while also enabling “pagination” of the results. The actual number of rows returned might be less than the specified limit. For example, the number of existing objects is less than the specified limit.

Usage notes

Output

The output of the command includes the following columns, which describe the properties and metadata of the object: Column | Description created_on | Date and time the version was created. name | The system generated name of the version. alias | The user specified alias of the version. location_url | Full URL of the version, against which stage operations can be performed. is_default | Identifies the listing version that is published. is_live | Identifies if the version is a live version of the listing. is_first | Identifies if the version is the first listing version. is_last | Identifies if the version is the last listing version. comment | Optional comments for the listing version. source_location_url | The source location URL where this version is created from. git_commit_hash | The git commit hash, if the version is created from a git source.

Access control requirements

- To show listing versions, you must be using a role that has USAGE or OWNERSHIP privileges on the listing.

See also

Referenced by