Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

Advanced value expressions

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

NULLIF

NULLIF is shorthand for a frequently used variation of CASE.

Syntax

NULLIF(value1, target_value)
is equivalent to
CASE
WHEN value1 = = target_value THEN NULL
ELSE value1
END

Example

... WHERE sales_revenue / NULLIF(our_cost, -1) > 50
TitleResults for “How to create a CRG?”Also Available inAlert