Skip to main content

SHOW_VARIABLES

Introduced or updated: v1.2.634

Displays all session variables and their details, such as names, values, and types.

See also: SHOW VARIABLES

Syntax

SHOW_VARIABLES()

Examples

SELECT name, value, type FROM SHOW_VARIABLES();

┌──────────────────────────┐
│ name │ valuetype
├────────┼────────┼────────┤
│ y │ 'yy' │ String │
│ b │ 55 │ UInt8 │
│ x │ 'xx' │ String │
│ a │ 3 │ UInt8 │
└──────────────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today