-087 A NULL VALUE WAS SPECIFIED IN A CONTEXT WHERE A NULL IS NOT ALLOWED

Explanation

An SQL parameter or SQL variable having a null value was specified in a context in which a null value is not allowed. For example, an SQL statement can be specified with an SQL parameter or SQL variable on the PREPARE and EXECUTE statements. In these contexts the value of an SQL parameter or SQL variable must not be null.

System action

The statement cannot be processed.

User response

Correct the SQL statement.

SQLSTATE

22004