Invalid predicate result (NULL or invalid datatype)

The SQL statement's WHERE clause returned a NULL or invalid datatype result.

Resolution:

Correct the statement.