หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime
Returns the three-letter English abbreviation for the month of expr.
Syntax
monthname(expr)
Arguments
expr: ADATE,TIMESTAMP, orSTRINGexpression.
Returns
A STRING.
The result is one of Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec.
Examples
> SELECT monthname(DATE'2024-11-01');
Nov
> SELECT monthname(TIMESTAMP'2024-04-08 13:08:15');
Apr