Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Performance
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01262795
Message ID:
01262799
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>"If you are doing a SELECT ... WHERE IN (SELECT ...) style query, check to see if it's functionally equivalent to an INNER JOIN. This can make a HUGE difference."
>
>Is this statement true, that an inner join is faster than WHERE IN (SELECT ...)?
>Does this differ in VFP vs MSSQL?

Yes, it's true for VFP. The MS SQL Server query optimizer is much smarter and can produce similar or the same execution plan for both cases.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform