我想导入托管在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"
答案 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