QUARTERNUMBER_OF_YEAR_UDF
Definition
UDF that reproduces teradata QUARTERNUMBER_OF_YEAR_UDF(date, 'ISO') functionality.
Parameters
INPUT
TIMESTAMP_TZ
The to get from the number of the quarter.
Returns
An integer that represents the quarter that the date belongs to.
Usage example
Input:
Output:
Last updated