Pages

Tuesday, July 15, 2008

Get all the dates in a range

Use this T-SQL script to get all the dates in a specified date range.

Please note that it will only work in SQL Server 2005 or later.