Skip to main content

Home/ MS SQL Server and Analysis Services/ T-SQL: last day of the month, round dates
Sergey Leifer

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

SQL Server T-SQL

started by Sergey Leifer on 07 Aug 10
  • Sergey Leifer
     
    SELECT DAY(DATEADD(d, -DAY(DATEADD(m,1,GETDATE())),DATEADD(m,1,GETDATE())))

To Top

Start a New Topic » « Back to the MS SQL Server and Analysis Services group