<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Fun with .NET and SQL Server</title>
	<atom:link href="http://3poundmass.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://3poundmass.wordpress.com</link>
	<description>Web development with Microsoft technologies</description>
	<lastBuildDate>Fri, 06 Nov 2009 15:53:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Convert table to CSV string in SQL Server by Gordon</title>
		<link>http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1178</link>
		<dc:creator>Gordon</dc:creator>
		<pubDate>Fri, 06 Nov 2009 15:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1178</guid>
		<description>Here&#039;s a faster variant of the code you gave:

DECLARE @Csv NVARCHAR(MAX)
SET @Csv = &#039;&#039;
SELECT @Csv = @Csv + COALESCE(Name, &#039;&#039;) + &#039;,&#039;
FROM Animals
SET @Csv = SUBSTRING(@Csv 1, LEN(@Csv) - 1)
SELECT @Csv

...and another even faster, albeit hacky variant:
DECLARE @Csv NVARCHAR(MAX)
SELECT @Csv =
(
	SELECT COALESCE(Name, &#039;&#039;) + &#039;,&#039;
	FROM Animal
	FOR XML PATH(&#039;&#039;)
)
SET @Csv = SUBSTRING(@Csv, 1, LEN(@Csv) - 1)
SELECT @Csv

(I&#039;m using SQL Server 2005)</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a faster variant of the code you gave:</p>
<p>DECLARE @Csv NVARCHAR(MAX)<br />
SET @Csv = &#8221;<br />
SELECT @Csv = @Csv + COALESCE(Name, &#8221;) + &#8216;,&#8217;<br />
FROM Animals<br />
SET @Csv = SUBSTRING(@Csv 1, LEN(@Csv) &#8211; 1)<br />
SELECT @Csv</p>
<p>&#8230;and another even faster, albeit hacky variant:<br />
DECLARE @Csv NVARCHAR(MAX)<br />
SELECT @Csv =<br />
(<br />
	SELECT COALESCE(Name, &#8221;) + &#8216;,&#8217;<br />
	FROM Animal<br />
	FOR XML PATH(&#8221;)<br />
)<br />
SET @Csv = SUBSTRING(@Csv, 1, LEN(@Csv) &#8211; 1)<br />
SELECT @Csv</p>
<p>(I&#8217;m using SQL Server 2005)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SQL Server 2008 will have IntelliSense by Chris</title>
		<link>http://3poundmass.wordpress.com/2007/11/30/sql-server-2008-will-have-intellisense/#comment-1177</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 04 Nov 2009 20:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/11/30/sql-server-2008-will-have-intellisense/#comment-1177</guid>
		<description>MS has committed to churning out a new SQL Server version every 2 to 3 years. So SQL Server 2011 will surely have better intellisense. I&#039;ve waited this long... pretty much don&#039;t need it anymore. Thanks anyway MS.</description>
		<content:encoded><![CDATA[<p>MS has committed to churning out a new SQL Server version every 2 to 3 years. So SQL Server 2011 will surely have better intellisense. I&#8217;ve waited this long&#8230; pretty much don&#8217;t need it anymore. Thanks anyway MS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert table to CSV string in SQL Server by Kyle</title>
		<link>http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1176</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Thu, 22 Oct 2009 22:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1176</guid>
		<description>SUUUUPER  handy, I never would have thought of that. Thanks a lot.

Amanda: I too need a list of ints so I&#039;ve modified it a bit to turn the ints into strings
select @csv = coalesce(@csv + &#039;, &#039;, &#039;&#039;) + LTRIM(STR(AnimalID)) from Animals</description>
		<content:encoded><![CDATA[<p>SUUUUPER  handy, I never would have thought of that. Thanks a lot.</p>
<p>Amanda: I too need a list of ints so I&#8217;ve modified it a bit to turn the ints into strings<br />
select @csv = coalesce(@csv + &#8216;, &#8216;, &#8221;) + LTRIM(STR(AnimalID)) from Animals</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert table to CSV string in SQL Server by Amanda</title>
		<link>http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1175</link>
		<dc:creator>Amanda</dc:creator>
		<pubDate>Thu, 15 Oct 2009 00:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1175</guid>
		<description>I could only create a list of varchar elements, what about a list of int?</description>
		<content:encoded><![CDATA[<p>I could only create a list of varchar elements, what about a list of int?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert table to CSV string in SQL Server by nbnew25</title>
		<link>http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1174</link>
		<dc:creator>nbnew25</dc:creator>
		<pubDate>Wed, 14 Oct 2009 04:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1174</guid>
		<description>Thank you very much.
It very good ^^</description>
		<content:encoded><![CDATA[<p>Thank you very much.<br />
It very good ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Exam 70-547 &#8211; MCPD &#8211; Web Developer by suchi goenka</title>
		<link>http://3poundmass.wordpress.com/2007/08/19/exam-70-547-mcpd-web-developer/#comment-1173</link>
		<dc:creator>suchi goenka</dc:creator>
		<pubDate>Mon, 12 Oct 2009 14:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/19/exam-70-547-mcpd-web-developer/#comment-1173</guid>
		<description>hi dis is suchi goenka want 2 know d syllabus for MCPD EXAMS</description>
		<content:encoded><![CDATA[<p>hi dis is suchi goenka want 2 know d syllabus for MCPD EXAMS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .NET Coding Guidelines &#8211; Commenting by sandrar</title>
		<link>http://3poundmass.wordpress.com/2007/07/26/coding-guidelines-commenting/#comment-1171</link>
		<dc:creator>sandrar</dc:creator>
		<pubDate>Thu, 10 Sep 2009 14:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/07/26/coding-guidelines-commenting/#comment-1171</guid>
		<description>Hi! I was surfing and found your blog post... nice! I love your blog.  :) Cheers! Sandra. R.</description>
		<content:encoded><![CDATA[<p>Hi! I was surfing and found your blog post&#8230; nice! I love your blog.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers! Sandra. R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert table to CSV string in SQL Server by waqar mir</title>
		<link>http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1170</link>
		<dc:creator>waqar mir</dc:creator>
		<pubDate>Thu, 10 Sep 2009 03:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1170</guid>
		<description>wow ... i was  looking for this  ....:)
thanks</description>
		<content:encoded><![CDATA[<p>wow &#8230; i was  looking for this  &#8230;.:)<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert table to CSV string in SQL Server by Facundo Báez</title>
		<link>http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1169</link>
		<dc:creator>Facundo Báez</dc:creator>
		<pubDate>Tue, 01 Sep 2009 15:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/08/22/convert-table-to-csv-string-in-sql-server/#comment-1169</guid>
		<description>Good Post! Thanks</description>
		<content:encoded><![CDATA[<p>Good Post! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Finding orphaned stored procedures and user-defined functions in SQL Server by Michael B</title>
		<link>http://3poundmass.wordpress.com/2007/11/22/finding-orphaned-stored-procedures-and-user-defined-functions-in-sql-server/#comment-1168</link>
		<dc:creator>Michael B</dc:creator>
		<pubDate>Thu, 11 Jun 2009 15:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://3poundmass.wordpress.com/2007/11/22/finding-orphaned-stored-procedures-and-user-defined-functions-in-sql-server/#comment-1168</guid>
		<description>Another way to refresh, from looking at this problem on other blogs, is this:

EXEC sys.sp_refreshsqlmodule &#039;dbo.MyProcFnOrView&#039;;</description>
		<content:encoded><![CDATA[<p>Another way to refresh, from looking at this problem on other blogs, is this:</p>
<p>EXEC sys.sp_refreshsqlmodule &#8216;dbo.MyProcFnOrView&#8217;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
