This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Moving to a specific record Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Moving to a specific record" Watch "Moving to a specific record" New topic
Author

Moving to a specific record

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi All,
Can anyone tell me how can i move to a specific record in a resultset?
I am using sun.jdbc.odbc.JdbcOdbcDriver
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

The JdbcOdbcDriver doesn't really support anything of much use. Get the ResultSet, then call rs.next() until you get to the record you need
 
Don't get me started about those stupid light bulbs.
 
subject: Moving to a specific record
 
Similar Threads
How to make a MVC update control
urlybird 1.1.1 (int recNo)
Calling servlet from SQL Server Triggers
executeUpdate() returning unexpected results
FileInputStream to read records from a text file