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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the considerations for deciding on transaction boundaries?

994


Is jdbc a web technology?

875


Explain the locking system in jdbc & its types?

964


Is jdbc object oriented?

928


How to connect multiple database in jdbc?

1060


Where is ojdbc14 jar located?

924


List the common jdbc exceptions ?

992


Result set’s index starts with 0 or 1?

1026


What does the jdbc resultset interface?

956


What are the benefits of PreparedStatement over Statement?

996


Which type of JDBC driver is the fastest one?

1076


What does executeupdate return in java?

1008


What happens if connection is not closed in jdbc?

967


What is the JDBC syntax for using a literal or variable in a standard Statement?

983


List the advantages of using datasource?

987