Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sort a Pipe Delimited String

2742773Nov 9 2014 — edited Nov 10 2014

Hi guys i need help or any hint for the below scenario,

i have a column in a table with delimited string like below with varying lengths

ABC|| FCD||BCD||CDF

DGGFD||ABVFD||GFSDH||BCDDG

i need the results string values inĀ  column to be shown as below , with ascending order

ABC||BCD||CDF || FCD

ABVFD||BCDDG||DGGFD||GFSDH

is there any custom function or code that anybody has in handy, i have already explored the split function , but split function can only deconcatenate the string values i want them in concatenated

format in ascending order.

let me know if my description is not clear, thanks in advance

This post has been answered by Solomon Yakobson on Nov 9 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2014
Added on Nov 9 2014
5 comments
995 views