oracle 存储过程 日期 变量 的相关操作
V_DATE DATE; SELECT TRUNC(SYSDATE,'MM') INTO V_DATE FROM DUAL;SELECT LAST_DAY(SYSDATE) INTO V_DATE FROM DUAL;SELECT TRUNC(ADD_MONTHS(SYSDATE,-1),'MM') INTO V_DATE FROM DUAL;SELECT LAST_DAY(ADD_M...