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 a jdbc connection pool?

941


What is preparedstatement in jdbc?

961


Compare jdbc and odbc and how is jdbc required in this context.

938


What are jdbc and its components?

982


What is represented by the connection object?

1082


What are the jdbc drivers in java?

1070


How can I determine the isolation levels supported by my DBMS?

991


What does jdbc do?

1037


When does the result for an sql statement return null?

922


What is the use of statement in jdbc?

932


What is sqlwarning and discuss the procedure of retrieving warnings?

1028


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

1024


How can I manage special characters when I execute an insert query?

945


How to retrieve warnings in jdbc?

994


What is the benefit of having jdbcrowset implementation?

933