PERIOD_PRECEDES
functionsupportedCore SQL functionsReturns TRUE if the first PERIOD ends at or before the second PERIOD begins.
Syntax
PERIOD_PRECEDES( <period1>, <period2> )
Parameters
| Name | Required | Description |
|---|---|---|
period1 | required | The first PERIOD value. |
period2 | required | The second PERIOD value. Must have the same element type as period1. |
Returns
BOOLEAN.
Usage notes
- TRUE when PERIOD_END(period1) <= PERIOD_BEGIN(period2).
- Adjacent periods that meet also precede: PERIOD_PRECEDES([a, b), [b, c)) is TRUE.