摘要: Oracle 获取本周、本月、本季、本年的第一天和最后一天 --本周 select trunc(sysdate, 'd') + 1 from dual; select trunc(sysdate, 'd') + 7 from dual; --本月 select trunc(sysdate, 'mm' 阅读全文
posted @ 2018-01-03 10:08 赵天成123 阅读(703) 评论(0) 推荐(0) 编辑