Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mixed case...
Message
 
 
À
17/11/2000 13:38:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00443150
Message ID:
00443161
Vues:
10
Tom,
select * from mytable where


upper(myfield) = upper(mystring)
atc(mystring,myfield) > 0

Note: The first expression would be optimizable given an index using UPPER(). The second would not be.

HTH.

>I have a table full of mixed case data. I need to search using lowercase.
>
>cString = madonna
>
>I need to extract things like:
>
>madonna
>Madonna
>MADONNA
>
>and things of this nature. I know this is probably dumb. But I can't remember how to search in the mixed case. I tried using likec()- But then I matched nothing at all.
>
>At least with 'brow for fieldname = cString' I get every lowercase cString.
>
>Heeelp!
>
>Thanks
>Tom Welch
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform