Use the NULLIF expressions for conditional expressions in Derby.

The NULLIF expression is very similar to the CASE expression. For example:NULLIF ( L, R )

is equivalent to the following CASE expression:NULLIF(V1,V2)

CASE WHEN V1=V2 THEN NULL ELSE V1 END