Imp导入与exp导出
按方案导入(须加log文件): C:\Users\Administratorexp scott/scott@orcl11g file='d:/temp/1.dmp' log='d:/temp/log.log' 导出注意事项:导出的是当前用户的的数据,当前用户如果有DBA的权限,则导出所有数据!所以 full=y要确定应用环境 C:\Users\Administr
按方案导入(须加log文件):
C:\Users\Administrator>exp scott/scott@orcl11g file='d:/temp/1.dmp' log='d:/temp/log.log'
导出注意事项:导出的是当前用户的的数据,当前用户如果有DBA的权限,则导出所有数据!所以 full=y要确定应用环境
C:\Users\Administrator>exp scott/scott@orcl11g file='d:/temp/1.dmp' log='d:/temp/log.log' full=y
导出特定表
C:\Users\Administrator>exp scott/scott@orcl11g file='d:/temp/1.dmp' log='d:/temp/log.log' tables=scott.dept
将数据库中system用户与sys用户的表导出
exp scott/scott@orcl11g file=d:\daochu.dmp owner=(system,sys)
将数据库中的表emp中的字段empno以"79"打头的数据导出
exp scott/scott@orcl11g file=d:\scott.dmp tables=(emp) query=\" where empno like '79%'\"
不同名之间的数据导入:(按方案导入导出)
C:\Users\Administrator>imp scott2/scott2@orcl11g file='d:/temp/1.dmp' log='d:/temp./1.log' fromuser=scott touser=scott2
同名之间数据导入
C:\Users\Administrator>imp scott2/scott2@orcl11g file='d:/temp/1.dmp' log='d:/temp./1.log'
imp hkb/hkb@xe file=c:\orabackup\hkbfull.dmp log=c:\orabackup\hkbimp.log full=y
上一篇: PHP JSON数据处理实例程序用法
下一篇: 回帖脱衣服的图片实现_PHP教程
推荐阅读
-
Imp导入与exp导出
-
monogdb之数据备份恢复与数据的导入导出
-
sqlserver bcp(数据导入导出工具)一般用法与命令详解
-
Oracle 11g数据库之数据导入导出与事物
-
SQL Server大表数据的导出与导入命令BCP 博客分类: Oracle&MSSQL sql server
-
MySQL导入导出方法与工具_MySQL
-
轻松实现SQL Server与Access、Excel数据表间的导入导出 【转载
-
hibernate与mysql映射类型对应表与mysql导入导出
-
oracle导入DMP文件时IMP-00013:只有DBA才能导入由其他DBA导出的文件IMP-00000:未成功终止导入
-
Oracle数据导入导出imp/exp命令 10g以上expdp/impdp命令