<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>SQL Server Planet &#187; concatenate</title> <atom:link href="http://sqlserverplanet.com/tag/concatenate/feed/" rel="self" type="application/rss+xml" /><link>http://sqlserverplanet.com</link> <description>Tips and Articles on SQL Server</description> <lastBuildDate>Wed, 07 Jul 2010 05:16:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>Concatenate Rows</title><link>http://sqlserverplanet.com/sql/concatenate-rows/</link> <comments>http://sqlserverplanet.com/sql/concatenate-rows/#comments</comments> <pubDate>Thu, 04 Jun 2009 22:49:46 +0000</pubDate> <dc:creator>Derek Dieter</dc:creator> <category><![CDATA[SQL]]></category> <category><![CDATA[coalesce]]></category> <category><![CDATA[concatenate]]></category> <category><![CDATA[isnull]]></category><guid isPermaLink="false">http://sqlserverplanet.com/uncategorized/concatenating-multiple-row-value-strings-into-one-column/</guid> <description><![CDATA[This solution does not require a variable and it also allows you to do joins against other tables within one statement. The substring function removes the leading comma. Download the presidents table here. SELECT ColumnList = SUBSTRING( (SELECT ',' + ISNULL(President,'') FROM dbo.Presidents FOR XML PATH('')) ,2,8000) Using a common table expression (CTE) you can [...]]]></description> <wfw:commentRss>http://sqlserverplanet.com/sql/concatenate-rows/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 35/41 queries in 0.031 seconds using disk
Content Delivery Network via files.sqlserverplanet.com

Served from: sqlserverplanet.com @ 2010-07-31 09:08:19 -->