From Roland.Skoldblom@ica.se Wed, 14 Nov 2001 00:29:03 -0800
From: Roland.Skoldblom@ica.se
Date: Wed, 14 Nov 2001 00:29:03 -0800
Subject: Ang: RE: Sqlloader - important
Message-ID: <F001.003C4242.20011113234521@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain



Yes and i should have checked the  error more myself but was tired

Roland





DBarbour@austin.isd.tenet.edu@fatcity.com den 2001-11-13 15:05 PST

Sänd svar till ORACLE-L@fatcity.com

Sänt av:  root@fatcity.com


Till: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
Kopia:


I think it's really amazing how many people spotted the error.

David A. Barbour
Oracle DBA, OCP
AISD
512-414-1002



                    "Mercadante,
                    Thomas F"              To:     Multiple recipients of list 
ORACLE-L <ORACLE-L@fatcity.com>
                    <NDATFM@labor.st       cc:
                    ate.ny.us>             Subject:     RE: Sqlloader - important
                    Sent by:
                    root@fatcity.com


                    11/13/2001 10:40
                    AM
                    Please respond
                    to ORACLE-L






You are missing a comma and another single quote:

orig==> (KAMPANJTYP_ID "DECODE(:KAMPANJTYP_ID,'?','98'!','97',
:KAMPANJTYP_ID)",

new==>  (KAMPANJTYP_ID "DECODE(:KAMPANJTYP_ID,'?','98','!','97',
:KAMPANJTYP_ID)",

Hope this helps!  :)


Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Tuesday, November 13, 2001 10:45 AM
To: Multiple recipients of list ORACLE-L


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@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@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: Mercadante, Thomas F
  INET: NDATFM@labor.state.ny.us

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@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: DBarbour@austin.isd.tenet.edu

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@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: Roland.Skoldblom@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@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).




