in Search
     

Browse Site by Tags

Showing related tags and posts accross the entire site.
All Tags » SQL Server » Useful SQL Scripts (RSS)
  • Some useful date processing SQL Snippets

    Here's an update to my blog entry 3 years ago regarding the same topic: ---Calculates the first day of the previous month SELECT DATEADD (mm, DATEDIFF (m, 0, GETDATE ()) - 1, 0) AS [First day of the previous month ] ---Calculates the first day of current month SELECT DATEADD (mm, DATEDIFF (m, 0,...
    Posted to Weblog by keithrull on 07-24-2008
Page 1 of 1 (1 items)