How to find number of records in result set?
Answers were Sorted based on User's Feedback
Answer / devarathnam c,kotagudibanda(po
Hi...You can use one separate query for that purpose
i.e String query ="select count(*) from emp";
It will give u total no.of records in ResultSet.
| Is This Answer Correct ? | 2 Yes | 5 No |
What is a jdbctemplate?
Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.
How data can be inserted into long row column of database?
Why isn't the java.sql.DriverManager class being found?
How to execute bulk number of queries at once?
How do java applications access the database using jdbc?
What are the conditions applies to varchar variable, when using in procedures?
What is statement and resultset in jdbc?
How can I determine where a given table is referenced via foreign keys?
How can you use preparedstatement in jdbc?
What is the difference between ExecuteUpdate and ExecuteQuery?
What is a merge field?