DAYNAME_LONG_UDF

Definition

Returns the complete name of a day either in uppercase, lowercase, or capitalized.

PUBLIC.DAYNAME_LONG_UDF(INPUT TIMESTAMP_TZ, RESULTCASE VARCHAR)

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:

Last updated