Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将 ORACLE 9 DMP 文件导入新安装的 Oracle 11g。我正在使用 imp 实用程序并使用 SYSMAN 作为登录名。我到了还原点,并被告知“只有 DBA 可以导入另一个 DBA 导出的文件”。当我尝试使用 SYSDBA 时,空白密码不起作用。当我使用 SQLPLUS / 作为 SYSDBA 然后尝试分配一个新密码时,我被告知 SYSDBA 不存在。如果我尝试以 SYS 身份登录,则会被告知以 SYSDBA 身份登录。
尝试使用以下语法impas sysdba:
imp
sysdba
imp \'sys/sys as sysdba\' file=/oracle/implog.dmp log=imp.log full=y
我使用了以下语法:
imp userid='sys/password@host as sysdba' log=C:\dmp.log file=C:\dmp.dmp fromuser=userfrom touser=userto buffer=30720