<p class="intro">Oracle中查询本月星期5的所有日期列表的语句,需要的朋友可以参考下</p> 代码如下: <br>SELECT * <br>FROM (SELECT TRUNC(SYSDATE, 'mm') + ROWNUM - 1 DAYS <br>FROM (SELECT LEVEL <br>FROM DUAL <br>CONNECT BY LEVEL TRUNC(LAST_DAY(SYSDATE)) - TRUNC(SYSDATE, 'mm') + 1)) <br>WHERE TO_CHAR(DAYS, 'd') = '6' <br><br>作者 scorpio3k