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: SQLLDR contrl file syntax question

Re: SQLLDR contrl file syntax question

From: FC <flavio_at_tin.it>
Date: Thu, 05 Jun 2003 13:18:50 GMT
Message-ID: <_qHDa.76408$g92.1743995@news2.tin.it>


I think the following will work, unfortunately I couldn't test it :

LOAD DATA
INFILE 'c:\test\test.dat'
INTO TABLE tblTest
REPLACE
WHEN POSITION(1:3) = '876'
FIELDS TERMINATED BY ',' optionally enclosed by '"' ( relevantInfo CHAR

   otherInfo CHAR
)

INTO TABLE tblTest
REPLACE
WHEN POSITION(1:4) = '"876'
FIELDS TERMINATED BY ',' optionally enclosed by '"' ( relevantInfo POSITION(1) CHAR

   otherInfo CHAR
)
Received on Thu Jun 05 2003 - 08:18:50 CDT

Original text of this message

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