摘要: 获取过去两年的今天时间: SELECT last_day(ADD_MONTHS(ADD_MONTHS(sysdate,-12), ROWNUM - 1)) as monthlist FROM DUALCONNECT BY ROWNUM <= months_between(SYSDATE, ADD_M 阅读全文
posted @ 2018-08-03 16:32 baby孔祥超 阅读(3680) 评论(0) 推荐(0) 编辑
摘要: 获取过去一年每个月月末时间: SELECT last_day(ADD_MONTHS(ADD_MONTHS(sysdate,-12), ROWNUM - 1)) as monthlist FROM DUALCONNECT BY ROWNUM <= months_between(SYSDATE, ADD 阅读全文
posted @ 2018-08-03 09:48 baby孔祥超 阅读(399) 评论(0) 推荐(0) 编辑