SHOW PARAMETERS

statementsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

Lists all the account, session, and object parameters that can be set, as well as the current and default values for each parameter: - Account parameters can only be set at the account level. - Session parameters can be set at the account, user, and session level. - Object parameters can be set at the account and object level. If a parameter has been explicitly set, the output of this command also shows the level at which the parameter has been set. For descriptions of the different parameter types, as well as detailed descriptions for each parameter, see Parameters.

Syntax

supportedpartialnot supportednot scored

SHOW PARAMETERS
  [ LIKE '<pattern>' ]
  [ { IN | FOR } {
        { SESSION | ACCOUNT }
      | { USER | WAREHOUSE | DATABASE | SCHEMA | TASK | PIPE } [ <name> ]
      | TABLE [ <table_or_view_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 | FORIN ... or FOR ... specifies the scope of the command, which determines the parameters that are returned: Default: SESSION
  • SESSION — Returns all the session parameters and their settings for the current session. A user can change these parameters for their session using ALTER SESSION.
  • ACCOUNT — Returns a list of the account, session, and object parameters that can be set at the account level. A user with the ACCOUNTADMIN role (i.e. account administrator) can change these parameters via ALTER ACCOUNT. For more information, see Parameter management.
USER [ name ]Returns a list of the session parameter defaults that are set for the specified user (or the current user) each time the user logs in. If no user is specified, the command returns results for the current user. An administrator with the appropriate user privileges can change the session parameter defaults for a user using ALTER USER. Individual users can also change their session parameter defaults using ALTER USER.
WAREHOUSE | DATABASE | SCHEMA | TASK | PIPE [ name ]Returns the object parameters that can be set for the current/specified object. Users with the appropriate privileges can change these parameters using the corresponding ALTER <object> command.
TABLE [ table_or_view_name ]Returns the object parameters that can be set for the specified table or view. Users with the appropriate privileges can change these parameters using the ALTER TABLE command. Use TABLE as the domain for all table-like objects, such as tables, views, and materialized views.

Usage notes

Referenced by