17.10 - Example: date_time_expression - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1211-171K
Language
English (United States)

In this example, the date_time_expression is an interval_expression added to a date_time_term. Note that you can only add these terms—subtraction of a date_time_term from an interval_expression is not permitted.

SELECT INTERVAL '20' YEAR + CURRENT_DATE;