IMMEDIATELY PRECEDES | SQL Date/Time Functions & Expressions | Teradata Vantage - 17.00 - 17.05 - IMMEDIATELY PRECEDES - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Date and Time Functions and Expressions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
17.05
Release Date
June 2020
Content Type
Programming Reference
Publication ID
B035-1211-170K
Language
English (United States)

Evaluates two Period expressions or derived periods.

Syntax

{ period_expression_1 IMMEDIATELY PRECEDES { period_expression_2 | derived_period } |

  derived_period_1 IMMEDIATELY PRECEDES { derived_period_2 | period_expression }
}
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.