SHOW SCHEMA VARIABLES IN SCHEMA

statementsupportedUDFs, procedures, tasks, alerts, scripting

docs.snowflake.com ↗

Lists all schema variables in the specified schema for which you have access privileges. To list session variables, use SHOW VARIABLES.

Syntax

supportedpartialnot supportednot scored

SHOW SCHEMA VARIABLES [ LIKE '<pattern>' ]
  IN SCHEMA { <schema_name> | <database_name>.<schema_name> }

Parameters

NameRequiredDescription
LIKE 'pattern'Optionally filters the command output by object name. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (% and _). For example, the following patterns return the same results: ... LIKE '%testing%' ... ... LIKE '%TESTING%' ... Default: No value (no filtering is applied to the output).
IN SCHEMA { schema_name | database_name.schema_name }Specifies the schema whose variables to list. Either a bare schema name (relative to the current database) or a fully qualified database.schema name can be used.

Usage notes

Output

The command returns the following columns: Column | Data Type | Description created_on | TIMESTAMP_LTZ | Date and time when the variable was created name | VARCHAR | Name of the variable schema_name | VARCHAR | Schema that the variable belongs to database_name | VARCHAR | Database that the variable belongs to owner | VARCHAR | Role that owns the variable data_type | VARCHAR | Declared data type of the variable value | VARCHAR | Current value of the variable, or NULL if no value has been set default_value | VARCHAR | Default value of the variable, or NULL if no default was declared version | NUMBER | Monotonically increasing version number, incremented each time the variable is set comment | VARCHAR | Comment for the variable

See also

Referenced by