Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT SQL Statement
Message
De
15/05/2001 14:18:44
 
 
À
15/05/2001 13:47:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00506284
Message ID:
00507426
Vues:
15
I believe you are incorrect. The subquery is run once and the main query is then run once against the results of the subquery. Test it to make sure. Beyond that, $5 is a bargain.


>It is my understanding that the select subquery in parentheses on table1 would run once for every record selected in the outer select from table2. If that is in fact true, even though your alternative may be easier to code or more clear to read, it would be way less efficient (and therefore slower) than a join. By the way, the fact that Bret and I work together has nothing to do with it. Honest (as Bret slips me $5). I just wanted to mention that for you to consider.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform