Character Strings that Use ANSI DateTime Format - 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™
Here is a list of valid character string representations when the implicit or explicit character-to-period conversion uses the ANSI DateTime format to interpret the beginning and ending bound elements.
  • '(''beginning_element_value ''''ending_element_value '')'
  • '(beginning_element_value , Δending_element_value )'
  • '(''beginning_element_value '', Δending_element_value )'
  • '(beginning_element_value , Δ''ending_element_value '')'

where formats of beginning_element_value and ending_element_value depend on the target data type.

Target Data Type Format
PERIOD(DATE) YYYY-MM-DD
PERIOD(TIME[(n)]) HH:MI:SS.S(F)
PERIOD(TIMESTAMP[(n)]) YYYY-MM-DDBHH:MI:SS.S(F)