Global variables vs. Host variables vs. Parameter markers

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.

你可能感兴趣的:(parameter)