如题 
SQLSERVER 导入oracle 字符长度显示的长度和length获得的长度不一致
如:select  length(trim(t.khdm))  from customer t    ---  8000032694 显示为 19
    select length(trim(currkey))  from customer    ---RMB 显示为4
    select *  from customer where trim(t.currkey)='RMB'  不能查询出记录
   select *  from customer where t.currkey like 'RMB%' 可以查询出来
   也就是说RMB后面还有些东西!