Global variables are defined using the CREATE VARIABLE statement.
Host variables are defined by statements of a host language.Variables cannot be referenced in dynamic SQL statements. Parameter markers are defined in an SQL descriptor and used instead.