TheConeHead
Programmer
I have a varchar field that holds ip addresses... how can I get this to order properly. Like say I have these five values:
10.650.555.101
10.650.555.11
10.650.555.105
10.650.555.12
10.650.555.124
simply doing an order by on this field now, it returns:
10.650.555.101
10.650.555.105
10.650.555.11
10.650.555.12
10.650.555.124
and I want it to return:
10.650.555.11
10.650.555.12
10.650.555.101
10.650.555.105
10.650.555.124
How could I get this?
10.650.555.101
10.650.555.11
10.650.555.105
10.650.555.12
10.650.555.124
simply doing an order by on this field now, it returns:
10.650.555.101
10.650.555.105
10.650.555.11
10.650.555.12
10.650.555.124
and I want it to return:
10.650.555.11
10.650.555.12
10.650.555.101
10.650.555.105
10.650.555.124
How could I get this?