EOMONTH
Description
Sample Source Pattern
Syntax
EOMONTH ( start_date [, month_to_add ] ) LAST_DAY( <date_or_time_expr> [ , <date_part> ] )Examples
SELECT EOMONTH (GETDATE()) AS Result; RESULT|
----------+
2022-05-31|SELECT LAST_DAY (CURRENT_TIMESTAMP() :: TIMESTAMP ) AS Result; RESULT|
----------+
2022-05-31|Last updated
Was this helpful?