Global variables

A global variable is a named variable that can be created, accessed, and modified using SQL.

A global variable can provide a unique value for a session. The variable can be used as part of any expression in places such as a query, a create view, or an insert statement.