开发者

Concatenate a Varchar and int [duplicate]

This question already has answers here: How to Concatenate Numbers and Stri开发者_Go百科ngs to Format Numbers in T-SQL? (10 answers) Closed 8 years ago.

I need to Concatenate a Varchar and int in T-SQL , !


SELECT ('VarValue' + CAST(32 AS VARCHAR))


varcharName + cast(intName as varchar) as full_name

Should do it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜