存储过程的IF问题 我想问下,oracle的存储过程中,能否在IF条件中,多写几个条件?类似JAVA那样 if(a==2 || a==2....)这样。因为我有一个存储过程要写IF,可以有很多个如果,但是就执行2种结果。我不想写很多if then elsif这样。请问可以吗?谢了~~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 of course.If a=1 or a=2 thenelsif elseend if; 可以这么写if (a<>1 or b<> 2 or c<> 3) and n>0 then elsif n>0 thenelseend if; if (a<>1 or b<> 2 or c<> 3) and n>0 then elsif n>0 thenelseend if; if a=2 or b=3 ... thenend if; 可以这样写吗?IF a=b or d=e THEN .......ELSIF c=g or f=k THEN .......END IF这样写可以吗? PL/SQL执行简单SQL非常慢,求助! 求助!!!Oracle与C中数据类型对应关系? 关于控制文件 关于dmp文件的导入问题 在线急等``` 求助达人,redhat 9 下oracle91,如何创建数据库实例(50分 oracle分页问题~~急~~~~~~~ ※※※※高分求存储过程※※※※UP有分,解决另开帖加100分 oracle数据库将记录更新为null的问题,谢谢了帮忙看看! 求select语句最后加一行合计 flash_recovery_area空间不足 求教 oracle10g 创建资料档案库时出错 解决办法
if (a<>1 or b<> 2 or c<> 3) and n>0 then
elsif n>0
then
else
end if;
elsif n>0
then
else
end if;
end if;
.......
ELSIF c=g or f=k THEN
.......
END IF这样写可以吗?