菜鸟提问更新的问题? update A set c=nvl(a-b,c),d=decode(b,0,d,nvl(a/b,d)); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update (select a,b,c,d, case when c is not null and d is not null and c<>0 and d<>0 then a-belse nullend e, case when c is not null and d is not null and c<>0 and d<>0 then a/belse null end ffrom t) t set c=e,d=f d number(10) 两位小数。应该为 d number(10,2) oracle查询问题 求一道SQL题 (要效率) 触发器 oracle 查询条件的截取 请教高手关于Oracle9i中手工指定索引无法生效的问题 我问个比较低级的问题! 如何在sql plus 里追加一条记录的语句,急! 8i单机版数据如何导出? 执行SQL语句! 通过sql developer将sql server数据库迁移到Oracle失效 有没有方法不指定用户名阿?? 将多个表a1,a2...(结构一样)的某些字段的数据导到一个表b(b的结构包含a需要导的字段,另外多出字段a没有的)里面
when c is not null and d is not null and c<>0 and d<>0 then a-b
else null
end e,
case
when c is not null and d is not null and c<>0 and d<>0 then a/b
else null
end f
from t) t set c=e,d=f
应该为 d number(10,2)