Control File Syntax
Detailed instructions to SQL*Loader are contained in a control file, which may contain entries with the following syntax:
[OPTIONS [SKIP=n
[,]] [LOAD=n
[,]] [ERRORS=n
[,]] [ROWS=n
[,]] [BINDSIZE=n
[,]] [SILENT={FEEDBACK | ERRORS | DISCARDS | ALL},]] [DIRECT={TRUE | FALSE}[,]] [PARALLEL={TRUE | FALSE}])] [{UNRECOVERABLE | RECOVERABLE}] {LOAD [DATA] | CONTINUE_LOAD [DATA]} [{INFILE | INDDN} {filename
| *} [CHARACTERSETcharsetname
] [os_options
] [READBUFFERSn
] [{INSERT | APPEND | REPLACE | TRUNCATE}] [{BADFILE | BADDN}filename
] [{DISCARDFILE | DISCARDDN}filename
] [{DISCARD | DISCARDMAX}n
] [{CONCATENATEn
| CONTINUEIF {[THIS | NEXT] [(start
[:end
]) | LAST}operator
{'string
' | X'hexstring
'}}] [PRESERVE BLANKS] INTO TABLE [schema
.]tablename
[INSERT | APPEND | REPLACE | TRUNCATE] [SORTED [INDEXES] (indexname
[, ...])] [SINGLEROW] [WHENcondition
[ANDcondition
...] [FIELDSdelimiter_spec
] [TRAILING [NULLCOLS]] [SKIPn
] [REENABLE [DISABLED_CONSTRAINTS] [EXCEPTIONStablename
] (column_name
{RECNUM | SYSDATE | CONSTANTvalue
| SEQUENCE [( {n
| MAX | COUNT} [,incr
] ) |column_spec
} [POSITION ({start
| * [+n
]} [{: | -}end
]})] [datatype_spec
] [PIECED] [NULLIF ({fieldname
| {start
| * [+n
]} [{: | -}end
]})operator
{'string
' | X'hexstring
' | BLANKS]] [DEFAULTIF ({fieldname
| {start
| * [+n
]} [{: | -}end
]})operator
{'string
' | X'hexstring
' | BLANKS]] [, ...] )
- OPTIONS
Allows you to specify runtime parameters in the control file, rather than on the command line. Values specified ...
Get Oracle Database Administration: The Essential Refe now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.