Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange SQL Speed
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00431066
Message ID:
00431228
Views:
11
We have a winner.
Even though both tables are on the local machine, the number of fields in each table makes a huge difference. When I created tables exactly like the single field cursors and ran the query on these new tables the speed was equivalent to the query on the cursors.
Thank you all for your input.

>Dore,
>
>Is there more than one field in the origional tables? I don't think subqueries are optimizable, so in the first example all of table1 may need to be passed without an index, but in the second example you pulled a smaller file with just one field. The subquery in the second example would still not be optimizable, but there's far less to load and pass.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform