I have made a test and dropped the composite index, and now the
sorting is ok, regenerated the index and sorting is as described
in my first problem report.
tom
It seems likely that the optimizer is using the index as a
sort-avoidance strategy. That is, it is recognizing that the index is
in the same order as the "order by" clause, so it's doing an index
scan instead of using the sorter. Now, I don't know why this in
itself would cause the problem you're seeing, since as you've
described it the index should be in the right order. Maybe there's
something wrong with the index.
- Jeff Lichtman
[EMAIL PROTECTED]
Check out Swazoo Koolak's Web Jukebox at
http://swazoo.com/