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

Home -> Community -> Usenet -> c.d.o.tools -> Re: SQL*Loader and BLOBs

Re: SQL*Loader and BLOBs

From: Marilee Niemi <marilee.j.niemi_at_sf.frb.org>
Date: 2000/04/12
Message-ID: <38F50797.B55D7BDD@sf.frb.org>#1/1

Well, I eventually figured this one out myself

First, the FILLER needed to be a CHAR so

LOAD DATA
INFILE 'dtf.dat'
INTO TABLE dba_1.testa
FIELDS TERMINATED BY ',' (stuff1 CHAR(10),
ext_fname FILLER CHAR(20),
stuff2 LOBFILE(ext_fname) TERMINATED BY EOF)

Second, there needs to be a comma at the end of every row in the INFILE.

ABCD,Stuff.gif,

Then it worked Received on Wed Apr 12 2000 - 00:00:00 CDT

Original text of this message

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