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 batch processing and how to perform batch processing in jdbc?

938


How to move the cursor in scrollable resultset ?

1049


Why did my jdbc code throw a rollback sqlexception?

930


What are the differences between setmaxrows(int) and setfetchsize(int)?

1073


What are different types of ResultSet?

1072


Explain what should be done when a SQL exception is raised?

983


What is drivermanager in jdbc?

981


Name different methods for getting streams.

998


How do you insert images into database using jdbc?

1088


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

1097


Does jdbctemplate close connection?

926


Explain how data flows from view to db and reverse

2060


What is meant by jdbc and odbc?

909


Explain about DSN?

983


How you restrict a user to cut and paste from the html page using java programing?

897