try{
String sCommand = "cmd /c imp.exe teacher/teacher@school grants = y ignore = Y file = 'c:\\db.dmp' FROMUSER= teacher TABLES= Teachers"
process = Runtime.getRuntime().exec(sCommand);
if(process.waitFor() == 0){
;
}
}catch(InterruptedException e){ ; }
catch(IOException e){ ; }
问题:Teachers表已经导入到Oracle,但在Windows任务管理器里imp命令还驻在内存里,如何做到导入完之后,自动清除内存中驻留的imp?
String sCommand = "cmd /c imp.exe teacher/teacher@school grants = y ignore = Y file = 'c:\\db.dmp' FROMUSER= teacher TABLES= Teachers"
process = Runtime.getRuntime().exec(sCommand);
if(process.waitFor() == 0){
;
}
}catch(InterruptedException e){ ; }
catch(IOException e){ ; }
问题:Teachers表已经导入到Oracle,但在Windows任务管理器里imp命令还驻在内存里,如何做到导入完之后,自动清除内存中驻留的imp?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货