order by clause [message #315270] |
Sun, 20 April 2008 13:05  |
gargi_12300
Messages: 11 Registered: March 2008
|
Junior Member |
|
|
Helloo
I need some help
actually have a table having attribute Citizen_id as primary key.
My citizen_id is of the form D001B001CTZ1,D001B001CTZ2,D001B001CTZ3,etc.
Now i want to arrange them in ascending order using order by clause.
It works fine until D001B001CTZ10 is reached.
AFter that it arranges as:
D001B001CTZ1
D001B001CTZ10
D001B001CTZ2
and so on...
please can suggest me how to prevent this and arrange to ids as D001B001CTZ1,D001B001CTZ2,.....D001B001CTZ10.
|
|
|
|
|
|
|
|
|