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

2025年03月22日 19:05
有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;