复制代码 代码如下:
SELECT *
FROM (SELECT TRUNC(SYSDATE, 'mm') + ROWNUM - 1 DAYS
FROM (SELECT LEVEL
FROM DUAL
CONNECT BY LEVEL <=
TRUNC(LAST_DAY(SYSDATE)) - TRUNC(SYSDATE, 'mm') + 1))
WHERE TO_CHAR(DAYS, 'd') = '6'
作者 scorpio3k
SELECT *
FROM (SELECT TRUNC(SYSDATE, 'mm') + ROWNUM - 1 DAYS
FROM (SELECT LEVEL
FROM DUAL
CONNECT BY LEVEL <=
TRUNC(LAST_DAY(SYSDATE)) - TRUNC(SYSDATE, 'mm') + 1))
WHERE TO_CHAR(DAYS, 'd') = '6'
作者 scorpio3k
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
本文地址:/shujuku/oracle/100070.html