用导出与导入吧
导出
exp userid = ehtemp/ehtemp@localdev LOG=exp_dev_ehtemp.log
compress=n
buffer=10000000
file=G:\exp\localdev\exp_dev_ehtemp.DMP
grants=Y
indexes=Y
rows=Y
constraints=Y
owner=ehtemp;
导入
imp userid = ehtemp/ehtemp@dev
LOG=imp_dev_ehtemp.log
buffer=10000000
file=G:\exp\localdev\exp_dev_ehtemp.DMP
grants=Y
indexes=Y
rows=Y
Commit=Y
Ignore=N
constraints=Y;
导出
exp userid = ehtemp/ehtemp@localdev LOG=exp_dev_ehtemp.log
compress=n
buffer=10000000
file=G:\exp\localdev\exp_dev_ehtemp.DMP
grants=Y
indexes=Y
rows=Y
constraints=Y
owner=ehtemp;
导入
imp userid = ehtemp/ehtemp@dev
LOG=imp_dev_ehtemp.log
buffer=10000000
file=G:\exp\localdev\exp_dev_ehtemp.DMP
grants=Y
indexes=Y
rows=Y
Commit=Y
Ignore=N
constraints=Y;
解决方案 »
- 求助!Oracle中读取二进制字段里的数据乱码,其他类型字段有中文却不会
- 如何在存储过程中调用exp\imp或expdp\impdp?
- 在redhat4.6 64位系统上安装oracle10g报错,请各位帮忙看看
- oracle往一张有130+万记录的表增加一个字段时遇到的问题
- 请问哪里可以下载到windows版的oracle8.1.7?
- 文件重写——急需答案
- 我有9G的数据库要迁移的别人的oracle上,如何迁移
- 高手执教,关于3NF??????
- 简单问题!(解决马上给分)
- oracle在配置Data Guard时,复制数据库时报ORA-12541: TNS: 无监听程序错误,求大神指点迷津
- 在WinXP上安装Oracle8i,根本没反应,为什么呀?
- SQL Server的@@Identity在Oracle中怎么改写?
两个数据库的目录结构要一样啊。
或者把整个目录搬过去,注册表也导过去。前提是两个数据库放置的位置完全相同