DAYNAME_LONG_UDF (TIMESTAMP_TZ)
This is the user-defined function (UDF) overloaded with one parameter.
Definition
UDF that overloads the function DAYNAME_LONG_UDF and applies the default case (capitalized).
PUBLIC.DAYNAME_LONG_UDF(INPUT TIMESTAMP_TZ)
Parameters
INPUT
TIMESTAMP_TZ
The date to take the dayname of.
Returns
Returns a varchar with the complete name of a day.
Usage example
Input:
SELECT PUBLIC.DAYNAME_LONG_UDF(DATE '2022-06-30');
Output:
'Thursday'