If in oracle db there is a non-string column (i.e.: varchar, date) (col1) if:
select * from table order by col1 asc
he orders correctly. (i.e., for the date he orders from the oldest to the last, for the numeric, from the lowest to the highest) But if I do this, the select * from table order by upper(col1) asc
ordering is incorrect.
What is the reason for this behavior?
source
share