-
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 in Advance
manjunath
-
When you put the user put:
scott@alias
Where alias is the same text you put in connect string or database in other tools
-
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
-
Ok.
Then put the variable TWO_TASK=alias
In DOS
C:\>set TWO_TASK=alias
In Unix
$ TWO_TASK=alias
$ export TWO_TASK
-
well, the problem persists.
Should I do something about OCISessionBegin?
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
-
thanks, but i am just typing sqlldr; at the c: prompt!
manjunath
-
Can u write something about the environment and the problem in detail.
-
How are you writing the command?
you put?
C:\>sqlldr
And then the error appears?
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|