On this page
Kater SQL Functions Date parts
KATER__MONTH_NAME
The month's short name, such as Jan.
Family: Date parts
Syntax
KATER__MONTH_NAME(field)Arguments
| Argument | Description |
|---|---|
field | The date or timestamp. |
Returns
Text.
Usage notes
- Names sort in alphabetical order, so a table puts Apr before Jan. Sort by the number instead to keep the calendar’s order. Use
KATER__MONTH_NUM.
Example
This Sandbox query reads the sample shop’s orders. The table shows the rows that Kater gave.
SELECT orders.order_id AS "Order ID", orders.order_date AS "Order Date", DIMENSION('order_date_month_name', KATER__MONTH_NAME(orders.order_date)) AS "Month Name"FROM kater_dataset.orders AS ordersORDER BY 1LIMIT 3| Order ID | Order Date | Month Name |
|---|---|---|
| O00000 | 2025-05-26 | May |
| O00001 | 2025-11-28 | Nov |
| O00002 | 2025-07-25 | Jul |
Compiles to
STRFTIME(orders.order_date, '%b')MONTHNAME(orders.order_date)