ASP.NET的BUG
我使用的数据库是oracle9i,现在使用ASP.NET绑定DATAGRID,就下面这两条语句,第一句一点内容也不显示,第二句显示的内容是有的,但是统计结果不正确的。但是在SQL PLUS中执行是正确的,不知道怎么解决啊,会不会是又一个BUG,条件是记录是必须达到百条以上啊!如果记录少的话没有问题啊!急啊!
1、select a.xkkh,count(b.xh) yxrs from ryxkjxrwb a,ryxxkxsxkb b,xxmc c where a.xn=b.xn(+) and a.xq=b.xq(+) and a.xkkh=b.xkkh(+) and a.xn=c.xkxn and a.xq=c.xkxq group by a.xkkh;
2、select a.xkkh,count(*) yxrs from ryxkjxrwb a,ryxxkxsxkb b,xxmc c where a.xn=b.xn(+) and a.xq=b.xq(+) and a.xkkh=b.xkkh(+) and a.xn=c.xkxn and a.xq=c.xkxq group by a.xkkh;