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
 为什么?

解决方案 »

  1.   

    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 
    为什么?
      

  2.   

      delete table policypathtable; ?
    drop table ***
      

  3.   


    修改下试试...
    ------------------------------------------------------------------------------ 
    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 
      

  4.   

     不可以哦!不能这样写.语法错误.不能调用DDl语句.