oracle中存储过程可以使用else吗?

2025-03-22 19:05:11
推荐回答(4个)
回答(1):

存储过程好像没有限制不能使用else,只要满足PL/SQL语法就好了。

回答(2):

可以

回答(3):

if xxx then
...
elsif xxx then
...
else
...
end if;

回答(4):

declare
begin
if 1=1 then
null;
else
null;
end if;
end;