日期:2014-05-17  浏览次数:20757 次

Oracle获取发生异常的行以及执行了什么语句发生异常
Oracle获取发生异常的行以及执行了什么语句发生异常

在线等,求解

------解决方案--------------------
exception
when others then
dbms_output.put_line(sqlcode);
dbms_output.put_line(substr(sqlerrm, 1, 200));
END;