Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sqlload
Tom,
I am afraid you are wrong there, a parameter file can be used to run a sqlloader script
The syntax that Fawzia uses is correct although as per imp/exp it would be better to put all the parameters in the parfile file
I spent years not knowing that and in frustration posted to the list and was immediately shown how to do it
Interesting to see if this reply makes it to the list as the last one I posted about 2 hours ago never got there.
John
-----Original Message-----
Sent: 02 September 2003 19:05
To: Multiple recipients of list ORACLE-L
Fawzia,
Try the following (change parfile= to control=)
sqlldr control=pants.ctl log=me.log
parfile is for imp/exp.
Good Luck!
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Tuesday, September 02, 2003 1: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).
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 Sep 03 2003 - 11:44:26 CDT