• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

resultset

 
anu manju
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ow to use resultset within another while loop of another resultset
 
suresh guru
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
That depends on the visibility of the first resultset. But u can iterate 2 result sets together
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sureshg,
Thanks for working with this person, however please change your name to be compliant with JavaRanch's naming policy. It should not be obviously fictitious.
Your displayed name should be 2 separate names with more than 1 letter each, we really would prefer that you use your REAL name.
You can change your name: here.
Thanks,
Cindy
[ May 06, 2003: Message edited by: Cindy Glass ]
 
amit mohanty
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create separate statement for each resultset. Then only you can use one resultset inside while loop of another resultset.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moved from servlets -> JDBC
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic