Implicit Conversion of DateTime Types - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

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.