Sep 29
ORACLE exp/imp by example
oracle No Comments »工具:exp,imp
功能:在ORACLE数据库(不同硬件平台,不同OS,不同ORACLE版本)间导入导出数据库对象
用途:逻辑备份,数据库升级
导出文件格式:二进制
创建脚本:$ORACLE_HOME/rdbms/admin/catexp.sql
执行脚本创建、修复exp和imp工具:
下载: tt.sql
- [oracle@hollycrm oracle]$ sqlplus "/ as sysdba"
- SQL*Plus: Release 9.2.0.4.0 - Production on Sat Sep 29 17:59:53 2007
- Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
- Connected to:
- Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
- With the Partitioning, OLAP and Oracle Data Mining options
- JServer Release 9.2.0.4.0 - Production
- SQL> @$ORACLE_HOME/rdbms/admin/catexp.sql
- CREATE ROLE exp_full_database
- *
- ERROR at line 1:
- ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role
- name
- Grant succeeded.
- Grant succeeded. ……