Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: convert delimited string to rows ?

Re: convert delimited string to rows ?

From: Vladimir Begun <Vladimir.Begun_at_oracle.com>
Date: Thu, 06 Jun 2002 17:23:42 -0700
Message-ID: <3CFFFD0E.738480D@oracle.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US