Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query takes long
Message
 
À
07/05/2001 14:22:37
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00504334
Message ID:
00504370
Vues:
15
>HI,
>I have a table containing 1 500 000 rows. When I make a query on it, it takes long time to execute. Is there a way to speed up the query by using indexes or by execute it asynchronously (SPT, or ADO). My 1,5M rows table is local.
>
>Thank you,
>Christian

If your table is local and you are searching on your primary key, it is faster to use SEEK() as opposed to SQL. IF the table is on the server, (remote) then the fastest results will be gained through a stored procedure in the server database that is activated by your query.
MSCE, MCSP, Microsoft Channel Partner

Relax, Boss. We will meet the deadline! What? You want to add MORE? What do you mean, Over Budget?

Opinions and comments are the sole responsibility of the sender, and accuracy, correctness, or pertinence is considered coincidental.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform