UNION and NULL - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
qtb1554762060450.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantage™

When you specify an explicit NULL for any union operation, its data type is INTEGER. For an example, see Example: Effect of Explicit NULLs on Data Type of a UNION.

On the other hand, column data defined as NULL has neither value nor data type and evaluates like any other null in a scalar expression.