22,207
社区成员
发帖
与我相关
我的任务
分享
declare @phone1 float
declare @phone2 varchar(20)
select @phone1=13750399327
select @phone2=rtrim(cast(@phone1 as bigint)) --> 数据类型转换
select @phone2 'phone2'
/*
phone2
--------------------
13750399327
(1 行受影响)
*/