我几个月前的oracle备份的文件,
exp文件的用户名和密码丢失了,不知道怎么恢复啊,请高手帮忙!
恢复是oracle报IMP——00034的错误!
请高手帮忙啊

解决方案 »

  1.   

    可能是語法有誤,給你個參考(有用給分哦):
    -- 1.將 xxx.dmp 文件中的內容全部導入 
    imp exam/maxe@lyjdb file = e:\exam.dmp full = y ignore=y-- 2.將 xxx.dmp 文件中的某些表導入
    imp exam/maxe@lyjdb file = e:\exam.dmp tables = (p_employee,p_extra,p_syscode) ignore=y-- 3.將一個數據的某用戶的所有表導入導另一個數據庫的某用戶中
    imp userid=system/manager fromuser=username1 touser=username2 ignore=y file=expfile.dmp 
      

  2.   

    IMP-00034 Warning: FromUser "string" not found in export fileCause: The user specified a FROMUSER name that does not exist in export file.Action: Correct the FROMUSER specification.
    正确操作应该是:
    imp 用户/密码  fromuser=''   touser=''   file =''  ignore=y
      

  3.   

    只要有imp文件就可以。。你要有对于imp的权限。。一般设置为dba权限就可以。。