T-SQL Tuesday # 16 : This is not the aggregate you're looking for

Posted by AaronBertrand on SQL Blog See other posts from SQL Blog or by AaronBertrand
Published on Tue, 08 Mar 2011 20:49:00 GMT Indexed on 2011/03/09 0:16 UTC
Read the original article Hit count: 433

This week, T-SQL Tuesday is being hosted by Jes Borland ( blog | twitter ), and the theme is " Aggregate Functions ." When people think of aggregates, they tend to think of MAX(), SUM() and COUNT(). And occasionally, less common functions such as AVG() and STDEV(). I thought I would write a quick post about a different type of aggregate: string concatenation. Even going back to my classic ASP days, one of the more common questions out in the community has been, "how do I turn a column into a comma-separated...(read more)

© SQL Blog or respective owner

Related posts about aggregates

Related posts about cursors