Sign-up....

导入导出命令??在线等!!!急!!!!!!

怎样把oracle中一个schema下的所有内容从一台机器上的数据库导到另外一台机器上的数据库,最好有命令??

[57 byte] By [msdn] at [2007-8-14 15:30:51]
# 1 Re: 导入导出命令??在线等!!!急!!!!!!

exp help=y 参数自己看看就明白了

imp help=y

llm06 at 2005-3-3 11:20:44 >
# 2 Re: 导入导出命令??在线等!!!急!!!!!!

有人愿意帮帮小女子吗??

eeeeeeeely at 2005-3-3 11:20:45 >
# 3 Re: 导入导出命令??在线等!!!急!!!!!!

能再写的详细一点吗??

eeeeeeeely at 2005-3-3 11:22:03 >
# 4 Re: 导入导出命令??在线等!!!急!!!!!!

在cmd下面输入上面一颗星大下写的就可以看到帮助了

denty at 2005-3-3 11:34:57 >
# 5 Re: 导入导出命令??在线等!!!急!!!!!!

小女子?我愿意

netcreator at 2005-3-3 11:36:09 >
# 6 Re: 导入导出命令??在线等!!!急!!!!!!

exp userid=your_user_name/your_pwd owner=your_want_exp_user_name rows=y file=c:\exp_data.dmp log=c:\exp.log

imp userid=your_user_name/your_pwd file=c:\exp_data.dmp fromuser=your_want_exp_user_name touser=your_want_imp_user_name rows=y log=c:\imp.log ignore=y

ashzs at 2005-3-3 11:44:14 >
# 7 Re: 导入导出命令??在线等!!!急!!!!!!

在cmd下:

exp user/pass@ sid file=path\schema.dmp log=path\expschema.log owner=schema full=y

imp user/pass@ othersid file=path\schema.dmp log=path\impschema.log

但要事先在另一台机器上建schema这个用户

sos_help at 2005-3-3 11:49:10 >
# 8 Re: 导入导出命令??在线等!!!急!!!!!!

rows=y 代表什么意思??

eeeeeeeely at 2005-3-3 11:58:14 >
# 9 Re: 导入导出命令??在线等!!!急!!!!!!

将表内数据一起导入(导出)。

ashzs at 2005-3-3 12:22:22 >
# 10 Re: 导入导出命令??在线等!!!急!!!!!!

使用PL/SQL阿,很方便的

bjbluecoffee at 2005-3-3 12:33:44 >
# 11 Re: 导入导出命令??在线等!!!急!!!!!!

fromuser和touser有什么区别啊??

eeeeeeeely at 2005-3-3 13:23:42 >
# 12 Re: 导入导出命令??在线等!!!急!!!!!!

fromuser 是你的dmp文件中的用户(在这里即你导出的用户)。

touser 是你想把你的数据导到新库中的用户。

你可以用exp help=y来看这些参数的注释。

ashzs at 2005-3-3 13:44:52 >

Oracle

All Classified