/*execute report_xz_23;*/
为什么要把这句注释掉?注释掉不就没做了吗?

解决方案 »

  1.   

    exception
           when others then
    rollback work;
         /*    commit work;  */end  report_xz_23;/
    execute report_xz_23;/后面我换成这样,提示是执行完了但是没有数据倒过来,表里数据还是空的呀,怎么办呀??
      

  2.   

    你这样处理把所有出错提示都屏蔽了,应该这样写:
    exception
           when others then
    rollback work;
                      Raise_Application_Error(-20001, SQLERRM);
    end  report_xz_23;
    /