17.10 - Result Type - 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)
  • If both expressions have a Period data type or a derived period, the function returns TRUE if the beginning bound of the first expression is greater than or equal to the ending bound of the second expression; otherwise, the function returns FALSE.
  • If the first expression is a Period expression and the second expression is a DateTime expression, the function returns TRUE if the beginning bound of the first expression is greater than the second expression; otherwise, the function returns FALSE.
  • If the first expression is a DateTime expression and the second expression is a Period expression, the function returns TRUE if the DateTime expression is greater than or equal to the ending bound of the second expression; otherwise, the function returns FALSE.
  • If either expression is NULL, the operator returns UNKNOWN.