这是用户创建的对象,由于IMP的时候先后循序的问题,导致状态变为invalid,
得自己从新编译,存储过程也会这样。

解决方案 »

  1.   

    重新编译了不可以,我现在发现只写一个begin ...end,选择插入前,编译后状态也为invalid,怎么回事??????
      

  2.   

    是哪里只有begin ...end这样能编译吗?
      

  3.   

    用system导的,重新安装还不行,不能创建触发器状态为invalid,????
      

  4.   

    只有重新编译的触发器才是valid
      

  5.   

    When importing a table, the export file is read and the table and data are created
    in the following order:
    1 New tables are created. A key point is that these are technically NEW tables
    to the Oracle server. They have the same data and characteristics as the
    original tables, but in reality they are being newly created in the database.
    The reason that you cannot apply archive logs to roll forward an import is
    that there is no synchronizing information stored in either the logs or the
    export to specify when to start applying archived logs.
    2 Index structures are built. The DBA can save some time during the import
    process by setting the parameter INDEXES=N, then building the indexes
    following the Import process. This will also limit the number of rollback
    segments required to support the import.
    3 Data is automatically imported in the tables because the parameter ROWS is
    set to Y by default. Indexes are automatically populated because the
    parameter INDEXES is set to Y by default. Indexes are created along with
    the table and hence updated along with data import.
    4 Triggers are imported and integrity constraints are enabled on new tables.The order in which you import tables may be important if you do not import all the
    objects that a user owns. For, example, if the table with the foreign key has a
    referential check on the table with the primary key, and the foreign key table is
    imported first, then all rows that reference the primary key that have not been
    imported will be rejected if the constraints were enabled. For a full database export this is not a problem.
      

  6.   

    重新编译无数次了,触发器还是invalid
     llm06什么意思?english学的不好
      

  7.   

    怎们没人回答,在用户现场,急!急!急!只写一个begin  end,选择“插入前”都不行,
    有什么设置吗?