Hi,
i have a sql statment in the result set whose result is aan input to another sql statment.I am able to retreive one row but the next row is not retrieved the first result set is not getting executed..
eg.
rs=select distinct(name ) from sample;
this name is used in the next statment to retrive
rs2=select * from sample where name=name;
This execute the first row.
the nxt row there is a error in rs.next statment.
caould you tell me how can i retrivethe results from the resultset1
Do let me know
Thanks
i have a sql statment in the result set whose result is aan input to another sql statment.I am able to retreive one row but the next row is not retrieved the first result set is not getting executed..
eg.
rs=select distinct(name ) from sample;
this name is used in the next statment to retrive
rs2=select * from sample where name=name;
This execute the first row.
the nxt row there is a error in rs.next statment.
caould you tell me how can i retrivethe results from the resultset1
Do let me know
Thanks