1 select to_date(last_day(sysdate)) from dual --最后一天 2 select to_date(trunc(add_months(last_day(sysdate), -1) + 1)) from dual --第一天
时间: 2024-10-05 05:50:00
1 select to_date(last_day(sysdate)) from dual --最后一天 2 select to_date(trunc(add_months(last_day(sysdate), -1) + 1)) from dual --第一天