摘要: Oracle 获取本周、本月、本季、本年的第一天和最后一天 --本周 select trunc(sysdate, 'd') + 1 from dual; select trunc(sysdate, 'd') + 7 from dual; --本月 select trunc(sysdate, 'mm' 阅读全文
posted @ 2017-05-22 10:00 五加乘 阅读(25071) 评论(0) 推荐(0) 编辑