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

Home -> Community -> Mailing Lists -> Oracle-L -> Re:Sqlloader - important

Re:Sqlloader - important

From: <dgoulet_at_vicr.com>
Date: Tue, 13 Nov 2001 10:37:31 -0800
Message-ID: <F001.003C37AE.20011113085021@fatcity.com>

Because you did make an error in the decode function.

Try changing DECODE(:KAMPANJTYP_ID,'?','98'!','97', :KAMPANJTYP_ID) to DECODE(:KAMPANJTYP_ID,'?','98','!','97', :KAMPANJTYP_ID)

Dick Goulet

____________________Reply Separator____________________
Author: Roland.Skoldblom_at_ica.se
Date:       11/13/2001 7:45 AM

Hallo,

Why does this sqlloader ctl file give me this errormessage?

the control file looks like:

load data
infile 'c:\kam\kampanj.txt'
TRUNCATE
into table kampanjtyp_kopia
FIELDS TERMINATED BY ';'
 (KAMPANJTYP_ID "DECODE(:KAMPANJTYP_ID,'?','98'!','97', :KAMPANJTYP_ID)", KAMPANJTYP_NAMN) SQL*Loader-944: error preparing insert statement for table KAMPANJTYP_KOPIA. ORA-01756: quoted string not properly terminated

Thanks in advance

Roland S

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Roland.Skoldblom_at_ica.se

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: dgoulet_at_vicr.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Nov 13 2001 - 12:37:31 CST

Original text of this message

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