File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark " Query Dependent on first" Watch " Query Dependent on first" New topic

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?
I agree. Here's the link:
subject: Query Dependent on first
jQuery in Action, 3rd edition