可是只要换上另外一个字段hwh,其他什么都不变动,就可以了
应该还是hxh的问题吧请人知道吗?

解决方案 »

  1.   

    create or replace procedure test
    as
      iCount      number;
    begin  select count(hxh) into icount from zb_zzb;    
    end test;
      

  2.   

    我想一定是TMD PL/SQL给转译成什么十六进制什么东西了
      

  3.   

    肯定不是:我还用它来做变量。 
     hxh INT,
      

  4.   

    楼主兄弟,我试了你的过程,没问题呀!
    表中定义字段 hxh number,
    过程照抄你的,就是改了个名
    create or replace procedure test_may is  iCount  number;
    begin  select count(hxh) into icount from test;
      dbms_output.put_line(icount);end test_may;输出结果  3