1.
if b<>0 and a/b>0 then
end if;2. select decode(b,0,0,a/b) into c from dual;
if c > 0 then
end if;
if b<>0 and a/b>0 then
end if;2. select decode(b,0,0,a/b) into c from dual;
if c > 0 then
end if;
解决方案 »
- ogg奇怪的问题 goldengate同步无反应,不成功,ggserr.log也没有报错日志,进程不abended
- PL/SQL优化问题,急.
- oracle无法打开的问题 ORA-01033
- oracle ORA-01555 出错 求指点
- 请教关于ORACLE触发器的问题
- 使用Case语句如何得到下面的结果
- 一个简单的sql语句 求助!!
- this question is very lower, I need you help! Thanks!!数据库启动问题
- 如何在PL-sql里面实现全外联?
- Oracle8i,9i有没有UNIX和必NT版本之分
- delphi中调用过程如何开始客户数据库事务处理?急急急!
- 简单问题:pl/sql中操作文本
。
。
c := a/b;
。
。
。exception
when others then
begin
c := 0;
end;
比较难于确定a,b
最好有类似nvl(a,0)之类的
hepp,你的那种情况,不能返回往下执行哦,可以根据errcode判断,但无法继续往下执行!
而且客户要求类似decode(b,0,0,b/a)这种结果。