oracle获取sysdate一个月前的日期,一年前的日期


select add_months(sysdate,-1),add_months(sysdate,-12) from dual



猜你喜欢

转载自tiantiankaixin.iteye.com/blog/1543432