Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: convert delimited string to rows ?
Sunil wrote:
>
> I have a string
> 'rob:bob:tod:rod:mod'
> can I use any function to convert this into rows so that I can do something
> like
> SQL> select * from some_funct('rob:bob:tod:rod:mod')
> and get :-
SELECT a.p p
FROM THE (
SELECT CAST(sc2tab('abc:def:ghi') AS arr) FROM dual ) a
SELECT * FROM TABLE(sc2tab('abc:def:ghi')) /
-- Vladimir Begun The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation.Received on Thu Jun 06 2002 - 19:23:42 CDT