Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nesting too deep
Message
De
30/09/2004 02:26:10
 
 
À
30/09/2004 00:59:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00947404
Message ID:
00947418
Vues:
17
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform