SUCCEEDS Syntax - Analytics Database - Teradata Vantage

SQL Date and Time Functions and Expressions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
cpk1628111786971.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
pxz1544241488545
lifecycle
latest
Product Category
Teradata Vantage™
{ period_expression [NOT] SUCCEEDS
  { period_expression | datetime_expression | derived_period } |

  datetime_expression [NOT] SUCCEEDS period_expression |

  derived_period [NOT] SUCCEEDS { derived_period | period_expression }
}

Syntax Elements

period_expression

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.

datetime_expression
An expression that evaluates to a DATE, TIME, or TIMESTAMP value.
derived_period
Any expression that evaluates to a Period data type.