begin
for tid in 1 .. 925 loop
select * from glauxs where trim(fperco) in (
select trim(fperco) from glauxs where setid=tid and fyear=2011 group by trim(fperco)
having count(*)>1) and setid=tid and fyear=2011;
end loop;
end;
为什么这段代码报错了啊,pls-00428在此select缺少INTO子句;
不执行for语句为什么可以。
有没有群,求加群
for tid in 1 .. 925 loop
select * from glauxs where trim(fperco) in (
select trim(fperco) from glauxs where setid=tid and fyear=2011 group by trim(fperco)
having count(*)>1) and setid=tid and fyear=2011;
end loop;
end;
为什么这段代码报错了啊,pls-00428在此select缺少INTO子句;
不执行for语句为什么可以。
有没有群,求加群
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货