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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement