Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nesting too deep
Message
From
30/09/2004 02:26:10
 
 
To
30/09/2004 00:59:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00947404
Message ID:
00947418
Views:
16
Hi,
I think the simplest way is break this SQL statement into 2.
select memb_folio ;
FROM demat WHERE qty_accept > 0 ;
AND demat_no NOT in(select trfno FROM wcert) ;
INTO CURSOR myCursor

SELECT DISTINCT sfolio ;
FROM folio ;
WHERE sfolio in(SELECT memb_folio FROM myCursor)
If you are using view, then you may create 2 views, each for SQL above (without INTO CURSOR clause).

HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform