Implicit Conversion of DateTime Types - 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

In comparisons involving DateTime operands that differ, Vantage performs an implicit conversion according to the following table.

Expression Operand Other Expression Operand How Vantage Compares Data
TIMESTAMP DATE

ANSIDate dateform mode or IntegerDate dateform mode

As DATE data.

See Implicit TIMESTAMP-to-DATE Conversion.

TIMESTAMP WITH TIME ZONE
Interval

The INTERVAL type must have only one field, for example, INTERVAL YEAR.

Exact Numeric As numeric data.

See Implicit INTERVAL-to-Numeric Conversion.