S
SirPoonga
I have a Thickness field in a table that is of type Number When I do
an ORDER BY it is ordering it like it was text. For example
1.5
1
12
13
2.4
2
24
26
....
Is this because I unioned it with an '*'.
Here's the SQL statment
SELECT '*' as Thickness
FROM MyTable
UNION
(SELECT DISTINCT MyTableThickness
FROM MyTable
ORDER BY Thickness)
an ORDER BY it is ordering it like it was text. For example
1.5
1
12
13
2.4
2
24
26
....
Is this because I unioned it with an '*'.
Here's the SQL statment
SELECT '*' as Thickness
FROM MyTable
UNION
(SELECT DISTINCT MyTableThickness
FROM MyTable
ORDER BY Thickness)