Implicit TIMESTAMP-to-DATE Conversion - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

SQL Engine performs implicit conversion from TIMESTAMP types to DATE in some cases. See Implicit Conversion of DateTime Types.

The following conversions are supported:

From source type... To target type...
TIMESTAMP DATE

ANSIDate dateform mode or IntegerDate dateform mode

TIMESTAMP WITH TIME ZONE

The TIMESTAMP value is always converted to DATE in case of comparison.