0

我想导入托管在 Windows Server 12 R2 中的 Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production,但出现此错误:

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"
4

1 回答 1

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
于 2018-01-18T07:56:48.127 回答