Hans Vasquez-Gross wrote: > resultSet = stmt.executeQuery(selectTableSQL); Shouldn't that be?: resultSet = stmt.executeQuery(sb.toString()); -Kevin