Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort order and case
Message
From
09/04/2001 02:04:27
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00493439
Message ID:
00493442
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform