//调用存储过程删除表
CallableStatement cs = conn.prepareCall("{call proc_drop_tab@dblink_dd(?)}");
proc_drop_tab:存储过程名
?:存储过程参数
如:
public void deleteTable(String desTableName){
System.out.println("删除"+desTableName+"表");
CallableStatement cs = conn.prepareCall("{call proc_drop_tab@dblink_dd(?)}");
cs.setString(1, desTableName);
cs.execute();
cs.close();
}