摘要: select result=stuff((SELECT ','+cast([字段名] as varchar) FROM [表名] WHERE [条件]FOR XML PATH('')),1,1,'') 阅读全文
posted @ 2013-12-18 16:52 Johan-Choi 阅读(1305) 评论(0) 推荐(0) 编辑