[英]Kill session in AWS Oracle Database 12c Enterprise Edition Release
[英]Value for EXCLUDE is badly formed Importing Oracle Database 12c Enterprise Edition Release 12.1.0.1.0
我想導入Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
使用命令:
impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:"IN ('IMMBO')"
但我收到了這個錯誤:
Connected to: Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
ORA-39001: invalid argument value
ORA-39071: Value for EXCLUDE is badly formed.
ORA-00936: missing expression
在命令模式下使用數據泵排除參數需要轉義引號
您正在使用的調用看起來很合理。
這是:
impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:"IN ('IMMBO')"
根據 My Oracle Support 文檔, 如何解決 EXCLUDE 的錯誤 ORA-39071 值格式錯誤(文檔 ID 734324.1) ,您需要像這樣*轉義引號:
impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\"
*:Linux 操作系統需要轉義引號。 這不適用於 Windows 操作系統。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.