Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions

Transformation Language Reference

Transformation Language Reference

Null Values in Comparison Expressions

Null Values in Comparison Expressions

When you use a null value in an expression containing a comparison operator, the
Data Integration Service
produces a null value. To check for null values in columns, you must use the ISNULL() in comparison expressions.
To return rows that do not contain null values, use the ISNULL function instead of the constant
!=
. For example, use
NOT ISNULL(Field_A)
.
The following expression results in a null value, and the Filter transformation does not return any rows:
Field_A!=NULL
.
You can also configure the Lookup transformation to treat null values as high or low in comparison operations. Use the Null Ordering property in the lookup source to configure how the
Data Integration Service
handles null values in comparison expressions in the Lookup transformation.

0 COMMENTS

We’d like to hear from you!