Re: sorting output - question about ORDER by
what datatype is your price column? it looks like char, should probably be some numeric type, probably decimal.
Check if the results are orderd ok when you do:
order by CAST(price as DECIMAL(10,2))
If so consider changing the datatype of your price column (if you don't, calculations are bound to become messed up too)
Subject
Written By
Posted
Re: sorting output - question about ORDER by
July 16, 2005 05:19AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.