Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: SUBSTR(fMemo,,) index
Message
De
08/09/2003 04:48:41
 
 
À
07/09/2003 23:31:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00826912
Message ID:
00827003
Vues:
18
Hi Hilmar,

>How about indexing on padr(MemoField, 250)?

Obviously, this generates a "Invalid key lenght".

The max possibilities are:
INDEX ON PADR(FieldMemo,240) TAG TAG1 && if FieldMemo is not nullable
INDEX ON PADR(FieldMemo,239) TAG TAG1 && if FieldMemo is nullable
but next is equal and faster ( to index on,reindex,maintenance and seek):
INDEX ON LEFT(FieldMemo,240) TAG TAG1 && if FieldMemo is not nullable
INDEX ON LEFT(FieldMemo,239) TAG TAG1 && if FieldMemo is nullable
Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform