Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Comma delimited values into rows
"johnv" <jverburgt_at_cme.com> wrote in message
news:1147228657.310936.108380_at_j33g2000cwa.googlegroups.com...
> I have this string in a field called 'ID':
>
> 1000,1001,1002,...n
>
> In sql only, how can i write a view that treats the comma as a new row
> so that my result set reads as:
>
> ID
> -------
> 1000
> 1001
> 1002
>
Actually you can turn this into a type and cast the type to a table (
the_type) search on asktom.oracle.com
Jim
Received on Wed May 10 2006 - 00:00:15 CDT