Answers for "how to get row count"

0

how to get row count

Get the row count of the ResultSet
Move the pointer to the last row and get the row number

  rs.last();
        int rowCount = rs.getRow();
        System.out.println(rowCount);
Posted by: Guest on November-30-2020

Browse Popular Code Answers by Language