Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Surely it can be faster
Message
De
02/03/2001 11:05:25
 
 
À
02/03/2001 10:34:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00481374
Message ID:
00481397
Vues:
10
What if you change out your query to look like this?

SELECT * FROM Note WHERE No_Code = "EZ" and No_Code = "25329" and No_Code = "REASON"

Mostly it breaks down the string and searches into smaller segments. My tests did show an improvement in time. Not amazingly faster - But faster nonetheless.

Tom Welch


>I have a table called NOTE that is used as a Memo field (this was before they >were created).

>It is indexed on NO_CODE and here is a Select I ran for it:

>SELECT * FROM Note WHERE No_Code = "EZ 25329REASON "

>This query takes around 1 minute to run, the table is 270MB in size and has >2.8 million records and the field length of NO_CODE is C15.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform