The comparison '%1' can not be used with geometries

Error constant SQLE_SLERR_COMPARISON_PREDICATE
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The type of comparison relation.
Severity 16
SQLCODE -1440
SQLSTATE 2FW33
Sybase error code 13132
 Probable cause