Hello World!
摘要: 比如有语句selectusernamefromEmployee返回结果是:username张三李四王五怎么输出一个字符串类似:张三,李四,王五答:declare @s varchar(1000)select @s=isnull(@s+',','')+username from Employeeselect @s as username---------------------------------------------------------------------------- Author : htl258(Tony)-- Date : 2010-03- 阅读全文
posted @ 2012-11-06 18:00 世界万物 阅读(2929) 评论(0) 推荐(1) 编辑
Bye World!