Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ordering a SQL select by upper(some_column)
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00295150
Message ID:
00295163
Views:
24
>Maybe not the best way, but it works:
>
>SELECT pk_contract_id, cDesc, UPPER( cDesc ) AS cDescUpper ;
> FROM Contract ;
> WHERE UPPER(Contract.cDesc) LIKE 'A%' ;
> ORDER BY 3

Right, but I need cDesc's case to remain as is. That's why I was thinking of adding a 3rd column just for the order by clause. Thanks anyway.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform