oracle存储过程中v_FirstMonth Bpms_Businessvalue.Currentdate%Type :=trunc(to_date(v_ReportDate,'yyyy/MM/dd'),'yyyy');变量赋值后为什么是null
此处的v_ReportDate是存储过程传入的参数oracle存储过程oracle
此处的v_ReportDate是存储过程传入的参数oracle存储过程oracle
v_date i_cc_analyze_log.analyze_time%type := trunc(to_date(v_value,'yyyy/MM/dd'),'yyyy');
begin
dbms_output.put_line(v_date);
end;call test_in('2012/12/01');