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 is new in JDBC 2.0?

1019


Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

1018


Explain about the drive manager class working?

1107


What are the 4 types of jdbc drivers?

1010


How do I receive a ResultSet from a stored procedure?

971


Under what circumstances, that all four drivers are used?

2409


How do I insert an image file (or other raw data) into a database?

966


Describe the steps needed to execute a sql query using jdbc.

980


What are the different types of lockings in jdbc?

921


What is connection pooling and why it is used?

1000


Explain creation of statement object with connection method create method with help of an example.

966


What is correlated subquery?

2318


What is odbc and jdbc drivers?

953


What are different types of ResultSet?

1057


Explain the two tier and three tier architecture of jdbc.

901