我正在使用Oracle 11,並且在兩個數據庫之間移動表時遇到問題。我已經成功地出口了datadumb如下:無法導出和導入Oracle表
expdp.exe www/[email protected] tables=TABLE1,TABLE2,TABLE3 directory=dmpdir dumpfile=tables.dmp
當我嘗試:
impdp.exe www2/[email protected] tables=TABLE1,TABLE2,TABLE3 directory=dmpdir dumpfile=tables.dmp
結果我得到了以下異常:
ORA-39002: invalid operation
ORA-39166: Object WWW2.TABLE1 was not found.
ORA-39166: Object WWW2.TABLE2 was not found.
ORA-39166: Object WWW2.TABLE3 was not found.
如果我嘗試:
impdp.exe www2/[email protected] remap_tables=WWW2:TABLE1,TABLE2,TABLE3 directory=dmpdir dumpfile=tables.dmp
我得到:
LRM-00101: unknown parameter name 'remap_tables'
在我的情況下,我不能使用數據庫鏈接。如何在導入和導出表格時更改模式?我有不知何故誤解了甲骨文?
如果我想重新映射模式並只想導入一些表格,該怎麼辦? – Bogie