使用imp命令将a1用户的dmp数据,导入到a2用户下
2013-03-22 17:36
211 查看
1、以dba身份登录oracle,授权a2用户imp_full_database权限
2、执行导入操作命令
imp a2/a3@DB200 file=a1.dmp log=a2.log full=y
3、以a2用户分身登录,查看导入数据情况
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
相关文章推荐
- oracle imp命令,将数据从一个用户导出的dmp数据,导入到另外一个用户下面。
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- Oracle使用imp命令导入.dmp文件遇到的几个问题
- Oracle sqldevelop的使用(数据即.dmp文件的导入,用户创建,创建连接)
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- Oracle使用imp/exop远程导入导出dmp数据
- Oracle数据导入导出(imp/exp)命令的使用
- [转]使用Oracle 的 imp ,exp 命令实现数据的导入导出
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- Oracle使用imp命令导入数据
- Windows中Oracle使用Doc命令完成数据的导出(EXP)/导入(IMP)
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- 使用expdp导出A用户的数据后使用impdpd导入到B用户中
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- Oracle数据导入导出imp/exp命令使用
- Oracle使用imp导入dmp数据提示:只有DBA才能导入有其他DBA导入的文件
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出(转)
- 使用Oracle 的 imp ,exp 命令实现数据的导入导出