<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Grouping by Multiple Columns to Single Column as A String</title>
	<atom:link href="http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 22 May 2013 19:03:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: mis</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-454047</link>
		<dc:creator><![CDATA[mis]]></dc:creator>
		<pubDate>Thu, 11 Apr 2013 20:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-454047</guid>
		<description><![CDATA[How to put every value of CSV into another column ?]]></description>
		<content:encoded><![CDATA[<p>How to put every value of CSV into another column ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smith</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-446613</link>
		<dc:creator><![CDATA[smith]]></dc:creator>
		<pubDate>Fri, 29 Mar 2013 14:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-446613</guid>
		<description><![CDATA[This is great.. but now if the same was to come into one column than.. 
Col
1
A
B
C
2
A
B
C
D
E]]></description>
		<content:encoded><![CDATA[<p>This is great.. but now if the same was to come into one column than..<br />
Col<br />
1<br />
A<br />
B<br />
C<br />
2<br />
A<br />
B<br />
C<br />
D<br />
E</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Someone</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-425224</link>
		<dc:creator><![CDATA[Someone]]></dc:creator>
		<pubDate>Thu, 21 Feb 2013 15:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-425224</guid>
		<description><![CDATA[It should be 

FOR XML PATH(&#039;&#039;)),1,2,&#039;&#039;) AS CSV

and not 

FOR XML PATH(&#039;&#039;)),1,1,&#039;&#039;) AS CSV

as it will leave a comma at the beginning.]]></description>
		<content:encoded><![CDATA[<p>It should be </p>
<p>FOR XML PATH(&#8221;)),1,2,&#8221;) AS CSV</p>
<p>and not </p>
<p>FOR XML PATH(&#8221;)),1,1,&#8221;) AS CSV</p>
<p>as it will leave a comma at the beginning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-422118</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 15 Feb 2013 13:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-422118</guid>
		<description><![CDATA[Are you using MySQL? This site is for SQL Server]]></description>
		<content:encoded><![CDATA[<p>Are you using MySQL? This site is for SQL Server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhavik</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-414226</link>
		<dc:creator><![CDATA[Bhavik]]></dc:creator>
		<pubDate>Mon, 28 Jan 2013 19:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-414226</guid>
		<description><![CDATA[Dear Pinal,
Solution You have provided is not working for SQL COMPACT EDITION 3.5.

Following is the Error Message:
&quot;There was an error parsing the query. [ Token line number = 2,Token line offset = 8,Token in error = SELECT ]&quot;

Please help on this issue.

Regards,
Bhavik]]></description>
		<content:encoded><![CDATA[<p>Dear Pinal,<br />
Solution You have provided is not working for SQL COMPACT EDITION 3.5.</p>
<p>Following is the Error Message:<br />
&#8220;There was an error parsing the query. [ Token line number = 2,Token line offset = 8,Token in error = SELECT ]&#8221;</p>
<p>Please help on this issue.</p>
<p>Regards,<br />
Bhavik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maheswari</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-409298</link>
		<dc:creator><![CDATA[Maheswari]]></dc:creator>
		<pubDate>Fri, 18 Jan 2013 08:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-409298</guid>
		<description><![CDATA[i am also want this type of result for my table. pls help]]></description>
		<content:encoded><![CDATA[<p>i am also want this type of result for my table. pls help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satish</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-378504</link>
		<dc:creator><![CDATA[Satish]]></dc:creator>
		<pubDate>Thu, 22 Nov 2012 06:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-378504</guid>
		<description><![CDATA[Nice Article!
How  can I achieve the following. The columns are depend on the values of CSV
EX: 
ID  CSV
1    A
1    B
2    A
2    B
2    C
2    D

ID CSV1 CSV2 CSV3 CSV4 
1    A       B        C      
2    A       B        C      D          

Thanks
Sathish]]></description>
		<content:encoded><![CDATA[<p>Nice Article!<br />
How  can I achieve the following. The columns are depend on the values of CSV<br />
EX:<br />
ID  CSV<br />
1    A<br />
1    B<br />
2    A<br />
2    B<br />
2    C<br />
2    D</p>
<p>ID CSV1 CSV2 CSV3 CSV4<br />
1    A       B        C<br />
2    A       B        C      D          </p>
<p>Thanks<br />
Sathish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zee</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-370451</link>
		<dc:creator><![CDATA[Zee]]></dc:creator>
		<pubDate>Tue, 06 Nov 2012 21:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-370451</guid>
		<description><![CDATA[Hi 
I like to GROUP BY a varchar not an int , what changes do I have to do,
Thanks

I am Getting This:
Conversion failed when converting the varchar value &#039;H123&#039; to data type int.
Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I like to GROUP BY a varchar not an int , what changes do I have to do,<br />
Thanks</p>
<p>I am Getting This:<br />
Conversion failed when converting the varchar value &#8216;H123&#8242; to data type int.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-357941</link>
		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Tue, 09 Oct 2012 15:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-357941</guid>
		<description><![CDATA[NIce! but I have a question.

What is FOR XML PATH(&#039;&#039;) for ??]]></description>
		<content:encoded><![CDATA[<p>NIce! but I have a question.</p>
<p>What is FOR XML PATH(&#8221;) for ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sriram</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-350488</link>
		<dc:creator><![CDATA[Sriram]]></dc:creator>
		<pubDate>Tue, 18 Sep 2012 15:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-350488</guid>
		<description><![CDATA[This works great! However with a small modification it can go a wee bit forward:

-- Get CSV values
SELECT t.ID, STUFF(
(SELECT &#039;,&#039; + s.Col
FROM TestTable s
WHERE s.ID = t.ID
FOR XML PATH(&#039;&#039;), TYPE).value(&#039;.&#039;, &#039;VARCHAR(MAX)&#039;),1,1,&#039;&#039;) AS CSV
FROM TestTable AS t
GROUP BY t.ID
GO 

Adding TYPE ensures that it is available as XML object and doing a type cast to varchar ensure that all the xml-sensitive characters would be converted back from XML. If one of the value was &quot;Me &amp; You&quot; the output would be the same.]]></description>
		<content:encoded><![CDATA[<p>This works great! However with a small modification it can go a wee bit forward:</p>
<p>&#8211; Get CSV values<br />
SELECT t.ID, STUFF(<br />
(SELECT &#8216;,&#8217; + s.Col<br />
FROM TestTable s<br />
WHERE s.ID = t.ID<br />
FOR XML PATH(&#8221;), TYPE).value(&#8216;.&#8217;, &#8216;VARCHAR(MAX)&#8217;),1,1,&#8221;) AS CSV<br />
FROM TestTable AS t<br />
GROUP BY t.ID<br />
GO </p>
<p>Adding TYPE ensures that it is available as XML object and doing a type cast to varchar ensure that all the xml-sensitive characters would be converted back from XML. If one of the value was &#8220;Me &amp; You&#8221; the output would be the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Haresh Ambaliya</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-346404</link>
		<dc:creator><![CDATA[Haresh Ambaliya]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 16:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-346404</guid>
		<description><![CDATA[Create function that will return comma separated value by Id like

Create function [dbo].[GetCSV](@Id int)
Returns nvarchar(Max) 
as 
Begin 
Declare @ListStr nvarchar(Max)
set @ListStr = &#039;&#039;
select @ListStr = @ListStr + Col + &#039;,&#039;  from TestTable where Id = @Id
Return substring(@ListStr,1,len(@ListStr)-1)
End

Then use that function as

Select Id,dbo.GetCSV(Id) from TestTable group by Id

Its as easy as simple query writing.]]></description>
		<content:encoded><![CDATA[<p>Create function that will return comma separated value by Id like</p>
<p>Create function [dbo].[GetCSV](@Id int)<br />
Returns nvarchar(Max)<br />
as<br />
Begin<br />
Declare @ListStr nvarchar(Max)<br />
set @ListStr = &#8221;<br />
select @ListStr = @ListStr + Col + &#8216;,&#8217;  from TestTable where Id = @Id<br />
Return substring(@ListStr,1,len(@ListStr)-1)<br />
End</p>
<p>Then use that function as</p>
<p>Select Id,dbo.GetCSV(Id) from TestTable group by Id</p>
<p>Its as easy as simple query writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rama Mathanmohan</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-346099</link>
		<dc:creator><![CDATA[Rama Mathanmohan]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 13:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-346099</guid>
		<description><![CDATA[Select ID,SUBSTRING(
		(Select COALESCE(&#039;,&#039;+Col,&#039;&#039;)
			From TestTable
			Where ID = Master.ID
			For Xml Path(&#039;&#039;)),2,500000) As CSV
From TestTable as Master 
Group By ID]]></description>
		<content:encoded><![CDATA[<p>Select ID,SUBSTRING(<br />
		(Select COALESCE(&#8216;,&#8217;+Col,&#8221;)<br />
			From TestTable<br />
			Where ID = Master.ID<br />
			For Xml Path(&#8221;)),2,500000) As CSV<br />
From TestTable as Master<br />
Group By ID</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranjit</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345883</link>
		<dc:creator><![CDATA[Ranjit]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 10:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345883</guid>
		<description><![CDATA[Here is the another solution using Recursive CTEs ..
But   FOR XML PATH(&#039;&#039;)  query  giving good performance compare to this.. 

;WITH Rnumcte1 AS 
( 
        SELECT  ROW_NUMBER() OVER (PARTITION BY id ORDER BY id,Col) AS Rnum,id,cast(Col as varchar(max)) Col
        FROM TestTable
) 
,Rnumcte2 AS 
( 
        SELECT  Rnum,id,Col 
        FROM  Rnumcte1 
        WHERE Rnum = 1 
        
        UNION ALL 
        
        SELECT  r1.Rnum,r1.id,r2.Col + &#039;,&#039; + r1.Col 
        FROM  Rnumcte1 r1 
        INNER JOIN Rnumcte2 r2 ON  r1.id = r2.id AND  r1.Rnum = r2.Rnum + 1 
) --select * from Rnumcte2
SELECT  r2.id,r2.Col 
FROM    ( 
        SELECT id,MAX(Rnum)maxRnum 
        FROM Rnumcte1 
        GROUP BY id 
		) r1 
INNER JOIN Rnumcte2 r2 ON r1.id = r2.id AND r1.maxRnum = r2.Rnum
ORDER BY r2.id]]></description>
		<content:encoded><![CDATA[<p>Here is the another solution using Recursive CTEs ..<br />
But   FOR XML PATH(&#8221;)  query  giving good performance compare to this.. </p>
<p>;WITH Rnumcte1 AS<br />
(<br />
        SELECT  ROW_NUMBER() OVER (PARTITION BY id ORDER BY id,Col) AS Rnum,id,cast(Col as varchar(max)) Col<br />
        FROM TestTable<br />
)<br />
,Rnumcte2 AS<br />
(<br />
        SELECT  Rnum,id,Col<br />
        FROM  Rnumcte1<br />
        WHERE Rnum = 1 </p>
<p>        UNION ALL </p>
<p>        SELECT  r1.Rnum,r1.id,r2.Col + &#8216;,&#8217; + r1.Col<br />
        FROM  Rnumcte1 r1<br />
        INNER JOIN Rnumcte2 r2 ON  r1.id = r2.id AND  r1.Rnum = r2.Rnum + 1<br />
) &#8211;select * from Rnumcte2<br />
SELECT  r2.id,r2.Col<br />
FROM    (<br />
        SELECT id,MAX(Rnum)maxRnum<br />
        FROM Rnumcte1<br />
        GROUP BY id<br />
		) r1<br />
INNER JOIN Rnumcte2 r2 ON r1.id = r2.id AND r1.maxRnum = r2.Rnum<br />
ORDER BY r2.id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sj</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345465</link>
		<dc:creator><![CDATA[Sj]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 06:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345465</guid>
		<description><![CDATA[Here is an interesting read which pretty much talks everything about the various ways to above problem. Author Anith Sen have done quite extensive work to explain various ways:

http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/]]></description>
		<content:encoded><![CDATA[<p>Here is an interesting read which pretty much talks everything about the various ways to above problem. Author Anith Sen have done quite extensive work to explain various ways:</p>
<p><a href="http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/" rel="nofollow">http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harsh</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345448</link>
		<dc:creator><![CDATA[harsh]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 06:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345448</guid>
		<description><![CDATA[This could be alternative solution.


;WITH CTE (SRNO,ID,COL)
AS
(
SELECT  ROW_NUMBER() OVER (PARTITION BY ID ORDER BY ID,COL) AS SRNO,ID,CAST(COL AS VARCHAR(MAX)) FROM TESTTABLE 
)
,CTE1(SRNO,ID,COL)
AS
(
SELECT * FROM CTE WHERE SRNO=1
UNION ALL
SELECT CTE.SRNO AS SRNO, CTE.ID,CAST (CTE1.COL + &#039;,&#039; + CTE.COL AS VARCHAR(MAX)) FROM  CTE INNER JOIN CTE1
ON CTE.ID=CTE1.ID AND CTE.SRNO=CTE1.SRNO+1
)
SELECT ID, MAX(COL) AS CSV FROM CTE1 GROUP BY CTE1.ID]]></description>
		<content:encoded><![CDATA[<p>This could be alternative solution.</p>
<p>;WITH CTE (SRNO,ID,COL)<br />
AS<br />
(<br />
SELECT  ROW_NUMBER() OVER (PARTITION BY ID ORDER BY ID,COL) AS SRNO,ID,CAST(COL AS VARCHAR(MAX)) FROM TESTTABLE<br />
)<br />
,CTE1(SRNO,ID,COL)<br />
AS<br />
(<br />
SELECT * FROM CTE WHERE SRNO=1<br />
UNION ALL<br />
SELECT CTE.SRNO AS SRNO, CTE.ID,CAST (CTE1.COL + &#8216;,&#8217; + CTE.COL AS VARCHAR(MAX)) FROM  CTE INNER JOIN CTE1<br />
ON CTE.ID=CTE1.ID AND CTE.SRNO=CTE1.SRNO+1<br />
)<br />
SELECT ID, MAX(COL) AS CSV FROM CTE1 GROUP BY CTE1.ID</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chintak</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345424</link>
		<dc:creator><![CDATA[Chintak]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 06:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345424</guid>
		<description><![CDATA[Just added info in post
http://beyondrelational.com/modules/2/blogs/115/posts/17683/grouping-by-multiple-columns-to-single-column-as-a-string.aspx]]></description>
		<content:encoded><![CDATA[<p>Just added info in post<br />
<a href="http://beyondrelational.com/modules/2/blogs/115/posts/17683/grouping-by-multiple-columns-to-single-column-as-a-string.aspx" rel="nofollow">http://beyondrelational.com/modules/2/blogs/115/posts/17683/grouping-by-multiple-columns-to-single-column-as-a-string.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: visualtalks</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345423</link>
		<dc:creator><![CDATA[visualtalks]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 06:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345423</guid>
		<description><![CDATA[1. We&#039;re not allowed CLR into prod, so that solution fails.
2. How about if you have nvarchar() for data types instead of single values? :-). Hint: SPLIT function...
3. Uh-oh, I actually created a different puzzle altogether...]]></description>
		<content:encoded><![CDATA[<p>1. We&#8217;re not allowed CLR into prod, so that solution fails.<br />
2. How about if you have nvarchar() for data types instead of single values? :-). Hint: SPLIT function&#8230;<br />
3. Uh-oh, I actually created a different puzzle altogether&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grzegorz Łyp</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345366</link>
		<dc:creator><![CDATA[Grzegorz Łyp]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 05:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345366</guid>
		<description><![CDATA[This solution is extreme inefficient if you want to get thousands of records. The best solution for the short concatenations (less then 4000 characters) is to create clr aggregation function with StringBuilder class inside clr code. For the longer concatenations you can build clr function that has query as an argument and results in concatenated value of nvarchar(max) type. This time again you can use StringBuilder class inside clr code. The problem is with resource allocation. Every time you perform concatenation you need to allocate new bigger space. In the StringBuilder solution you take the concatenation elements and create single buffer for all elements. There is no waste of time for memory allocations for single concatenations.]]></description>
		<content:encoded><![CDATA[<p>This solution is extreme inefficient if you want to get thousands of records. The best solution for the short concatenations (less then 4000 characters) is to create clr aggregation function with StringBuilder class inside clr code. For the longer concatenations you can build clr function that has query as an argument and results in concatenated value of nvarchar(max) type. This time again you can use StringBuilder class inside clr code. The problem is with resource allocation. Every time you perform concatenation you need to allocate new bigger space. In the StringBuilder solution you take the concatenation elements and create single buffer for all elements. There is no waste of time for memory allocations for single concatenations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh</title>
		<link>http://blog.sqlauthority.com/2012/09/14/sql-server-grouping-by-multiple-columns-to-single-column-as-a-string/#comment-345353</link>
		<dc:creator><![CDATA[Naresh]]></dc:creator>
		<pubDate>Fri, 14 Sep 2012 05:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20702#comment-345353</guid>
		<description><![CDATA[I have been using SQL CLR to do this kind of string aggregation, but not sure if that is more efficient than this one or not.]]></description>
		<content:encoded><![CDATA[<p>I have been using SQL CLR to do this kind of string aggregation, but not sure if that is more efficient than this one or not.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
