- Categories:
PERIOD_ BEGIN¶
Returns the inclusive beginning 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¶
- If the input is NULL, the function returns NULL.
Examples¶
This example returns the inclusive beginning bound of a PERIOD(DATE) value. Because a NULL input produces a NULL result, the second column returns NULL: