SHOW VARIABLES | Snowflake Documentation (original) (raw)

Lists all variables defined in the current session.

See also:

SET , UNSET

Syntax

SHOW VARIABLES [ LIKE '' ]

Parameters

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).

Usage notes