Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore'ing substrings
Message
 
 
À
21/01/2003 16:37:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00743958
Message ID:
00743982
Vues:
21
Oh, still more good to know info, thank you. We'll search for that, and related products. We don't use substring much, just this one requirement is to locate portions of strings in long product serial number strings, so it isn't really a word-by-word search, but rather a string embedded in a longer string that we need to search on.

--------------

You can still use alltrim(), just make sure that the index expression is of constant size.

Example:


index on padr(alltrim(lastname) + ", " + alltrim(firstname), 30) tag FullName
> I've heard of phdBase, but I thought it was no longer sold/supported... we'll have to look into that.

I have heard similar things, so further investigation is warranted. I don't know whether a replacement product exists, but searching www.hallogram.com for "index" gives many hits. You might start investigating here.

You can create your own word-by-word indices, but I suspect this will be a lot of trouble.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform