Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Surely it can be faster
Message
 
 
À
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:
00481378
Vues:
13
>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.

Is your index upper(no_code) tag no_code? If so, you get optimization in the select bu using the exact expression used in the index -- ...where upper(no_code) = ...

You migth also elimate any index tag on deleted().
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform