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...

i have 1000 records in resultset, how to get first 100
records from resultset, because resultset fetch all 1000
records at a time?

Answer Posted / a kumar

If your intention is to dislay only 100 records to the
user, then better make the change the query to retrieve
first 100 recs. (like say fetch first 100 rows in Db2).

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of jdbc resultset interface?

991


What is a statement in java?

896


Where jdbc drivermanager class is used?

964


What is JDBC Connection? Explain steps to get Database connection in a simple java program.

1173


Which database is used for java?

953


What is the feature of jdbc v4?

1144


What are different types of JDBC Drivers?

1164


How can we store the file in the oracle database?

935


Is jdbc database independent?

967


How can I retrieve a String or other object type without creating a new object each time?

1189


What do you mean by odbc?

1024


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

1058


What is the limitation of PreparedStatement and how to overcome it?

1145


What does executeupdate return in java?

1027


How do I set properties for a JDBC driver and where are the properties stored?

966