时间:2024-10-12 07:04:32
1、主要是使用TRUNC函数。年初:select trunc(sysdate,'yy') from dual;
3、月初select trunc(sysdate,'mm') from dual;