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: sqlload

Re: sqlload

From: Stephen Andert <StephenAndert_at_firsthealth.com>
Date: Tue, 02 Sep 2003 10:14:27 -0800
Message-ID: <F001.005CE8B0.20030902101427@fatcity.com>


Syntax looks right.

Does the operating system user have read privs on the csv file?

Does the database user running this have insert privs on the table?

If those are ok, then try retyping the first couple lines of the ctl file as there may be a hidden control character messing things up.

Good luck
Stephen

>>> Fawzia.Malik_at_bskyb.com 09/02/03 10:19AM >>>

PLEASE!!!! Can someone help??I have a sqlloader control file below and I am
getting the following error when I run it and I just cant see what is wrong!!!

Rgds

Fawzia
oracle_at_devnodea> sqlldr parfile=pants.ctl log=me.log LRM-00110: syntax error at 'LOAD'
LRM-00113: error when processing file 'pants.ctl'

Control file:

LOAD DATA
INFILE 'gazza2.csv'
APPEND
INTO TABLE olsr10_tlmif2.gazetteer1
fields terminated by ','
trailing nullcols
(postcode_prefix_spaced char,
filler1 char,
postcode_prefix char,
filler2 char,
postcode_range char,
filler3 char,
town char,
filler4 char,
county char,
valid_date char)



Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone.
Thank you for your co-operation.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Malik, Fawzia
  INET: Fawzia.Malik_at_bskyb.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).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephen Andert
  INET: StephenAndert_at_firsthealth.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 Tue Sep 02 2003 - 13:14:27 CDT

Original text of this message

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