IMMEDIATELY PRECEDES Syntax - Advanced SQL Engine - Teradata Database

SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
dzx1591742169550.ditamap
dita:ditavalPath
dzx1591742169550.ditaval
dita:id
B035-1211
lifecycle
previous
Product Category
Teradata Vantageā„¢
{ period_expression_1 IMMEDIATELY PRECEDES { period_expression_2 | derived_period } |

  derived_period_1 IMMEDIATELY PRECEDES { derived_period_2 | period_expression }
}

Syntax Elements

period_expression_1/period_expression_2

Any expression that evaluates to a Period data type.

The Period expression must be comparable with the other expression. Implicit casting to a Period data type is not supported.

derived_period_1/derived_period_2
Any expression that evaluates to a Period data type.