1、创建TB_USER.ctl文件
load data
characterset utf8
infile '/data/ctl_file/tb_user.1.txt'
infile '/data/ctl_file/tb_user.2.txt'
append into table TB_USER
fields terminated by '\t'
TRAILING NULLCOLS
(
ID, USER_NAME, PASSWORD
)
2、导入命令
sqlldr userid="user/password@ORACLE_SID" control="/data/ctl_file/TB_USER.ctl" errors="0" rows="64" log="/tmp/TB_USER.log"