Hi!
After a vast amount of hunting I've come to no resolution to my dilemma. I have a varchar(20) table column containing values similar to this:
Alpha 1
Alpha 2
Alpha 3
Alpha 10
Alpha 12
Beta 1
Beta 2
Beta 3
Beta 15
...
...
With a straight forward ORDER BY field it outputs the following:
Alpha 1
Alpha 10
Alpha 12
Alpha 2
Alpha 3
Beta 1
Beta 15
Beta 2
Beta 3
...
...
I tried ORDER BY field+0, which returned exactly the same thing. I have also tried CAST to no avail.
Please can someone suggest what I should try next?
Thanks in advance
After a vast amount of hunting I've come to no resolution to my dilemma. I have a varchar(20) table column containing values similar to this:
Alpha 1
Alpha 2
Alpha 3
Alpha 10
Alpha 12
Beta 1
Beta 2
Beta 3
Beta 15
...
...
With a straight forward ORDER BY field it outputs the following:
Alpha 1
Alpha 10
Alpha 12
Alpha 2
Alpha 3
Beta 1
Beta 15
Beta 2
Beta 3
...
...
I tried ORDER BY field+0, which returned exactly the same thing. I have also tried CAST to no avail.
Please can someone suggest what I should try next?
Thanks in advance