INTERVAL YEAR TO MONTH Data Type Syntax - 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

Syntax

INTERVAL YEAR [ ( precision ) ] TO MONTH [ attributes [...] ]

Syntax Elements

precision
The permitted range of digits for YEAR, ranging from one to four.
The default is two.
attributes
Appropriate data type, column storage, or column constraint attributes.
See Core Data Type Attributes and Storage and Constraint Attributes for specific information.