Compatible Types - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantageā„¢

The following table describes the allowed combinations of source and target types when both the source and the target types are Period data types.

Source Type Target Type
PERIOD(DATE) PERIOD(DATE)
PERIOD(TIMESTAMP[(m)] [WITH TIME ZONE])
PERIOD(TIME[(n)] [WITH TIME ZONE]) PERIOD(TIME[(m)] [WITH TIME ZONE])

where m is the target precision, m must be greater than or equal to the source precision n. The default for m is 6.

PERIOD(TIMESTAMP[(m )] [WITH TIME ZONE])

where m is the target precision, m must be greater than or equal to the source precision n. The default for m is 6.

PERIOD(TIMESTAMP[(n)] WITH TIME ZONE) PERIOD(DATE)
PERIOD(TIME[(m)] [WITH TIME ZONE])

where m is the target precision, m must be greater than or equal to the source precision n. The default for m is 6.

PERIOD(TIMESTAMP[(m)] [WITH TIME ZONE])

where m is the target precision, m must be greater than or equal to the source precision n. The default for m is 6.