Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
更新しました 2024/11/22
Send us feedback
last_day
Applies to: Databricks SQL Databricks Runtime
Returns the last day of the month that the date belongs to.
last_day(expr)
expr: A DATE expression.
expr
DATE
A DATE.
> SELECT last_day('2009-01-12'); 2009-01-31 > SELECT last_day('2009-02-12'); 2009-02-28
next_day function