Skip to Main Content
Oracle Data Warehouse Tuning for 10g
book

Oracle Data Warehouse Tuning for 10g

by Gavin JT Powell
April 2011
Intermediate to advanced content levelIntermediate to advanced
504 pages
16h 49m
English
Digital Press
Content preview from Oracle Data Warehouse Tuning for 10g
378 13.4 Loading and Transformation
LOAD DATA INFILE . . .
INTO TABLE table1(
col1 CHAR(10),
col2 FILLER CHAR(12),
col3 CHAR(1) TERMINATED BY WHITESPACE)
TRUNCATE FIELDS TERMINATED BY "" TRAILING NULLCOLS
Control File Datatypes
SQL*Loader has a limited datatype set with specific commands for han-
dling different situations for each of the various datatypes, namely strings,
dates, and numbers.
Strings. CHAR[(n)] and VARCHAR[(n)].
DEFAULTIF col1=BLANKS sets to spaces or NULL.
NULLIF col1=BLANKS replace with NULL.
Dates. DATE, TIME, TIMESTAMP, and INTERVALs.
Numbers. Numbers are externally or internally defined.
EXTERNAL { INTEGER | FLOAT | DECIMAL ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle 10g Data Warehousing

Oracle 10g Data Warehousing

Lilian Hobbs, Susan Hillson, Shilpa Lawande, Pete Smith
Expert Oracle Enterprise Manager 12c

Expert Oracle Enterprise Manager 12c

Kellyn Pot'vin, Anand Akela, Gokhan Atil, Bobby Curtis, Alex Gorbachev, Niall Litchfield, Leighton Nelson, Pete Sharman

Publisher Resources

ISBN: 9781555583354