IMP-00017:   由于   ORACLE   错误2304,以下的语句失败   
    "CREATE   TYPE   "t1"   TIMESTAMP   '2001-11-27:09:45:09'   OID   '37FF3E1194E64"   
    "7E18329A62D6BFE6F55'       AS   OBJECT   ("   
    "             n0                               NUMBER(5),"   
    "             n1                   NUMBER(10),"   
    "             n2                 NUMBER(10)"   
    "   );"   
  IMP-00003:   ORACLE   错误2304出现   
  ORA-02304:   无效的对象标识文字   
  IMP-00063:   警告:   跳过表   "u2"."nt_1",因为无法创建对象类型   "u2"."   
  t1"   或它具有不同的标识符   
  成功终止导入,但出现警告。我的錯誤大概就是這樣的2304   這段是網上找的錯誤信息。
我是再從9i繁體系統導出數據  導入到  9i簡體版系統時候出現這個錯誤的  
有什么辦法能夠解決嗎    先謝謝了 

解决方案 »

  1.   

    不知道为什么,这个“OID  '37FF3E1194E64"  
        "7E18329A62D6BFE6F55' ”
    变成两行了,我想应该是下面这样才对:CREATE  TYPE  t1  TIMESTAMP  '2001-11-27:09:45:09'  OID  '37FF3E1194E647E18329A62D6BFE6F55'      AS  OBJECT  (  
                    n0                              NUMBER(5),  
                    n1                  NUMBER(10),  
                    n2                NUMBER(10)  
          );  先建立好这个type,再导入数据试试
      

  2.   

    顶一下  先建立一个  type 
      

  3.   


    這段只是我在網上找到的和我差不多的錯誤    我的沒有分行~~   可是我的dmp文件是要一起匯入的啊   怎么先建立type呢?
    網上有說用purge  這個是什么作用呢 ?
    http://www.itpub.net/viewthread.php?tid=671257 這個論壇最后一條說的是什么意思呢?
      

  4.   

    重建你的这个TYPE试,U2对象真的不存在吧
      

  5.   


    可是 我現在只有一個dmp文件   或者 怎么單獨的創建這個type  然後 還能用這個dmp文件進行導入呢 ·      
    U2对象肯定是不存在   因為上面創建的時候就出錯了 ·~  
    我用了另一個新的dmp文檔  結果就是正確的 ·  但是因為數據比較少   我還是想用原來那個 ·~
      

  6.   

    Creating Multiple Repositories on Same Database Instance gives IMP-17 ORA-2304 
      文档 ID:  注释:113335.1 类型:  PROBLEM 
      上次修订日期:  15-JUL-2008 状态:  PUBLISHED 
    "Checked for relevance on 15-Jul-2008" Problem Description
    -------------------
    You do a repository export from an Oracle Designer Repository so that you can
    create multiple copies of the repository. When you import the .DMP file into the
    same database instance, you get errors that include:     IMP-00017: following statement failed with ORACLE error 2304:
         ORA-02304: invalid object identifier literalSolution Description
    --------------------
    To create multiple repositories on the same database, you must install the
    second and subsequent repositories using the Install option from the RAU. To
    load the same data into the second repository you must then export the work 
    areas and applications from the original repository and import then to the new 
    repository using the Utilities -> Export/Import utilities in the RON.Solution Explanation
    --------------------
    It is possible to create multiple versioned or non-versioned repositories on 
    the same database instance, by using a different Oracle User for each 
    repository.Designer uses object types. Object type IDs (OIDs) must be unique within the
    database instance. Exporting a repository exports the required object types
    along with their IDs. When the repository export is then imported to the same
    database instance, IMP-17 and ORA-2304 errors occur when Designer tries to
    recreate the same object types.References
    ----------
    Oracle Designer RAU Online Help: Trouble Shooting During Day to Day Operations
                                        -> Problems with importing LOB data and 
                                           object type data
    Note 113331.1  Checking for External References in Designer 6i before 
                     exporting applications
    Note 113332.1  Moving Applications/Work Areas From Non-Versioned Repositories
    Note 113365.1  Moving Applications/Work Areas From Versioned Repositories
    Note 1066139.6 IMP-17 IMP-3 ORA-2304 IMP-63 FromUser/ToUser import of 
                     table with object column