In this blog post, you’ll learn more about the Sybase Error Invalid comparison and the reason for receiving this error
Sybase SQL Error Message
Invalid comparison
Reason for this Error
An attempt was made to compare two arguments that do not support comparison. For example, it is not valid to compare a Java object with another Java object, unless the class of the object supports a valid compareTo method.