SELECT
TO_CHAR (
--起始日期
TO_DATE ('2017-08-02', 'yyyy-MM-DD') + ROWNUM - 1,
'yyyy-MM-DD'
) AS 日期
FROM
--需要返回多少天
DUAL CONNECT BY ROWNUM <= 60;
TO_CHAR (
--起始日期
TO_DATE ('2017-08-02', 'yyyy-MM-DD') + ROWNUM - 1,
'yyyy-MM-DD'
) AS 日期
FROM
--需要返回多少天
DUAL CONNECT BY ROWNUM <= 60;