Two Laptop Bag*
The moose likes JDBC and the fly likes  Query Dependent on first Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark " Query Dependent on first" Watch " Query Dependent on first" New topic
Author

Query Dependent on first

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
I have a resultSet
RS1=Select Mainid ,SubId From Table1
i want to get values of SubId from another table2
Depending upon the values i get from RS1
i want to run rs2.
i m not getting the RS2 resultset.
Any solution?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Query Dependent on first