一个存储过程中如何进行异常处理

解决方案 »

  1.   

    exception
       when others then
        null;
    end;
      

  2.   

    能帮忙写个完整点的吗?没有像java里try和catch吗?
    初学,不好意思。。
      

  3.   

    begin
    ...do something...  begin
       do something...
      exception
       when others then
        do something ....
      end;exception
       when others then
        do something ....end;
      

  4.   

    begin
      your code...
      ...
    exception
      when others then
        your exception code...
    end;