- 源数据库:
- Linux 64 Bit
- Oracle 11.2.0.1.0 64Bit
- 字符集 UTF-8
- 目标数据库:
- win7 64 Bit
- Oracle 11.2.0.1.0 64Bit
- 字符集 UTF-8
使用expdp成功从源数据库导出一个schema的dump文件,经详细检查过程中没有任何错误;将文件下载到目标操作系统上用impdp导入时总是提示那三个错误,两个数据库的版本和字符集都是一样的,version的参数值无论是用compatible还是latest都报同样的错误,纠缠了很久实在找不到原因,最后删除逗号问题解决,逗号在linux环境下是没有问题的,但在windows环境下使用dos命令就有问题了,而且提示的错误信息容易误解,真是要命的逗号。
- C:\>impdp user/pwd@ORCL schemas=schema1 directory=dir1 dumpfile=schema1.dmp LOGFILE= schema1 .log content=all version=compatible;
- Import: Release 11.2.0.1.0 - Production on Fri Jun 8 15:28:49 2012
- Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
- Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
- With the Partitioning, OLAP, Data Mining and Real Application Testing options
- ORA-39001: invalid argument value
- ORA-39023: Version COMPATIBLE; is not supported.
- ORA-06502: PL/SQL: numeric or value error: character to number conversion error
本文转自sarchitect 51CTO博客,原文链接:http://blog.51cto.com/stevex/892745
,如需转载请自行联系原作者