当前位置: 数据库>oracle
Oracle中查询本月星期5的所有日期列表的语句
来源: 互联网 发布时间:2014-09-07
本文导语: 代码如下: SELECT * FROM (SELECT TRUNC(SYSDATE, 'mm') + ROWNUM - 1 DAYS FROM (SELECT LEVEL FROM DUAL CONNECT BY LEVEL
代码如下:
SELECT *
FROM (SELECT TRUNC(SYSDATE, 'mm') + ROWNUM - 1 DAYS
FROM (SELECT LEVEL
FROM DUAL
CONNECT BY LEVEL