Hi,
To check which options are available in any release of SQL*Loader use this command:
sqlldr help=y
From the above post(Posted by: unknown)
He/She mentioned that
Control file to load data:load data
infile 'c:\data\mydata.csv'
into table emp
fields terminated by "," optionally enclosed by "'"
(empno,
empname,
sal,
deptno
hiredate date "ddmonyyyy"
)
This will automatically creates a log file and a bad file which will have the log details and rejected data respectively.
Yes by typing this " sqlldr username@server/password control=loader.ctl" on the command prompt, log file file will get generated.
But to get bad file , you need to include
BADFILE 'c:\temp\filename.bad' in the control file.
You can learn much more from here
Admin - retouched as per the rules