Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> SQL*Loader and Double Quotes
I'm having problems loading data containing double quotes using
SQL*Loader.
For example, in the following two lines of my data file, the second one is being rejected.
AB3019A2,"CAMBRIDGE ROAD"
GR7013B5,"NEXT TO THE"RED LION""
I've tried a few things already, including using the REPLACE function
as shown in the control file below, but not had much success. Does
anyone have any suggestions ?
OPTIONS (DIRECT=FALSE,SKIP=3,READSIZE=1000000,ERRORS=1000000,BINDSIZE=1000000,ROWS=1000,SILENT=(ALL))
LOAD DATA
REPLACE
INTO TABLE RAW_ADDRESS
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(S_REF CHAR
,STREET CHAR "REPLACE(:STREET, CHR(34))" )
Received on Tue Mar 04 2003 - 04:11:19 CST
![]() |
![]() |