select a + ' '+b as ab from tableName
如果是有整型的(例,b字段为int类型):
select a +' '+Convert(VARCHAR(50),b) as ab from tableName
如果是有小数的(例,b字段为float类型)
select a +' '+convert(varchar(20),convert(decimal(18,4),b)) as ab from tableName
注释:a,b为列名
select a + ' '+b as ab from tableName
如果是有整型的(例,b字段为int类型):
select a +' '+Convert(VARCHAR(50),b) as ab from tableName
如果是有小数的(例,b字段为float类型)
select a +' '+convert(varchar(20),convert(decimal(18,4),b)) as ab from tableName
注释:a,b为列名