Skip to main content
The statement can modify one of the session configuration variables. These can also be queried via . By default, session variable values are set for the duration of the current session. CockroachDB supports setting session variables for the duration of a single transaction, using .

Supported variables

The following session variables are exposed only for backwards compatibility with earlier CockroachDB releases and have no impact on how CockroachDB runs: