逻辑错误。一般一个表的触发器触发了其他事件后不能调用触发自身。
解决方案 »
- oracle text 全文检索、 Luene 全文检索, sql server 全文检索 方案选择,谢谢。
- 有个SQL表 三表联查 有点木然
- 如何优化?
- PL/SQL中测试存储过程时经常没有响应
- oracle行转列问题
- oracle客户端安装网络配置怎么都配都不行啊
- IMP-00016: 系统目前不支援所需的字元集转换 (由类型 871 转换为类型 865)
- 在oracle里,怎么设自增的列呀!---急,急!
- ★★★很弱智的问题,怎么新建一个方案?(在线,马上给分,谢谢)
- 实例已创建。DIM-00019:创建服务时出错 O/S-Error:(OS1053)服务没有及时响应启动或控制请求
- Bigger type length than Maximum
- 求sql语句,都来看看啊!在线等候
before DELETE on a
for each row
declare var_b number(15,2);
begin
delete from b where id=:old.id;
var_b:=:old.money;
if v_b is null then
v_b := 0;
end if;
v_b := v_b - :old.money_get;
if v_b<0 then
v_b := 0;
end if;
select money_get into :new.A.money from b where id = :old.id;
end;
/
看结果是否对,修改以上语法