One more choice of solving this problem I have found meantime
Stepan RYBAR, December 10, 2014 - 3:57 pm UTC
One more choice of solving this problem I have found meantime
on Unix: cat myFile.dat | sqlldr ... control=my.ctl data=\"-\"
on Windows: type myFile.dat | sqlldr ... control=my.ctl data=\"-\"
and my.ctl contains
infile "-" "str x'1e'"
December 10, 2014 - 4:37 pm UTC
thanks - that's great
Usage of "-\" in data parameter
Rajeshwaran Jeyabal, December 22, 2014 - 12:48 pm UTC
Tom / Stepan,
Can any one of you explain the usage of "-\" in the data parameter ? also instead of having a filename what does this "-" mean in the INFILE parameter (inplace of filename specification) in control file ? But I am able to get the STR part (using STR attribute, we can define a new end of line character)
December 22, 2014 - 7:43 pm UTC
dash is unix for stdin - standard input. it tells the program to read from the console instead of a regular file. That is why you "type" or "cat" the file into the program.
another way
Artem, June 11, 2015 - 4:46 pm UTC
Hi
It is possible to specify inside ctl
infile 'AnyName.txt' "str x'1e'"
and specify another name of file in cmd line. SQLLDR will load file what specified in cmd line with str option from ctl. Name of DataFile in ctl does not matter in this case
Where r you
Fahd, July 21, 2015 - 7:49 am UTC
Where are you tom, Absent from 7 months. Such a long absent.
Is this end of AskTom?
Dilip Patel, August 06, 2015 - 8:54 pm UTC
Tom,
Its been more than 7 months and you are not around this site. Is this end of AskTom?
Thanks,
Dilip