您的位置:首页 > 数据库 > Oracle

oracle - 导入导出dmp emp/imp;empdp/impdp

2018-03-12 15:07 357 查看
1.使用emp导出

exp {user}/{pwd}@{address}/{sid} file={path} owner={user}
exp {user}/{pwd}@{address}/{sid} file={path} owner={user} tables={table1}
exp {user}/{pwd}@{address}/{sid} file={path} owner={user} tables=({table1,table2,table3})


2.使用imp导入

imp {user}/{pwd}@{address}/{sid} file={path} full=y


3.使用empdp导出

expdp {user}/{pwd} direcotry=full dumpfile={directory} logfile={logfile} full=y  ----dumpfile和logfile绝对不能加路径


4.使用impdp导入

impdp {user}/{pwd}  schemas={user} directory={directory} dumpfile={path} logfile={log_path}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐