Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql list dates between two dates

DECLARE @MinDate DATE = '20140101',
        @MaxDate DATE = '20140106';

SELECT  Date
FROM    dbo.Calendar
WHERE   Date >= @MinDate
AND     Date < @MaxDate;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #list #dates #dates
ADD COMMENT
Topic
Name
5+6 =