请教高手:在oracle程序中如何获取exception的错误信息,如:
procedure test is
v_err varchar2(4000);
begin
....
exception
when others then
--在这里我想获取这个异常的信息怎么办,如java的ex.tostring();
v_err = others.errors;
insert log...
end;
procedure test is
v_err varchar2(4000);
begin
....
exception
when others then
--在这里我想获取这个异常的信息怎么办,如java的ex.tostring();
v_err = others.errors;
insert log...
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货