1
我正在處理Oracle Reports Builder中的報告,並且遇到了AFTERPFORM觸發器的問題。查看報告時,似乎正在處理正確的年份,而期間和子期間則使用其初始值。我很困惑,因爲它們是完全相同的選擇語句,但不能按預期工作。任何幫助將不勝感激!Oracle報告SELECT INTO未選擇
function AfterPForm return boolean is
v_subpdenddt_user date;
v_subpdenddt_max date;
v_rowcount integer;
begin
select value into year from wos_report_param where parameter = 'year' and sequence_num = :sequencenum;
select value into period from wos_report_param where parameter = 'period' and sequence_num = :sequencenum;
select value into user_subpd from wos_report_param where parameter = 'subpd' and sequence_num = :sequencenum;