问题还没解决?
create trigger a
after insert on bponderation
declare
num number;
begin
select count(*) into num
from bponmonthtotaldata
where bponmonthtotaldata.fbreedid=:new.fbreedid;
if num>0 then
insert into bponmonthtotaldata (fcarcount,fbreedid) values('1',:new.fbreedid);
END monthreport;
提示in 或 out参数丢失是怎么回事,事不事逐行触发那边新值,旧值要写什么东西呀!