Hi,
>
I am trying to make a index on 2 fields. The index needs to sort by the first column and the second column and they are both numberic fields.
>
Indexing on the string value will not give the sort order you require. If the field sizes are as shown (i.e. xx.xxx for both fields) then you could try indexing on 'BINTOC(col1*1000)+BINTOC(col2*3)'
HTH,
Viv
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only