Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I optimize a SQL Select statement
Message
From
30/05/2003 11:49:17
 
 
To
30/05/2003 11:40:05
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00794536
Message ID:
00794540
Views:
13
>I have a SCAN loop with a nested SQL Select statement (to check for duplicates in related table on common field).
>
>The application can take up to 6 seconds to execute SQL Select against table with 223,000 records, which seems very slow to me. In VFP 8.0 doc it says that SQL statements attempt to optimize, and do so if possible, but don't use Rushmore optimization. Is this true? If so, what do I do to speed up this operation?
>
>Fz - Boston MA

Don,

Where in the docs do you see verbage about not using Rushmore? Can you post the sentence?

Please post your SELECT statement, and tell what index expressions exist on the tables involved in the SELECT.

Thanks,
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform