create table tttt
(
Eid int,
ECODE varchar(40)
)
insert into tttt values(1,'AAAA/00001')
insert into tttt values(2,'BBB/00010')
insert into tttt values(3,'CCC/00002')
insert into tttt values(4,'ZZZ/00100')
-- But i need order by based on ECODE
--like this
--AAAA/00001
--BBB/00002
--CCC/00010
--ZZZ/00100
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com