zoukankan      html  css  js  c++  java
  • 使用imp命令将a1用户的dmp数据,导入到a2用户下

    1、以dba身份登录oracle,授权a2用户imp_full_database权限

    SQL> grant imp_full_database to a2;
    
    Grant succeeded.

    2、执行导入操作命令

    imp a2/a3@DB200 file=a1.dmp log=a2.log full=y 

    E:\expimp>imp a2/a3@DB200 file=a1.dmp log=a2.log full=y
    
    Import: Release 11.2.0.1.0 - Production on Fri Mar 22 17:13:27 2013
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export
    file created by EXPORT:V11.02.00 via conventional path
    Warning: the objects were exported
    by A1, not by you
    import done
    in AL32UTF8 character set and AL16UTF16 NCHAR character set
    . importing A1's objects into A2
    . . importing table "A1T1" 1 rows imported
    Import terminated successfully without warnings.

    3、以a2用户分身登录,查看导入数据情况

    E:\expimp>sqlplus a2/a3@DB200
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Mar 22 17:13:41 2013
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select * from a1t1;
    
            ID NAME
    ---------- --------------------
             0 arcerzhang_a1
  • 相关阅读:
    取消chrome(谷歌浏览器)浏览器下最小字体限制
    函数声明方式及作为值的函数
    常用的正则表达式
    8腾讯云服务器账号密码
    errno -4058 and npm WARN enoent ENOENT 解决方案
    node gyp的问题
    npm 版本问题
    无缘无故出现npm 解析异常的的问题 解决方案
    idea注册码
    以太坊测试网络 账号密码
  • 原文地址:https://www.cnblogs.com/arcer/p/2976045.html
Copyright © 2011-2022 走看看