-584   INVALID USE OF NULL

Explanation

The NULL keyword is not valid as specified. One of the following error situations occurred:

  • The NULL keyword was used in the USING source-table clause of the MERGE statement, but the NULL keyword was not explicitly cast to a supported data type.

System action

The statement cannot be processed.

User response

Take the following action:

  • Specify the NULL keyword within a CAST expression when using NULL within the USING VALUES clause of the MERGE statement.

SQLSTATE

42608