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