1 select to_date(last_day(sysdate)) from dual --最後一天 2 select to_date(trunc(add_months(last_day(sysdate), -1) + 1)) from dual --第一天