Skip to main content
Use the SHOW to display the value of one or all of the session variables. You configure session variables using .

Required privileges

No are required to display the session variables.

Synopsis

show_session syntax diagram
The SHOW statement for session variables is unrelated to the other SHOW statements like , , and .

Parameters

Supported variables

The following session variables are exposed only for backwards compatibility with earlier CockroachDB releases and have no impact on how CockroachDB runs: For session variables on features in preview, see . Special syntax cases supported for compatibility:

Examples

Showing the value of a single session variable

Showing the value of all session variables

See also

  • , including