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 are types of resultset?
What is sqlwarning and discuss the procedure of retrieving warnings?
Why we use jdbc instead of odbc?
Explain about multiple implementations and drive manager?
What is jdbc stand for?
What is jdbc and odbc?
What happens if connection is not closed in jdbc?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
Under what circumstances, that all four drivers are used?
Does sql allow null values ? Can we use it within where clause ?
How to retrieve warnings in jdbc?
Why do we need a jdbcrowset like wrapper around resultset?
What is jdbc explain?
Which interface handles transaction management in jdbc?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?