当前位置: 代码迷 >> SQL >> 定位SQL报错位置
  详细解决方案

定位SQL报错位置

热度:99   发布时间:2016-05-05 11:10:59.0
定位SQL出错位置

begin
select
*
from emp as t1 , dept t2
where t1.COMM is not null
?exception
?when others do
?? RAISE_APPLICATION_ERROR(-20601,'过程出错,出错记录'||相关的记录信息||Sqlerrm);
end ;

  相关解决方案