Oracle导入导出命令

//导出 
exp techrpt_data/techrpt_data@orcl file=d:\_临时文件\techrpt_data.dmp owner=techrpt_data

//导入
imp techrpt_data_yanshi/techrpt_data_yanshi@orcl file=d:\_临时文件\techrpt_data.dmp fromuser=techrpt_data touser=techrpt_data_yanshi ignore=y

 只导某些表:

imp techrpt_data_yanshi/techrpt_data_yanshi@orcl file=d:\_临时文件\techrpt_data.dmp fromuser=techrpt_data touser=techrpt_data_yanshi tables=(DPMS_RESIDENT_BLOCK、DPMS_BLOCK_BUILDING、DPMS_ROOM、DPMS_ROOM_UPKEEP) ignore=y

 

posted @ 2016-04-27 11:09  0611163  阅读(361)  评论(0编辑  收藏  举报