DB2 Error Code – -128 invalid use of null in a predicate

In this post, you’ll learn about the error message -128 invalid use of null in a predicate in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-128 invalid use of null in a predicate

Reason for the Error

The use of NULL in the search condition does not conform to the rules of SQL syntax.

Solution

The implied function is not supported by DB2.