中文版的Spring核心技术文档。 Spring Framework 开发参考手册 Rod Johnson Juergen Hoeller Alef Arendsen Colin Sampaleanu Rob Harrop Thomas Risberg Darren Davison Dmitriy Kopylenko Mark Pollack Thierry Templier Erwin Vervaet Portia Tung Ben Hale Adrian Colyer John Lewis
1.弹出错误框:
示例代码:
declare
v_count number;
begin
select count(*) into v_count from dept;
if v_count < 10 then
raise_application_error(-20001,'数量小于10');
end if;
end;
执行结果:
2.控制台显示:
示例代码:
declare
v_count number;
my_exp exception;
begin
select cou