How to Sort Character column numerically.
I have a column of numbers stored as chars. When I do a ORDER BY for this column I get the following:
100D
131A
200
21B
30
31000A
etc.
There may be chance of having one Alphabet at the end.
How can I order these chars numerically? Do I need to convert something or is there already an SQL command or function for this?
You could use something like: