SQL Loader
SQL Loader
It has a powerful data parsing engine that puts little limitation on the format of
data in the file.
SQL * Loader reads data from one or more files that are specified in the control
file.
A Particular data file can be in fixed record format, variable record format, or
stream
record format.
The record format can be specified in the control file with the INFILE parameter.
Control File
The Control File is a Text file that is written in a language that SQL * Loader
Understands.
The Control File indicates to SQL * Loader where to Find the data, how to parse
and
interpret the data, where to insert the Data.
Log File
When the SQL * Loader begin execution, it creates a log file. If it cannot create
a log file,
execution terminates.
The log file contains detailed summary of a load, including a description of any
errors
that occurred during the load.
Discard File
The file is created only when it is needed and only if you have specified that a
discard
file should be enabled.
The Discard file contains records that are filtered out of the load because they
do not
match any record - selection criteria specified in the control file
Bad File
The Bad file contains records that are rejected, either by SQL * Loader or by the
Oracle
Database.
Data file records are rejected by the SQL * Loader when the input format is
invalid.
After the data file record is accepted for processing by SQL * Loader, it is sent
to the
Oracle Database for inserting into a table as a row.
1,Raja,EEE
2,Tamil,ECE,
3,Arjun,CSE