IRohitable | All posts tagged 'sql server week start date'

SQL Server: Get week start and end dates of any month

by Rohit 19. January 2013 13:38
Get week start dates of any month DECLARE @startDate DATETIME SET @StartDate = '20130101' ;WITH DayCounter(n) AS ( SELECT 0 UNION ALL SELECT n+1 FROM DayCounter WHERE n<30) SELECT DISTINCT Dat... [More]

Tags: , ,

SQL Server | Technology

About Rohit Prakash

Software Craftsman and Technology Enthusiast (not a Guru). Technical Reviewer of a book on open-source programming IDE. Cyber Security Geek.

You can reach me at:

rohit [at] irohitable.com

Twitter:

@BuzzRohit

Month List

Protected by Copyscape Web Plagiarism Software