Oracle之导入导出
来源:互联网 发布:seo英语编辑 编辑:程序博客网 时间:2024/06/16 22:45
模式介绍:
1.数据库模式:导入和导出整个数据库中的所有对象。
2.表空间模式:导入和导出一个或者多个指定的表空间中的所有对象。
3.用户模式:导入和导出一个用户模式中的所有对象。
4.表模式:导入和导出一个或者多个表或表分区。
注意:4中模式不能兼容,只能使用其中一种模式。
eg:exp system/123@orcl owner=scott tables=student file=c:\1.dmp log=c:\2.log
owner=scott tables=student 发生冲突
cmd - help exp=y
导出表:
exp scott/123456@orcl tables=(emp,dept) file=c:\1.dmp log = c:\2.log(导出信息的日志文件)
导出scott用户的所有:
exp scott/123456@orcl owner=scott file=c:\1.dmp log = c:\2.log(导出信息的日志文件)
导入表:
imp scott/123@orcl tables=(student,emp) file=c:\1.dmp
imp scott/123@orcl file=c:\1.dmp
imp scott/123@orcl tables = student file=c:\1.dmp
导入别人的表:
exp scott/scott@orcl tables=(emp,dept) file=c:\1.dmp log = c:\2.log
imp scott/scott@orclfile=c:\1.dmp frouser=scott touser= user1;不可以
imp user1/user1@orcl file=c:\1.dmp frouser=scott touser= user1; 可以
imp system/system@orcl file=c:\1.dmp frouser=scott touser= user1; 可以
利用交互提示符:
cmd
set orcl_sid=orcl
exp
回车
继续即可。
- Oracle之导入导出
- Oracle备份之导入导出
- oracle小记之导入导出数据库脚本
- Oracle 之 导入导出dmp文件
- oracle数据导入导出之exp imp
- oracle 数据导入导出 之expdp impdp
- 导出导入oracle数据库
- Oracle导入导出方法
- oracle导入导出
- Oracle--导入导出数据管理
- Oracle数据导入导出
- Oracle导入导出详解
- oracle导入导出问题
- oracle导入导出命令
- Oracle数据库导入导出
- oracle 导入/导出
- oracle导入导出命令
- Oracle数据导入导出
- 一步一步学MySQL---18 MySQL常用函数(4)
- Java中自定义异常
- 关于blender导出urho3d场景的问题
- mysql中文乱码总结
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name
- Oracle之导入导出
- CxGrid 修改去除 no data to display 的两个方法
- Android中将图片从相册取出且获取到图片在手机中的地址
- java集合(3):LinkedList源码分析
- Java基础
- python3实战scrapy获取数据保存至MySQL数据库
- Linux_ActiveMQ_Zookeeper 安装笔记
- ADAS(1) 概述整理及自动驾驶实例
- 百度Ueditor在线编辑器的配置和图片上传