如题。。
  我想把别人数据库的abc用户全部导出。然后导入到我的数据库,这样就可以单机跑他的程序了。我的数据库现在没有abc这个用户。怎么建立呢?我记得好像用plsql建立的用户是导不进去的啊。
oracle 10g

解决方案 »

  1.   


    imp user/pass file=test.dmp log=test2.log  fromuser=abc touser=目标用户 ignore=y
      

  2.   


    imp user/pass file=文件 log=日志.log fromuser=abc touser=目标用户 ignore=y
      

  3.   


    --or在你的机子上建立对应的用户和表空间 grant conect,resource to abcimp user/pass file=文件.dmp log=test2.log  full=y ignore=y
      

  4.   

    在命令行你敲imp回车按照提示操作就行了。。Microsoft Windows XP [版本 5.1.2600]
    (C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\Administrator>impImport: Release 11.2.0.1.0 - Production on 星期一 11月 29 21:41:22 2010Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserv用户名: