LRM-00111导入Oracle 12 DB时出错

时间:2018-01-18 07:44:45

标签: oracle oracle12c datapump impdp

我想导入托管在Windows Server 12 R2中的Oracle Database 12c企业版12.1.0.1.0版 - 64位生产版,但我收到此错误:

LRM-00111: no closing quote for value ' schemas=O' 

所有这些命令

impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\" schemas=SOLVIA

impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\" "schemas=SOLVIA"

impdp SOLVIA/SOLVIA900@IMMBO DIRECTORY=DB_EXP DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:\"IN (\'IMMBO\')\" schemas="SOLVIA"

1 个答案:

答案 0 :(得分:1)

我建议您使用参数文件;这样做,你可以避免使用转义字符。例如,我们称之为PARAMS.PAR

directory=db_exp 
dumpfile=week_exp_immbo.dmp 
logfile=week_exp_immbo.log 
reuse_datafiles=yes 
exclude=tablespace: "IN ('IMMBO')"
schemas=solvia

然后,使用

导入数据
impdp solvia/solvia900@immbo parfile=params.par