Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which SQL Select would be faster?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01095983
Message ID:
01096002
Vues:
20
>>>The first one is invalid so the second one wins.
>>>You should always run tests to see which one is faster in your circumstances.
>>>
>>
>>I see that I forgot to include (in my message here) the ON condition in my first query.
>>
>>I do hope that the second SQL Select wins since I like it better (I don't like to have MAX() for every field I am selecting).
>
>Yes, I would start with the second one and only if it would be too slow than I would try another one.

Thank you, Sergey. By the way, did you look at the correction of my second subquery posted by Bob Flanagan? Was his subquery a better approach?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform