- Categories:
PERIOD_ PRECEDES¶
Returns TRUE if the first PERIOD ends at or before the second PERIOD begins.
- See also:
Syntax¶
Arguments¶
period1The first PERIOD value.
period2The 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.
Examples¶
This example shows a period that precedes another (it ends at or before the second begins), and one that doesn’t: