Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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