By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,965 Members | 1,757 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,965 IT Pros & Developers. It's quick & easy.

TAB delimited data and SQL*LOADER

P: 9
Hello again, I am having a problem to import data in my tables with SQL loader.
I have made the following control file with textpad and saved it in UNIX format as a *. txt file which I named MY_CROPS.CTL
LOAD DATA
INFILE /home/klein/mein/data/MY_CROPS.DAT
REPLACE
INTO TABLE MY_CROPS
FIELDS TERMINATED BY X'09'OPTIONALLY ENCLOSED BY ""
(CROP, NAME, START_OF_SEASON, END_OF_SEASON)

The MY_CROPS.CTL file is stored in /home/klein/mein/control_files/MY_CROPS.CTL

When I try to run sqlldr control=/home/klein/mein/control_files/MY_CROPS.CTL discard=/home/klein/mein/discard_files/MY_CROPS.dsc SKIP=2 in UXIX I get the following error:

SQL*Loader-350: Syntax error at line 2.
Illegal combination of non-alphanumeric characters

I tried to put <> in my path but didnt work... what are my other options please? trying to solve it for ages now...
Oct 15 '07 #1
Share this Question
Share on Google+
1 Reply


P: 9
problem solved!! Hope that you can help me another time :) I just deleted OPTIONALLY ENCLOSED BY "" and it worked...
Oct 15 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.