先做数据类型转换后再写入table2.declare @phone1 float
declare @phone2 varchar(20)select @phone1=13750399327
select @phone2=rtrim(cast(@phone1 as bigint)) --> 数据类型转换select @phone2 'phone2'/*
phone2
--------------------
13750399327(1 行受影响)
*/
declare @phone2 varchar(20)select @phone1=13750399327
select @phone2=rtrim(cast(@phone1 as bigint)) --> 数据类型转换select @phone2 'phone2'/*
phone2
--------------------
13750399327(1 行受影响)
*/
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货