两列合并成一列:
SELECT replace (str(ISNULL(uid, '') ) +'_'+str(ISNULL(info, '')),' ','') AS Name_Model
FROM sysobjects
replace:替换空格为空,把两列无缝链接在一起,这东东很好用,这次参数化省了我很多事
两列合并成一列:
SELECT replace (str(ISNULL(uid, '') ) +'_'+str(ISNULL(info, '')),' ','') AS Name_Model
FROM sysobjects
replace:替换空格为空,把两列无缝链接在一起,这东东很好用,这次参数化省了我很多事