Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sqlload
Fawzia
At first glance, it appears that the error has something to do with the first lines of the file. Is there any possibility that you created/edited this file on a different system than you are running it on? It looks as if you have several blank lines at the top of the file. I would remove them. If you have a control file that works, you might scrutinize it carefully and make sure your file matches that one. Just a few ideas for you.
Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
Sent: Tuesday, September 02, 2003 12:20 PM
To: Multiple recipients of list ORACLE-L
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)
--
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).
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 - 12:34:32 CDT