invalid type for sql statement variable

Message value

Message type

2618

Error

Probable cause

A host variable used as a statement identifier should be of type a_sql_statement_number. You attempted to use a host variable of some other type as a statement identifier.