A variable in an SQL statement specifies a value that can be changed when the SQL statement is executed.
There are several types of variables used in SQL statements:
global variable
Global variables are defined using the CREATE VARIABLE statement.
For more information about how to refer to global variables see Global variables.