Skip to main content
The RESET statement resets a session variable to its default value for the client session.

Required privileges

No privileges are required to reset a session setting.

Synopsis

reset_session syntax diagram

Parameters

Example

You can use SET.. TO DEFAULT to reset a session variable as well.

Known limitations

  • SET and RESET do not properly apply ROLLBACK within a transaction. For example:

See also