Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Need Help to Sort a String Like a Number
Hi All:
I have a column named Release which can contain alphanumeric characters and i need to sort this column.
A sample random data set for Release values:
Release
6.1(1)
6.1(1a)
12.3(1a)C
12.3(1c)BW
7.6(4)AA
7.6(4)X
12.2(4)MB13 6.1(1c) 7.6(3a) 12.3(1a)BW 12.2(4)MB12 12.3(4)TPC11a
After sorting, i need the following order
Sorted Release
6.1(1) 6.1(1a) 6.1(1c) 7.6(3a) 7.6(4)AA 7.6(4)X 12.3(1a)BW 12.3(1c)BW 12.3(1a)C 12.2(4)MB12 12.2(4)MB13 12.2(4)MB13a
Can anyone please help me with this ??
Thanks,
Jamuna
Received on Wed Jun 21 2006 - 10:47:40 CDT