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

Home -> Community -> Mailing Lists -> Oracle-L -> SQLLdr help needed

SQLLdr help needed

From: <Rick_Cale_at_teamhealth.com>
Date: Wed, 02 Oct 2002 08:18:45 -0800
Message-ID: <F001.004DE50E.20021002081845@fatcity.com>


Hi All,

Oracle 8.1.6 WinNT
I have been trying to use sqlldr and I am getting following error

Record 1: Rejected - Error on table "INTERVIEW", column COMMENTS. end of logical record found when reading length of varying length field

Here is sample record and control file.

Any ideas why I get this error. MetaLink says TRAILING NULLCOLS should correct. The field it is complaining is second to last field in input file.

37901|01/01/1970 04:59:10||LDMARCHI||||||||||| LOAD DATA
INFILE 'd:\oracle\admin\tmwktst3\scripts\BDUMPI2.txt' BADFILE 'd:\oracle\admin\tmwktst3\scripts\INTERVIEW.bad' insert
INTO TABLE INTERVIEW
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS
(PROFILE_NO,

INTERVIEW_DATE DATE 'MM/DD/YYYY HH24:MI:SS', FU_DATE DATE 'MM/DD/YYYY',
OPERATOR CHAR,
SOURCE CHAR,
APPEARANCE CHAR,
FAMILY CHAR,
LANGUAGE_SKILLS CHAR,
CAREER_PLANS CHAR,
MALPRACTICE_HIS CHAR,
ECONOMICS1 CHAR,
ECONOMICS2 CHAR,
MET_WITH CHAR,
COMMENTS varchar(4000) "SUBSTR(:COMMENTS,1,2000)", ROW_PROCESSED)

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

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Wed Oct 02 2002 - 11:18:45 CDT

Original text of this message

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