我听说在powerbuild中有PFC功能(记不清了)可以满足我的这个需求,ORACLE有这方面的服务吗?
如果捕捉错误信息,是不是与语言相关?

解决方案 »

  1.   

    sqlcode 什么的,具体我忘了,我现在只能在网吧上网
      

  2.   

    非常感谢你的回复,我的MSN:[email protected]
    我明天一天都在线的,你能 帮帮我吗?
      

  3.   

    Oracle will catch the exception anyway , You must have your fronter source properly coded
      

  4.   

    to black_snail
    oracle can throw the exception,but it is not detailed enough
      

  5.   

    一个简单的例子:
    SQL> declare
      2    v_a varchar2(10);
      3  begin
      4    execute immediate 'select col from t_head';
      5    exception when others then
      6      dbms_output.put_line(to_char(sqlcode));
      7      dbms_output.put_line(sqlerrm);
      8  end;
      9  /
    -904
    ORA-00904: invalid column name这说明,ORACLE会返回错误信息,但不是很具体.如果需要非常具体的信息,恐怕只能自己写代码来判断了.
      

  6.   

    thx,我明白你的意思了,有没有更详细的资料介绍一下