I have the following table strand which is ordered in ascending order except for the 1st value,
Strand
3.1.1
3.1.1.1
3.1.1.2
3.1.2
3.1.2.1
3.1.2.2
3.10 # this should have been at the top most
3.2.1
3.2.1.1
...
...
3.20 #Similarly,this should have been above 3.2.1 and below 3.1.2.2
The column is in varchar and i think converting the 3.10 to 3.1 and 3.20 to 3.2 will do the trick i.e converting from varchar to decimal(1,1) only for those values, but I'm not getting how to convert or cast it for particular fields inside a column...i dont want to cast the entire column..i wont get the answer then...