oStmt.executeQuery("SELECT k_sp_del_mime_msg('" + oDeleted.getString(0,d) + "')");
oStmt.close();
oStmt=null;
}
else {
oCall = oConn.prepareCall("{ call k_sp_del_mime_msg(?) }");
for (int d=0; d<iDeleted; d++) {
oCall.setString(1, oDeleted.getString(0,d));
oCall.execute();
} // next