I need to find the dates between two dates in SQL Server.
where
startdate = '2015-12-04 00:00:00.000'
and enddate = '2015-12-07 00:00:00.000'
Result should be
2015-12-04 00:00:00.000
2015-12-05 00:00:00.000
2015-12-06 00:00:00.000
2015-12-07 00:00:00.000