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 |
Can we use the one instance of Statment to execute more than one query ?
What is addbatch jdbc?
Does multiple concurrent open statements per connection are supported by the JDBC-ODBC Bridge?
What is two-phase commit in the database?
What is ODBC and JDBC? How do you connect the Database?
What is an outer join?
Can the JDBC-ODBC Bridge be used with applets?
What is a jdbc connection pool?
What are the Normalization Rules?
Which package contains jdbc api?
What is jdbc drivers in java?
Different statements in JDBC?