工具:exp,imp

功能:在ORACLE数据库(不同硬件平台,不同OS,不同ORACLE版本)间导入导出数据库对象

用途:逻辑备份,数据库升级

导出文件格式:二进制

创建脚本:$ORACLE_HOME/rdbms/admin/catexp.sql

执行脚本创建、修复exp和imp工具:

下载: tt.sql
  1. [oracle@hollycrm oracle]$ sqlplus "/ as sysdba"
  2.  
  3. SQL*Plus: Release 9.2.0.4.0 - Production on Sat Sep 29 17:59:53 2007
  4.  
  5. Copyright (c) 1982, 2002, Oracle CorporationAll rights reserved.
  6.  
  7. Connected to:
  8. Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
  9. With the Partitioning, OLAP and Oracle Data Mining options
  10. JServer Release 9.2.0.4.0 - Production
  11.  
  12. SQL> @$ORACLE_HOME/rdbms/admin/catexp.sql
  13. CREATE ROLE exp_full_database
  14. *
  15. ERROR at line 1:
  16. ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role
  17. name
  18.  
  19. Grant succeeded.
  20.  
  21. Grant succeeded.        ……
Creative Commons 授权
此文, 除非有特别申明, 的授权协议是 Creative Commons Attribution-Noncommercial 2.5 China Mainland 网站授权.