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

Oracle, 只导某些表:

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

 

相关文章