java 调用 sql,脚本,用以实现备份库
String statement ="sqlplus username/password@sid @c:\test.sql";
try {
Runtime.getRuntime().exec(statement);
} catch (IOException e) {
e.printStackTrace();
}
String statement ="sqlplus username/password@sid @c:\test.sql";
try {
Runtime.getRuntime().exec(statement);
} catch (IOException e) {
e.printStackTrace();
}
暂无评论。
评论功能维护中,当前仅展示历史评论。