PERIOD_END
functionsupportedCore SQL functionsReturns the exclusive ending bound of a PERIOD value.
Syntax
PERIOD_END( <period> )
Parameters
| Name | Required | Description |
|---|---|---|
period | required | The 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.