Concat two column in a select statement sql server 2005

前端 未结 3 1183
野趣味
野趣味 2021-01-13 08:59

How to Concat two column in a select statement sql server 2005?

Here is my statement Select FirstName,secondName from Table...

Now i did try con

3条回答
  •  别那么骄傲
    2021-01-13 09:15

    do like this :

     select cast( FirstName as varchar)+' '+cast( secondName as varchar) from table
    

提交回复
热议问题