- Categories:
PERIOD_ END¶
Returns the exclusive ending bound of a PERIOD value.
- See also:
Syntax¶
Arguments¶
periodThe PERIOD value to inspect.
Returns¶
A DATE, TIME, TIMESTAMP_NTZ, TIMESTAMP_LTZ, or TIMESTAMP_TZ value that matches the element type of the input PERIOD.
Usage notes¶
- The ending bound is exclusive: it is not contained in the PERIOD.
- If the input is NULL, the function returns NULL.
Examples¶
This example returns the exclusive ending bound of a PERIOD(DATE) value. Because a NULL input produces a NULL result, the second column returns NULL: