16.20 - RESPECT NULLS - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

Optional keyword that specifies whether to return NULL.

  • RESPECT NULLS (with FIRST_VALUE) = returns the first value, whether or not it is null.
  • RESPECT NULLS (with LAST_VALUE) = returns the last value, whether or not it is null.

If all values are null, NULL is returned.