我从Oracle8.1.7数据库中导出了一个用户,要导入另外一个电脑里,这个电脑是用Oracle9i做的客户端,服务器在第三台电脑上,是Oracle8.1.7数据库服务器!我用imp命令输入用户 用户密码@数据库名导入用户时出现错误如下:
imp-00003:遇到oracle错误942
ora-00942:table or view does not exist
imp-00023:未安装导入视图
请通知DBA,imp-00000:未成功终止导入这到底是什么原因,请大家帮忙想想办法:
是不是用Oracle9i客户端不能导入Oracle8.1.7数据库导出的用户进Oracle8.1.7数据库服务器?

解决方案 »

  1.   

    exp和imp的客户端的版本需要一样同时导入的时候加上constraints=n
      

  2.   

    please refer to:
    http://blog.chinaunix.net/u/24923/showart_189674.html
    源数据库 目标数据库 exp版本 exp成功? imp版本 imp成功?
    8.1.7.0 9.2.0.1  8.1.7.0 成功 8.1.7.0 成功
    8.1.7.0 9.2.0.1  8.1.7.0 成功 9.2.0.1 成功
    8.1.7.0 9.2.0.1  9.2.0.1 失败 (ORA-00942)9.2.0.1 8.1.7.0  8.1.7.0 成功 8.1.7.0 成功
    9.2.0.1 8.1.7.0  8.1.7.0 成功 9.2.0.1 失败(ORA-00942、IMP-00023)
    9.2.0.1 8.1.7.0  9.2.0.1 成功 8.1.7.0 失败(IMP-00010)
    9.2.0.1 8.1.7.0  9.2.0.1 成功 9.2.0.1 失败(ORA-00942、IMP-00023)8.1.7.0 8.1.7.0  8.1.7.0 成功 8.1.7.0 成功
    8.1.7.0 8.1.7.0  8.1.7.0 成功 9.2.0.1 失败(ORA-00942、IMP-00023)Whenever you are moving data between different releases of the Oracle database server, the following basic rules apply:    * The Import utility and the database to which data is being imported (the target database) must be the same version. 楼主不满足这个条件。
        * The version of the Export utility must be equal to the lowest version of the source or target database.
    楼主不满足导入导出规则,高手也测试过,不成功的。。
      

  3.   

    有可能是你exp出dmp文件的这个用户引用了其他用户的某个table or view 或者是引用了同义词等,而在你imp的实例上没有同样的定义,具体是什么应该你最清楚了,查下这个用户下的所有对象看看吧。