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
What is the purpose of jdbc resultset interface?
What is a statement in java?
Where jdbc drivermanager class is used?
What is JDBC Connection? Explain steps to get Database connection in a simple java program.
Which database is used for java?
What is the feature of jdbc v4?
What are different types of JDBC Drivers?
How can we store the file in the oracle database?
Is jdbc database independent?
How can I retrieve a String or other object type without creating a new object each time?
What do you mean by odbc?
What is database connection pooling? Advantages of using a connection pool?
What is the limitation of PreparedStatement and how to overcome it?
What does executeupdate return in java?
How do I set properties for a JDBC driver and where are the properties stored?