To count number of rows in SQL table
SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';
To count number of rows in SQL table
SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';
how to count row
Row number always starts with 1
My last rowNumber is my row count
When I move my cursor to the last location to get rowCount
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);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us