oracle导入方法,Oracle导入导出方法

导出表:

exp tables=(dept,emp) file=tab1.dmp

导出用户:

exp owner=scott file=usr1.dmp

导出数据库:

1.完全导出

exp full=y inctype=complete    file=full1.dmp

2.增量导出

exp full=y inctype=incremental file=inc1.dmp

3.累积导出

exp full=y inctype=cumulative file=cum1.dmp

imp example:

导入表:

imp file=c:\tab1.dmp tables=(dept,emp) touser=scott

导入用户:

imp file=usr1.dmp fromuser=scott touser=scott

导入数据库:

1.全库导入

imp file=full1.dmp full=y

2.增量导入

1)导入数据库最新信息

imp inctype=system full=y file=inc7.dmp

2)导入最近完全导出文件

imp inctype=restore full=y file=full1.dmp

3)导入所有累积导出文件

imp inctype=restore full=y file=cum1.dmp

4)导入最近一次增量导出的文件

imp inctype=restore full=y file=inc1.dmp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值