UNION and NULL - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

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.

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