I am new to SQL ..
I wanted to sort one column , the values of that column will be
Example : D2V2PRT1,D1V2PRT2,D2V1PRT1,D1V1PRT3......
I want sorted output as
D1V1PRT3,
D1V2PRT2,
D2V1PRT1,
D2V2PRT1,......
so the sorting should happen like , first it will sort for D values then for V values and then for PRT values, all the values are in string.
I have written some logic and able to separate the values from D V and PRT , so now my question is how to specify this in order by
Thanks in Advance
9? Also, post the logic that separates the D V PRT values.