-417   A STATEMENT STRING TO BE PREPARED INCLUDES PARAMETER MARKERS AS THE OPERANDS OF THE SAME OPERATOR

Explanation

The statement string specified as the object of a PREPARE contains a predicate or expression where parameter markers have been used as operands of the same operator—for example: ? > ?

This syntax is not permitted.

System action

The statement cannot be processed.

Programmer response

Correct the logic of the application program so that this syntax error does not occur.

SQLSTATE

42609