Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I optimize a SQL Select statement
Message
De
30/05/2003 11:49:17
 
 
À
30/05/2003 11:40:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00794536
Message ID:
00794540
Vues:
12
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform