• May be that:

    SELECTDATEADD (DAY,sv.Number,'20120801')

    FROMmaster.dbo.spt_values sv

    WHEREsv.Name IS NULL AND sv.Number < 31