标签: sql-server casting
如何将bigint变量转换为字符串?
DECLARE @id bigint
答案 0 :(得分:35)
select CAST(@id as varchar(max))