SQL*LOADER
Posted: 17 August 2005 02:57 AM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2005-04-13

Hi ,

How to load Data from two .Dat files using SQL*LOADER ? please give some example coding ..

thanks
thudi

Profile
 
 
Posted: 30 January 2006 02:03 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  8
Joined  2006-01-30

The simple solution I can think of is, write a shell script and invoke two SQL*Loader programs from that shell script.

-Reddi

Profile
 
 
Posted: 28 March 2006 08:46 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  14
Joined  2006-03-28

Hi,

Such scenarios can be easily handled by utl_file, instead of SQL*Loader. Or, you can concatenate the two files and then use a single sql*loader script. with one sql*loader script, i guess its not possible to pull out data from more than one data file.

Thanks,
Prakash

Profile
 
 
Posted: 29 March 2006 03:06 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  14
Joined  2006-03-28

Hi,

There are options to use more than one INFILE clauses used in .ctl file, with space delimeter.
Let me know..

Thanks,
Prakash

Profile
 
 
Posted: 11 April 2006 07:33 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  9
Joined  2006-04-09

Hi,

Yes I seem to recall that it is possible to specify more than one DATAFILE statements in a ctl file - don’t have any examples to hand unfortunately but am sure there will be some on the net and/or Metalink.

Regards, Mark.

 Signature 

_____________________________________
Mark Williams
Oracle Applications Consultant (Hybrid)

Phone: +31 (0) 20 503 5810
+44 (0) 1865 718138
+44 (0) 7979 757622
E-mail:

_______________________________________

Profile
 
 
Posted: 06 June 2006 12:25 PM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  4
Joined  2006-06-06

if the two files have to load the data to same table then using a shell script first concatenate both the files and then call sql ldr to load the data

Profile