Re: ordering by float values
Posted by:
Nick Roper
Date: September 04, 2004 03:58AM
Hi Doug,
There shouldn't be an issue with the example that you give. I just did the following:
mysql> create table floats (
-> myfloat float);
mysql> insert into floats values (2.05),(2.3),(2.4),(2);
mysql> select * from floats order by myfloat;
+---------+
| myfloat |
+---------+
| 2 |
| 2.05 |
| 2.3 |
| 2.4 |
+---------+
4 rows in set (0.00 sec)
Can you post the output from:
SHOW CREATE TABLE <yourtablename>;
and also the select statement that you are using.
Nick
--
Nick Roper
Subject
Written By
Posted
September 03, 2004 05:53AM
September 03, 2004 12:12PM
Re: ordering by float values
September 04, 2004 03:58AM
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.