Sorry… Here’s a better link for Oracle7’s SQL Loader Control File Reference:
http://docs.oracle.com/cd/A57673_01/DOC/server/doc/SUT73/ch5a.htm#toc089
From: John Bowman [mailto:bounce-jbowman@toadworld.com]
Sent: Wednesday, September 24, 2014 2:17 PM
To: toadoracle@toadworld.com
Subject: RE: [Toad for Oracle - Discussion Forum] Trying to Insert data via Control file sql Loader
RE: Trying to Insert data via Control file sql Loader
Reply by John Bowman
Hi Hani,
Do you have the data you’re trying to insert listed in your control file as well? If you use “INFILE ***”,**SQL Loader will expect the data to exist within the control file itself, just after the “BEGINDATA” keyword. You’re using a pretty old version of Oracle, but I expect it would behave similar to more current versions of SQL Loader.
For more information on your version of SQL Loader, see the following:
http://docs.oracle.com/cd/A57673_01/DOC/dcommon/oin/index.htm
For similar documentation (which I think is a bit more straight-forward), see an updated version:
http://docs.oracle.com/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1008015
-John
From: hani.chahelli [mailto:bounce-hanichahelli@toadworld.com]
Sent: Wednesday, September 24, 2014 1:07 PM
To: toadoracle@toadworld.com
Subject: [Toad for Oracle - Discussion Forum] Trying to Insert data via Control file sql Loader
Trying to Insert data via Control file sql Loader
Thread created by hani.chahelli
Hi,
I am using SQLPlus to Insert data into temp table via sql Loader using Oracle 7i (old Server DB), it’s giving me an error saying:
ORA-00926: missing VALUES keyword
This is my control file, what I’m I missing?
LOAD DATA
INFILE *
replace
into table johntemp
fields terminated by ‘,’
OPTIONALLY ENCLOSED BY ‘"’
TRAILING NULLCOLS
(injured_party_id,
claim_sequence_nbr )
Thanks,
Hani
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
Flag
this post as spam/abuse.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
Flag
this post as spam/abuse.