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 CSV data held in a CLOB into columns

Re: Convert CSV data held in a CLOB into columns

From: jeremy <jeremy0505_at_gmail.com>
Date: Sat, 8 Dec 2007 19:30:27 -0000
Message-ID: <MPG.21c50132de4376f798a4c6@news.individual.net>


In article <1197136923.818884_at_bubbleator.drizzle.com>, DA Morgan says...
> > Can a CLOB be referred to as an external table? If so then we can keep
> > the entire process IN the database and cut out steps like establishing
> > directory objects, placing CSV file in corresponding o/s directory etc.
>
> In theory an external table should be able to handle anything that
> SQL*Loader can handle. They are essentially the same technology.

Was this in response to my question? I can see how useful external tables can be but am looking to see if there is a way that the contents of a CLOB might be treated the same - is there a way to tell Oracle "look at the content of this CLOB and treat it like it is an external table containing CSV content".

Alternatively, might we take the CLOB content, write it out via UTL_FILE then refer to it as an external table?

As I said, I would certainly like to be able to do all the work without any depdency on referencing files on the o/s.

>
> http://tahiti.oracle.com
>

Thanks, I know that reference.

-- 
jeremy
Received on Sat Dec 08 2007 - 13:30:27 CST

Original text of this message

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