Baq to return each date within a two date parameters

There is a CTE that someone made, but the CTE fails after 100.