oracle获取过程的错误异常代码,错误,异常栈信息
oracle获取过程的错误异常代码,错误,异常栈信息得到oracle异常行号,代码,异常栈信息Sql代码declarev_i number(10);beginselect 10 into v_i from dual where 1=3;exceptionwhen others thendbms_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;