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 are the types of jdbc drivers that exist?

0 Answers  


Where is jdbc used?

0 Answers  


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

0 Answers  


what are the advantages of JDBC?

7 Answers  


What are the different types of classes in the api component?

0 Answers  


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

0 Answers  


What is difference between java.util.Date and java.sql.Date?

0 Answers  


How to test jdbc connection to sql server?

0 Answers  


Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

0 Answers  


What is database connection pooling? Advantages of using a connection pool?

0 Answers  


What does the jdbc resultset interface?

0 Answers  


What happens if we don't close the connection in jdbc?

0 Answers  


Categories