您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Imp导入与exp导出

2025/10/28 21:39:23发布18次查看
按方案导入(须加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
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product