MONTH_SHORT_UDF

Definition

Determines the short name of a month either in uppercase, lowercase, or capitalized.

PUBLIC.MONTH_SHORT_UDF(INPUT TIMESTAMP_TZ, RESULTCASE VARCHAR)

Parameters

INPUT TIMESTAMP_TZ

The date to take the short name of the month.

RESULTCASE VARCHAR

The case result to be represented, accepted values are 'uppercase', 'lowercase', and 'firstOnly'.

Returns

A varchar which is the short name of a month.

Usage example

Input:

Output:

Last updated