lustingray
Programmer
Hi,
Can I create an open several Cursor at once?
I will give an example:
Select * from test ;
join newtable on test.news = newtable.names into cursor XKPRO
Select * from test2 ;
join newtable on test2.news = newtable.names into cursor PGNST
Select * from test3 ;
join newtable on test3.news = newtable.names into cursor BHLJF
Now...
SELECT * FROM XKPRO;
INNER JOIN PGNST ON PGNST.ctry = XKPRO.names;
INNER JOIN BHLJF ON BHLJF.ctry like XKPRO.names;
INTO cursor MEGAFUS
Regards
Lu Stingray
Can I create an open several Cursor at once?
I will give an example:
Select * from test ;
join newtable on test.news = newtable.names into cursor XKPRO
Select * from test2 ;
join newtable on test2.news = newtable.names into cursor PGNST
Select * from test3 ;
join newtable on test3.news = newtable.names into cursor BHLJF
Now...
SELECT * FROM XKPRO;
INNER JOIN PGNST ON PGNST.ctry = XKPRO.names;
INNER JOIN BHLJF ON BHLJF.ctry like XKPRO.names;
INTO cursor MEGAFUS
Regards
Lu Stingray