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 are the types of jdbc drivers that exist?
Where is jdbc used?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
what are the advantages of JDBC?
What are the different types of classes in the api component?
What are the conditions applies to varchar variable, when using in procedures?
What is difference between java.util.Date and java.sql.Date?
How to test jdbc connection to sql server?
Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?
What is database connection pooling? Advantages of using a connection pool?
What does the jdbc resultset interface?
What happens if we don't close the connection in jdbc?