如题
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后面还有些东西!
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后面还有些东西!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货