IMP-00013 只有 DBA 才能匯入由其他 DBA 匯出的檔案

來源:互聯網
上載者:User

--執行個體示範
---system使用者匯出
C:\Users\ZML>exp system/zml file='D:\zml.dmp' log = 'D:\zml.log' tables = (zml)

Export: Release 11.2.0.1.0 - Production on 星期一 4月 21 21:39:12 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


串連到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字元集和 AL16UTF16 NCHAR 字元集

即將匯出指定的表通過常規路徑...
. . 正在匯出表                            ZML匯出了          0 行
成功終止匯出, 沒有出現警告。

C:\Users\ZML>
------scott使用者匯入-------------------
C:\Users\ZML>imp scott/zml file='D:\zml.dmp' log = 'D:\zml1.log' full = y

Import: Release 11.2.0.1.0 - Production on 星期一 4月 21 21:57:40 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


串連到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

經由常規路徑由 EXPORT:V11.02.00 建立的匯出檔案
IMP-00013: 只有 DBA 才能匯入由其他 DBA 匯出的檔案
IMP-00000: 未成功終止匯入

C:\Users\ZML>
--------給scott使用者dba授許可權--------------------
SQL> grant dba to scott
  2  ;

授權成功。

SQL>
-------scott使用者匯入---------------
C:\Users\ZML>imp scott/zml file='D:\zml.dmp' log = 'D:\zml1.log' full = y

Import: Release 11.2.0.1.0 - Production on 星期一 4月 21 22:04:39 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


串連到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

經由常規路徑由 EXPORT:V11.02.00 建立的匯出檔案

警告: 這些對象由 SYSTEM 匯出, 而不是目前使用者

已經完成 ZHS16GBK 字元集和 AL16UTF16 NCHAR 字元集中的匯入
. 正在將 SYSTEM 的對象匯入到 SCOTT
. 正在將 SYSTEM 的對象匯入到 SCOTT
. . 正在匯入表                          "ZML"匯入了          0 行
成功終止匯入, 沒有出現警告。

C:\Users\ZML>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.