Skip to main content

session_variables

Inspect system variable values for your current SQL session.

Run the query in the warehouse SQL Editor or a connected SQL client:

SELECT * FROM information_schema.session_variables LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
VARIABLE_NAMEvarchar(64)The name of the variable.
VARIABLE_VALUEvarchar(1024)The current value.
DEFAULT_VALUEvarchar(1024)The default value.
CHANGEDvarchar(4)Whether the current value differs from the default value.

Use DESCRIBE information_schema.session_variables; to inspect the schema in your warehouse.

Ask AI