得到oracle异常行号,代码,异常栈信息
declare v_i number(10); begin select 10 into v_i from dual where 1=3; exception when others then dbms_output.put_line(dbms_utility.format_error_stack); dbms_output.put_line(dbms_utility.format_error_backtrace); dbms_output.put_line(sqlcode); dbms_output.put_line(sqlerrm); end;
?
?