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 jdbc type?

944


Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?

1264


What is the different between ResultSet and RowSet?

1072


What are dml and ddl?

1065


What are the functions of the jdbc connection interface?

1016


What is drivermanager in java?

999


What are different types of JDBC Drivers?

1262


Which jdbc drivers will run your program?

989


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

1019


How to test jdbc connection to sql server?

1077


What is statement and preparedstatement in java?

960


How does jdbc work?

928


Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?

968


Does jdbctemplate use prepared statements?

964


Discuss the significances of jdbc.

968