<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Database Programming: The String Concatenation XML Trick</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx</link><description>Courtesy of my good friend and once-and-always colleague, Lance Larsen, who writes: I recently ran into this little trick. Joining two tables having a one-to-many relationship and stuffing a set of column values from the many side into a single column</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Database Programming: The String Concatenation XML Trick</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#2999706</link><pubDate>Fri, 14 Mar 2008 23:28:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2999706</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;This is a great technique, but there is a bit of a gotcha if you have any &amp;quot;special&amp;quot; characters in your strings (they can be &amp;quot;entitized&amp;quot; due to the fact that the FOR XML option is designed to produce XML) -- more info here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/07/06/871.aspx"&gt;http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/07/06/871.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Database Programming: The String Concatenation XML Trick Revisited (Or, Adam Is Right, But We Can Fix It)</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3001992</link><pubDate>Sat, 15 Mar 2008 12:22:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3001992</guid><dc:creator>Ward Pond's SQL Server blog</dc:creator><description>&lt;p&gt;A find shared by one friend leads to correspondence from another.. The redoubtable Adam Machanic left&lt;/p&gt;
</description></item><item><title>Database Programming: The String Concatenation XML Trick, Sans Entitization</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3014648</link><pubDate>Wed, 19 Mar 2008 03:20:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3014648</guid><dc:creator>Ward Pond's SQL Server blog</dc:creator><description>&lt;p&gt;When last we checked in on The Technique That Lance Found , Adam had noted that the method entitizes&lt;/p&gt;
</description></item><item><title>Database Programming: The String Concatenation XML Trick, Finalized</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3017452</link><pubDate>Fri, 21 Mar 2008 17:15:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3017452</guid><dc:creator>Ward Pond's SQL Server blog</dc:creator><description>&lt;p&gt;It's an especially Good Friday when we can close the loop on a technical conversation, and I believe&lt;/p&gt;
</description></item><item><title>May Glad Tidings be Upon You</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3171588</link><pubDate>Sat, 20 Dec 2008 18:55:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3171588</guid><dc:creator>Ward Pond's SQL Server blog</dc:creator><description>&lt;p&gt;UPDATED 20 Dec 2008 to fix links It’s that time of year again, when I disappear from the blogosphere&lt;/p&gt;
</description></item><item><title>Database Programming: The String Concatenation XML Trick, Revisited</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3207264</link><pubDate>Fri, 27 Feb 2009 06:31:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3207264</guid><dc:creator>Ward Pond's SQL Server blog</dc:creator><description>&lt;p&gt;I’ve got to pay more punctual attention to my comment pool.. RBarryYoung’s movingsql.com will be on my&lt;/p&gt;
</description></item><item><title>T-SQL Challenge: Grouped String Concatenation</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3207485</link><pubDate>Fri, 27 Feb 2009 21:24:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3207485</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;It's been quite a while since the LIKE vs ? Puzzle , and I feel like it's time for another one. Response&lt;/p&gt;
</description></item><item><title>re: Database Programming: The String Concatenation XML Trick</title><link>http://blogs.technet.com/wardpond/archive/2008/03/13/database-programming-the-string-concatenation-xml-trick.aspx#3237613</link><pubDate>Fri, 08 May 2009 15:42:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3237613</guid><dc:creator>z</dc:creator><description>&lt;p&gt;Thanks very much. That did solve my problem. &lt;/p&gt;</description></item></channel></rss>