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 common JDBC problems that you got and how do you solved them?

2436


How can you make the connection using jdbc?

1046


How many types of resultset are there in jdbc?

970


What are the measures to connect to the db using jdbc?

1044


What are different types of JDBC Drivers?

1172


What are the different types of locking in JDBC?

1015


Explain how to make updates to the updatable resultsets.

924


How can we set null value in jdbc preparedstatement?

969


Is jdbc a middleware?

956


What are the three parts of a jdbc url?

1026


How to set NULL values in JDBC PreparedStatement?

981


How do you insert images into database using jdbc?

1088


What is odbc and jdbc in dbms?

964


What is the query used to display all tables names in SQL Server (Query analyzer)?

1072


What is the difference between setmaxrows(int) and setfetchsize(int)?

1062