SHOW VERSIONS IN ORGANIZATION PROFILEΒΆ
Lists the organization profile versions for which you have access privileges.
- See also:
ALTER ORGANIZATION PROFILE, CREATE ORGANIZATION PROFILE, DESCRIBE AVAILABLE ORGANIZATION PROFILE, DESCRIBE ORGANIZATION PROFILE, DROP ORGANIZATION PROFILE, SHOW AVAILABLE ORGANIZATION PROFILES
SyntaxΒΆ
SHOW VERSIONS IN ORGANIZATION PROFILE <name>
ParametersΒΆ
name
Specifies the identifier for the organization profile on which you want to list organization profile versions. Must contain only uppercase characters or numbers.
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. See Identifier Requirements.
OutputΒΆ
The output of the command includes the following columns, which describe the properties and metadata of the object:
Column |
Description |
---|---|
|
The date and time when the organization profile was created. |
|
The organization profile name. |
|
The user-defined alias for the organization profile version. |
|
The URI for the organization profile version. |
|
The organization profile version is live. One of |
|
The organization profile version is the default. One of |
|
The organization profile is the first version. One of |
|
The organization profile is the last version. One of |
|
Comments added by users. |
|
The source location URI for the organization profile version. |
|
The git commit hash for the organization profile version when itβs created from a git source. |
Access control requirementsΒΆ
A role used to execute this SQL command must have either of the following privileges at a minimum:
Privilege |
Object |
Notes |
---|---|---|
MODIFY |
Organization profile |
To create a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
ExamplesΒΆ
The following example lists the organization profile versions in the organization profile MYORGANIZATIONPROFILE
that you have the privileges to access:
SHOW VERSIONS IN ORGANIZATION PROFILE myorganizationprofile;
+------------------------+---------------------+---------------------+-----------------------------------------------+---------------------+---------------------+-------------+-----------------+---------------------+---------------------+----------------+
|created_on |name |alias |location_uri |is_live |is_default |is_first |is_last |comment |source_location_uri |git_commit_hash |
+------------------------+---------------------+---------------------+-----------------------------------------------+---------------------+---------------------+-------------+-----------------+---------------------+---------------------+----------------+
|2025-01-01 01:01:01.000 |VERSION$1 |V1 |snow://notebook/mynotebook/versions/version$1 |TRUE |FALSE |TRUE |FALSE | |@TESTDB.PUBLIC.STAGE |NONE |
+------------------------+---------------------+---------------------+-----------------------------------------------+---------------------+---------------------+-------------+-----------------+---------------------+---------------------+----------------+