great.....hey wii any one help with the logic

  • Can i have a logic to get start date or first date of the next month by using getdate(). Please...

  • --Add 1 month, add 1 - day of month (puts you on the first of the month) ... to today's date without the time part

    SELECT DATEADD(M, 1, DATEADD(D, 1 - DATEPART(D, GETDATE()), DATEDIFF(D, 0, GETDATE())))

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply