1.想使用usera導出userb用戶下的表tabb,起初使用如下命令:
exp usera/passa@db owner=userb tables=(tabb) file=c:\test.dmp
Export: Release 9.2.0.1.0 - Production on 星期五 11月 9 17:48:32 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
EXP-00026: 指定了沖突模式
EXP-00000: 導出終止失敗
2.這里感覺只指定了三個參數,應該是owner和tables參數有沖突,對exp命令進行修改:
exp usera/passa@db tables=(userb.tabb) file=c:\test.dmp
Export: Release 9.2.0.1.0 - Production on 星期五 11月 9 17:52:20 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
已導出 ZHS16GBK 字符集和 UTF8 NCHAR 字符集
服務器使用 UTF8 字符集 (可能的字符集轉換)
即將導出指定的表通過常規路徑 ...
當前的用戶已更改為 userb
. . 正在導出表 tabb 6 行被導出
EXP-00091: 正在導出可疑的統計信息。
EXP-00091: 正在導出可疑的統計信息。
EXP-00091: 正在導出可疑的統計信息。
導出成功終止,但出現警告。
3.使用如下命令可以到處userb:
exp usera/passa@db owner=userb file=c:\test.dmp