获取前一天日期SQL:select to_char(sysdate-1,'yyyy-mm-dd') from dual
获取当月第一天日期SQL:select to_char(sysdate-1,'yyyy-mm')||'-01' from dual
其他以此类推。。。。。。
转载于:https://blog.51cto.com/zhoujiyu/350492
转载于:https://blog.51cto.com/zhoujiyu/350492