select to_date('2018-09-01', 'yyyy-MM-dd') + rownum - 1 as dateday from dual connect by rownum <= (to_date('2019-01-21', 'yyyy-MM-dd') - to_date('2018-09-01', 'yyyy-MM-dd'))
查询结果如下: