Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ascending w/Descending in same index?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00314175
Message ID:
00314187
Views:
23
Hmmm. Why the change? Performance perhaps? I thought the other expression would work, too.

>Whoops! Not quite! How about:
>
>index on UPPER(ts_number) + transform(99999999 - pr_number,'@L 99999999')
>
>>Hi Randy,
>>
>>How about:
>>
>>UPPER(ts_number)+LTRIM(STR(99999999 - pr_number,8,0))
>>
>>>Hi,
>>>I need to be able to create an index with 2 fields where the first column is ascending and the second column is descending. They are both character fields. This is how the data looks:
>>>
Randy Jean
Orion Group Software Engineers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform