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

Convert CSV data held in a CLOB into columns

From: jeremy <jeremy0505_at_gmail.com>
Date: Fri, 7 Dec 2007 22:05:37 -0000
Message-ID: <MPG.21c3d4061876f4e298a4c4@news.individual.net>


Oracle 10gR2

Would like to be able to support upload of a CSV file and then populate a "staging" table with its contents.

The thought was we could load the file into a BLOB (I should mention we're using OHS / mod_plsql so this is standard file upload)), convert it to CLOB and then (somehow) parse the content.

Antbody any pointers to examples where this has been done before?

Other suggestions? Have thought about external tables - perhaps that is a better approach?

-- 
jeremy		
Received on Fri Dec 07 2007 - 16:05:37 CST

Original text of this message

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