Predicate Value Data-type Conversions
Predicates do not support implicit data-type conversions. You must perform an explicit conversion while performing a binary operation with operands of different types. For example, if the DOB field is of type DATETTIME then the predicate expression DATE \"2001/01/01\" <= $\"DOB\ produces a PARAMVAL error. An explicit conversion DATE \"2001/01/01\" <= DATE $\"DOB\ is required.
This applies to both predicate-expressions and predicate-string-expressions.