ORA-04098: trigger 'SYSTEM.POLICYPATHTABLE_TRG' is invalid and failed re-validat

Ak混子 2009-12-25 03:40:34
CREATE OR REPLACE TRIGGER system.policypathtable_trg
BEFORE insert
ON policypathtable
FOR EACH ROW
DECLARE
-- local variables here
BEGIN
delete table policypathtable;
END;


异常是:ORA-04098: trigger 'SYSTEM.POLICYPATHTABLE_TRG' is invalid and failed re-validation
为什么?
...全文
409 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Ak混子 2009-12-28
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 crazylaa 的回复:]
  delete table policypathtable; ?
drop table ***
[/Quote]
不可以哦!不能这样写.语法错误.不能调用DDl语句.
Dave 2009-12-25
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 crazylaa 的回复:]
  delete table policypathtable; ?
drop table ***
[/Quote]

修改下试试...




------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
网上资源: http://tianlesoftware.download.csdn.net
相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
Q Q 群:62697716
crazylaa 2009-12-25
  • 打赏
  • 举报
回复
delete table policypathtable; ?
drop table ***
Ak混子 2009-12-25
  • 打赏
  • 举报
回复
CREATE OR REPLACE TRIGGER policypathtable_trg
BEFORE insert
ON policypathtable
FOR EACH ROW
DECLARE
-- local variables here
BEGIN
delete table policypathtable;
END;


异常是:ORA-04098: trigger 'SYSTEM.POLICYPATHTABLE_TRG' is invalid and failed re-validation
为什么?

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧