SYSTEM$GET_TAG_ALLOWED_VALUES
functionsupportedGovernance (policies, tags, data quality)Returns a comma-separated list of string values that can be set on a supported object, or NULL to indicate the tag key does not have any specified string values and accepts all possible string values.
Syntax
SYSTEM$GET_TAG_ALLOWED_VALUES('<name>')
Parameters
| Name | Required | Description |
|---|---|---|
name | required | The fully-qualified name of the tag key as a string. |
Usage notes
- The role that calls this function must have USAGE or any other privilege on the parent database and schema of the tag, or the global APPLY TAG on ACCOUNT privilege.
- Snowflake returns NULL when you pass the SNOWFLAKE.CORE.SEMANTIC_CATEGORY system tag as an argument in the function because there is not an allowed values constraint with this tag.