Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Inserting from comma deliminated file
zbikie_at_gmail.com (Rich Sias) wrote in
news:d98bdb57.0410090952.27141b23_at_posting.google.com:
> 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
Just define the file as an external table
and write a PL/SQL procedure to read it
and populate the internal tables appropriately.
Just a Small Matter Of Programming (SMOP)!
Received on Sat Oct 09 2004 - 13:22:45 CDT