Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use select... where EXISTS ... ?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00793069
Message ID:
00793191
Views:
34
Hi David,

Thanks for confirming my guess. :)

>Sergey,
>
>For me it shows it'll table scan the outermost table and do something it's calling a Hash Match/Right Semi Join for IN and EXISTS. For JOIN it shows a Hash Match/Inner Join. All with about the same expected runtimes.
>
>>It's interesting to note that in SQL Server all three queries (IN, EXISTS and JOIN) most likely will produce the same execution plan. VFP query optimizer isn't that smart. :)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform