[oracle@localhost ~]$ exp sys/abcdefg as sysdba full=y file=/tmp/full100.dmp
g5m0LRM-00108: invalid positional parameter value 'as'
EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
EXP-00000: Export terminated unsuccessfully
[oracle@localhost ~]$ exp \"sys/abcdefg as sysdba\" full=y file=/tmp/full100.dmp
Export: Release 10.2.0.1.0 - Production on Tue Jul 8 09:27:56 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
反斜杠加单引号也行
[oracle@localhost ~]$ exp \'sys/abcdefg as sysdba\' full=y file=/tmp/full100.dmp
Export: Release 10.2.0.1.0 - Production on Tue Jul 8 09:28:54 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
本文记录了在使用Oracle数据库进行全库导出时遇到的参数错误问题,并给出了正确的命令行输入方式。通过对比错误与正确命令的区别,帮助读者理解如何避免类似的参数设置错误。
2061

被折叠的 条评论
为什么被折叠?



