Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sort order and case
Message
De
09/04/2001 02:04:27
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00493439
Message ID:
00493442
Vues:
18
Hi Dennis,
INDEX ON UPPER(lastname) TAG lastname
or
SELECT *, UPPER(lastname) AS sortkey ;
   FROM mytable ;
   ORDER BY sortkey
Hope this helps,
Gavin...

>How do I get a key to sort in alpha order without regarding case. For instance take the following.
>
>Default sort order
>Adams
>Jones
>Smith
>deVant
>
>What I want is
>
>Adams
>deVant
>Jones
>Smith.
>
>Because of the lower case on deVant it goes to the end after all upper case items.
>
>I looked at the set commands and didn't see anything that looked it would work.
>
>Thanks
>
>Dennis
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform