Table of Contents

Search

  1. Preface
  2. Function reference
  3. Constants
  4. Operators
  5. Dates
  6. Functions
  7. System variables
  8. Datatype reference

Function Reference

Function Reference

Null values in comparison expressions

Null values in comparison expressions

When you use a null value in an expression that contains a comparison operator,
Data Integration
produces a null value. However, you can also configure the Data Integration Server service custom property Treat Null in Comparison Operators As to tell
Data Integration
to treat null values as high or low in comparison operations.
Use the Treat Null in Comparison Operators As custom DTM property to configure how
Data Integration
handles null values in comparison expressions. This property affects the behavior of the following comparison operators in expressions:
=, !=, ^=, <>, >, >=, <, <=
For example, consider the following expressions:
NULL > 1 NULL = NULL
The following table describes how
Data Integration
evaluates the expressions:
Expression
Treat Null in Comparison Operators As
NULL
HIGH
LOW
NULL > 1
NULL
TRUE
FALSE
NULL = NULL
NULL
TRUE
TRUE

0 COMMENTS

We’d like to hear from you!