T-SQL: last day of the month, round dates - 0 views

-
#1 Sergey Leifer on 07 Aug 10SELECT DAY(DATEADD(d, -DAY(DATEADD(m,1,GETDATE())),DATEADD(m,1,GETDATE())))
To Top
To Top
Start a New Topic » « Back to the MS SQL Server and Analysis Services group