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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Inserting from comma deliminated file

Re: Inserting from comma deliminated file

From: Bricklen <Xbricklen_at_yahoo.comX>
Date: Sat, 09 Oct 2004 18:03:03 GMT
Message-ID: <rJV9d.53078$a41.36101@pd7tw2no>


Rich Sias wrote:
> I have a comma deliminated file with the first 12 columns to load into
> an Oracle table. Cols 13 and up will go into another table. IDs from
> both will be put into a key file to match up both items.
>
> Does anyone have a method to load up form this for the first table? I
> also have a sequence to load into a 13th column. At one point I
> thought I could open the CDF as a table and select on it and insert
> into another table. I cannot find that reference now.
>
> Please include URLs etc for reference. I have searched the docs on
> Oracle but was unable to find the info.
>
> Rich Sias

Two simple methods off the top of my head:  >=9i, external tables
sqlldr (SQL Loader)

alternatively, DBD/DBI/perl etc

Tom has many examples of the first two at asktom.oracle.com Received on Sat Oct 09 2004 - 13:03:03 CDT

Original text of this message

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