The attempt was made to specify a parameter in a selected column.
Within the search condition, there was a comparison predicate of the form <parameter_spec> <comp_op> <parameter_spec>.
A comparison predicate, IN predicate or quantified predicate specifies a comparison between a parameter and a subquery.
Replace the parameter with a constant.
Check such a condition in the application. If this is not possible, replace one of the two parameters with a constant, a column name, or an expression which does not solely contain parameters.
Replace the parameter with a constant or integrate it into a function (such as SUBSTR) so that the data type of the parameter becomes clear.