Say you have
select '9|2|6|7|5' as somedata from dual
Is there a way where I could do something like:
select
in_string_sort('|', a.somedata)
from
(select '9|2|6|7|5' as somedata from dual) a
So the result would be '2|5|6|7|9'
?
I know, I could use a function to get that, but this is so basic I was wondering if Oracle would have some built-in function for this sort of thing.
[EDIT] forgot to mention: this would be in Oracle 10gR2.