大家好!
我用sqlldr导入数据,文本中数据长度为11,导入表中时用length查看长度为12,我用trim,replace函数踢出字符,无劳而返,请问各位,该字段中的是什么字符?
我的控制文件为:
load data          
  infile './sjjf.tsv'
  append into table temp_wang_1010_sjjf
  fields terminated by X'09'  
  (mobile_no)
创建表的sql为:
create table temp_wang_1010_sjjf(mobile_no varchar2(20));
sjjf.tsv文件为手机号码(11位)