declare
v_i number := 1;
v_j number := 2;
begin
--begin块中可以再嵌套Begin,类似try/catch中再try/catch的原理。
begin
dbms_output.put_line('Begin嵌套块中的内容');
if v_j = v_j then
dbms_output.put_line('相等');
end if;
exception
when others then
null;
end;
end;
03_Begin块
最新推荐文章于 2023-03-21 08:56:48 发布