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 / sri
ResultSet.getRow() will give you the row number where the
resultset cursor is in , check for ResultSet.getRow()==100
and then break out of the loop
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Is jdbc object oriented?
What is odbc and jdbc?
Explain how to make updates to the updatable resultsets.
What is a jdbctemplate?
What is a jdbc connection string?
What are the classes and methods used for sending sql statements to database?
What is an advantage of using the jdbc connection pool?
How can we retrieve the file in the oracle database?
Does JDBC support stored procedures?
What do you understand by jdbc driver and explain its types?
Which package contains jdbc api?
What is sqlwarning and discuss the procedure of retrieving warnings?
How you restrict a user to cut and paste from the html page using java programing?
What is a datasource in java?
How to connect multiple database in jdbc?