Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to find number of records in result set?

Answers were Sorted based on User's Feedback



How to find number of records in result set?..

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

How to find number of records in result set?..

Answer / balakrishna

Using ResultSet MetaData class

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JDBC Interview Questions

What is a jdbctemplate?

0 Answers  


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.

0 Answers  


How data can be inserted into long row column of database?

0 Answers  


Why isn't the java.sql.DriverManager class being found?

0 Answers  


How to execute bulk number of queries at once?

3 Answers   Wipro,


How do java applications access the database using jdbc?

0 Answers  


What are the conditions applies to varchar variable, when using in procedures?

0 Answers  


What is statement and resultset in jdbc?

0 Answers  


How can I determine where a given table is referenced via foreign keys?

0 Answers  


How can you use preparedstatement in jdbc?

0 Answers  


What is the difference between ExecuteUpdate and ExecuteQuery?

1 Answers   Exilant,


What is a merge field?

0 Answers  


Categories