oracle sqlldr parameter description

sqlldr control file and parameter description:

load data // Control file identifier
CHARACTERSET 'UTF8' // Specify the character set used as UTF-8
infile 'D: \ data \ test3.csv' // Specify the location of the data file
append into table test_tab1 // Specify the table to import data
fields terminated by ',', 'optionally enclosed by' "'// The separation value between fields is a comma, the delimiting symbol is" "
TRAILING NULLCOLS // The fields with no value are set to empty
(
COMPANY, // From the data file The read column
STARTDATE Date "yyyy-mm-dd", // Set the date format
ENDDATE Date "yyyy-mm-dd",
ID "test.NEXTVAL", // The value of ID is the sequence  
IMPDATE "to_date ('2012 -06-30 21:30:36 ',' yyyy-mm-dd hh24: mi: ss') ", // Insert the value of the fixed date format
FLAG constant" open "// constant specifies to insert the default value"open "instead of reading records from the specified data file
)

 

导入命令:
sqlldr user/password control=test.ctl skip=1 load=200000 errors=100 rows=1000  bindsize=33554432

Parameter description:
user / password // Database username password
control // sqlldr control file location
skip = 1 // Indicates skip the first line, import from the second line
load = 200000 // Indicates not to import all data , Only import 200000 data after skip parameter
rows = 1000 // indicates the number of rows loaded at one time, the default value is 64, here is set to 1000
errors = 100 // indicates that after 100 errors, stop loading
bindsize = 33554432 // Indicates the size of the record buffer for each submission, the default is 256k

Guess you like

Origin www.cnblogs.com/JIKes/p/12709664.html