How can I cast a bigint variable to a string?
如何将bigint变量转换为字符串?
DECLARE @id bigint
1 个解决方案
#1
33
select CAST(@id as varchar(max))
#1
33
select CAST(@id as varchar(max))
How can I cast a bigint variable to a string?
如何将bigint变量转换为字符串?
DECLARE @id bigint
33
select CAST(@id as varchar(max))
33
select CAST(@id as varchar(max))