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 / dmk.java@gmail.com

query should be prepare like this


select * from tab_name where rownum <= 100

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

914


What are the common JDBC problems that you got and how do you solved them?

2386


How do you determine the sensitivity of the ResultSet object?

921


How many ways can you update a result set?

957


How vendor Naming registry supports JNDI?

2125


What is the jdbc rowset?

944


What is the meaning of connection?

907


Can we have foreign key reference to a non primary key column ?

909


What do you mean by database connection pooling?

895


What is a jdbctemplate?

882


What is addbatch jdbc?

952


What is jdbc url for mysql?

984


What is the function of setautocommit?

1148


What is the purpose of jdbc?

983


What is the use of getGeneratedKeys() method in Statement?

961