I created a file called ldr_test with delimited data.
I created a control file as follows:
---------
LOAD DATA
INFILE 'c:\ldr_test.txt'
into table scott.dept
fields terminated by ';'
(
deptno number(2),
dname varchar2(14),
loc varchar2(13)
)
------------
when I enter the value for control= c:\ldr_test1.txt, and enter the password as tiger,
i am getting the following error:
SQL*Loader-704: Internal error:ulconnect:OCISessionBegin [0]
ORA-01034:ORACLE not available
What is missing from my actions? Oracle is available when I run other SQL queries.
thanks ramon,
when i start sql*loader, it first asks control=.
Then when i enter the file name, it directly asks for the password. it does not ask for the user name.
manjunath
There is a bug in SQL*Loader when the characteres in the command are more than 31.
Try to shorten the total length of the command which invokes SQL*Loader
c:\>sqlldr;
then it prompts with 'control='
when i enter the full path of the file, then it asks for the password.I tried with both tiger(table in which i want to load was in a scott's schema) as well as system, and the result is the same, which is mentioned earlier.
Is there any thing to be taken care prior to invoking the sql*loader? I am using it for the first time, so.....
manjunath
Bookmarks