SQL逗号合并一列多行的值

 select stuff((select ','+行名 from 表名 for xml path('')),1,1,'')

posted @ 2019-08-01 11:11  winnerljs  阅读(392)  评论(0编辑  收藏  举报