DAYNAME_LONG_UDF (TIMESTAMP_TZ, VARCHAR)
This is the user-defined function (UDF) overloaded with two parameters.
Definition
Returns the complete name of a day either in uppercase, lowercase, or capitalized.
Parameters
INPUT
TIMESTAMP_TZ
The date to take the dayname from.
RESULTCASE
VARCHAR
The case that the result will present.
Returns
Returns a varchar with the complete name of a day.
Usage example
Input:
Output: