SQLLoader
SQLLoader
s
p
p
2
1
R
s
s
E
y
k
S
Let Us Understand
Oracle SQL*Loader
e
l
c
a
r
O
11/6/16
Oracle Apps R12 By Satish K Yellanki (SkyEss Techno Solutions Pvt. Ltd.)
Slide : 1
a
r
O
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S
a
r
O
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S
Log
File
a
r
O
Tables
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S
SQL*Loader
Loader
Control
File
Bad
Files
Discard
Files
Database
Indexes
SQL*Loader Architecture
SQL*Loader Inputs
Control File, Which Controls The Behavior of SQL*Loader
One OR More Datafiles
SQL*Loader Outputs
Oracle Database Where The Data is Loaded
A Log File
A Bad File
A Discard File
Log File
Log File Tells Us The State of The Tables And Indexes
And The Number of Logical Records Already Read From
The Input Data File.
The Log File Information Can Be Used To Resume The
Load Where it as Left off Previously.
Bad File OR Reject File
Bad File OR Reject File Gives Us The Records That Were
Rejected Because of Formatting Errors OR Because They
Caused Oracle Errors.
Discard File
Discard File Specifies The Records That Do Not Meet Any
of The Loading Criteria Specified in The Control File.
The Records in Discard File Differ From Rejected Records.
a
r
O
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S
a
r
O
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S
a
r
O
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S
Command Line
Parameter
s
s
E
y
k
S
Description
2
1
R
USERID
CONTROL
Control Filename
LOG
Log Filename
BAD
Bad Filename
DATA
Datafile Name
DISCARD
DISCARDS
a
r
O
e
l
c
s
p
p
Discard Filename
Number of Discards To Terminate The Load (Default: ALL)
SKIP
LOAD
ERRORS
ROWS
BINDSIZE
SILENT
Command Line
Parameter
Description
DIRECT
PARFILE
Parameter Filename
PARALLEL
FILE
s
s
E
y
k
S
2
1
SQLLDR USERID=SCOTT/TIGER
CONTROL=Load.CTL DATA=Load.DAT
s
p DATA=Load.DAT
Illustrative Example
SQLLDR PARFILE=Load.PAR
a
r
O
e
l
c
s
p
p
2
1
R
s
s
E
y
k
S