导入文本为sups.csv,windows下编辑的,编码为ansi
导入数据库为oracle12.1.0.2.0 字符集为AL32UTF8
注意:第一行跳过,字符集,字段分割,空白字段处理,单个字段默认最大255字符
控制文件: sups.ctl
options (skip=1,rows=128,errors=2) load data --characterset 'utf8' characterset 'ZHS16GBK' infile 'sups.csv' truncate into table hub.supplier_imp_sit_tmp fields terminated by ',' --fields terminated by X'07' --fields terminated by whitespace --fields terminated by X'09' optionally enclosed by '"' trailing nullcols (excel_no,bj_supplier,supplier,sup_name,sup_name_secondary,supplier_parent,contact_name,contact_phone,contact_fax,contact_pager,sup_status)