[英]Value for EXCLUDE is badly formed Importing Oracle Database 12c Enterprise Edition Release 12.1.0.1.0
I want to import a Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
我想导入
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
using the command :使用命令:
impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:"IN ('IMMBO')"
But I got this error:但我收到了这个错误:
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
Exclude Arguments with Data Pump in Command Mode Require Quotations to be Escaped在命令模式下使用数据泵排除参数需要转义引号
The invocation you are using looks reasonable.您正在使用的调用看起来很合理。
Here it is:这是:
impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:"IN ('IMMBO')"
Per My Oracle Support document, How To Resolve The Error ORA-39071 Value For EXCLUDE Is Badly Formed (Doc ID 734324.1) , you need to *escape the quotations like this:根据 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\')\"
*: Escaping quotation marks is required with a Linux operating system. *:Linux 操作系统需要转义引号。 This does not apply to Windows operating systems.
这不适用于 Windows 操作系统。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.