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 do you mean by odbc?
What is the use of the statement in jdbc?
What is connection data?
What are the three parts of a jdbc url?
What is a PreparedStatement?
What are the 4 types of jdbc drivers?
Explain about column name and getter method?
What should be done for auto generating primary key id in a table ?
what are the drawbacks of JDBC? explain briefly?
How do I stop nullpointerexception?
State the different connection methods used for creating different types of sql.
If iam using JDBC API, do I also have to use ODBC?