Home » RDBMS Server » Server Utilities » Using Oracle/Sql*loader to Transfer data from the textfile having lakhs of records
Using Oracle/Sql*loader to Transfer data from the textfile having lakhs of records [message #73770] Thu, 08 July 2004 23:29 Go to next message
Rambabu.N
Messages: 3
Registered: July 2004
Junior Member
Hi,

I am facing the problem while transfering data from text files into database by using Oracle sql*loader. Please kindly respond asap.

I supposed to Transfer data from text file which is having lakhs of records (tuples) . I tried the following comamnd at sql prompt

SQL> sqlldr userid=scott/tiger control='c:emp.ctl' data='c:emp.txt'

emp.ctl having the following code :

Load Data

infile *

append

into table emp fields terminated by ','  optionally enclosed by ' " '

(empno,ename,deptno,mgr)

 

and emp.txt contains bulk of tuples (nearly 1 lakh records).

I tried the above command , its working. but is is transfering only less than 100 records.

But i wanted to transfer all the records(1 lakh) at a time.

Please answer the above and help me .

Thanking you.

Regards,

Rams.

 
Re: Using Oracle/Sql*loader to Transfer data from the textfile having lakhs of records [message #73773 is a reply to message #73770] Fri, 09 July 2004 02:56 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
>>I tried the above command , its working. but is is transfering only less than 100 records.

sql*loader will read the txt file and load the data.
if there are some errors encountered, it will reject it.

loook into the logfile to find why the records are rejeected
Re: Using Oracle/Sql*loader to Transfer data from the textfile having lakhs of records [message #73775 is a reply to message #73773] Fri, 09 July 2004 22:54 Go to previous message
Rambabu.N
Messages: 3
Registered: July 2004
Junior Member
Thanx Mahesh.

Its working now. i have seen the log file, and i got the solution.

Thank u very much.
Previous Topic: installation of 10g server and client
Next Topic: import not importing
Goto Forum:
  


Current Time: Wed Dec 25 08:14:07 CST 2024