Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Performance
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01262795
Message ID:
01262799
Views:
10
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform