MS SQL Server
SQL Query To Find Last Day of Previous Month
SELECT
DATEADD
(
MONTH
,
DATEDIFF
(
MONTH
,
0
,
GETDATE
()),
-
1
)
Result
Newer Post
Older Post
Home