Answers for "select column counts like row count"

SQL
7

how to count number of rows in sql

SELECT COUNT(*)
FROM dbo.bigTransactionHistory;
Posted by: Guest on March-05-2020
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

Code answers related to "SQL"

Browse Popular Code Answers by Language