Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on two integer fields
Message
From
29/04/2003 11:39:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/04/2003 11:36:19
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00782730
Message ID:
00782746
Views:
13
>Oops forgot the other part of the question.
>
>Is it possible to make the field2 show in descending order.
>like in:
>select * from table1 order by nfield1 asc, nfield2 desc

I think the following should work:
index on bintoc(-NField1) + bintoc(NField2)
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform