<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>More about self-reproducing T-SQL</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/10/26/485477.aspx</link><description>In yesterday's entry , I talked about self-replicating programs and how educational it can be to construct them. Commonly known in hacking parlance as quines , these self-reproducing programs force us to think about how our language works and are a good</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: More about self-reproducing T-SQL</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/10/26/485477.aspx#753359</link><pubDate>Thu, 14 Sep 2006 08:47:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:753359</guid><dc:creator>women</dc:creator><description>? good site, good short contents of the[url=&lt;a rel="nofollow" target="_new" href="http://plussizewomen.blogo.pl/"&gt;http://plussizewomen.blogo.pl/&lt;/a&gt;]plus size women[/url]good work ?ongratulations !&amp;lt;a href=&amp;quot; &lt;a rel="nofollow" target="_new" href="http://plussizewomen.blogo.pl/"&gt;http://plussizewomen.blogo.pl/&lt;/a&gt; &amp;quot;&amp;gt;plus size women&amp;lt;/a&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=753359" width="1" height="1"&gt;</description></item><item><title>re: More about self-reproducing T-SQL</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/10/26/485477.aspx#489400</link><pubDate>Sat, 05 Nov 2005 15:36:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:489400</guid><dc:creator>Ian Pennington</dc:creator><description>I think this should be: &lt;br&gt;&lt;br&gt;exec sp_executesql N&amp;quot;print left(@,31)&lt;br&gt;&lt;br&gt;not 32 as you get a coule of extra quotes.&lt;br&gt;&lt;br&gt;Can anyone tell me why i'm getting a load of white space on the second to last line before the quote? Other than that it works OK.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=489400" width="1" height="1"&gt;</description></item><item><title>re: More about self-reproducing T-SQL</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/10/26/485477.aspx#487274</link><pubDate>Mon, 31 Oct 2005 18:10:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:487274</guid><dc:creator>Snark</dc:creator><description>another version:&lt;br&gt;&lt;br&gt;select replace ( a.a, char ( 37 ) + char ( 115 ), char ( 39 ) + a.a + char ( 39 ) ) from ( select 'select replace ( a.a, char ( 37 ) + char ( 115 ), char ( 39 ) + a.a + char ( 39 ) ) from ( select %s as a ) as a' as a ) as a&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=487274" width="1" height="1"&gt;</description></item><item><title>re: More about self-reproducing T-SQL</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/10/26/485477.aspx#485492</link><pubDate>Thu, 27 Oct 2005 08:47:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:485492</guid><dc:creator>Dean Harding</dc:creator><description>There's a bug in the first one.  It should be:&lt;br&gt;&lt;br&gt;exec sp_executesql N&amp;quot;print left(@,32)&lt;br&gt;&lt;br&gt;for the last two line (i.e. 32 instead of 29) otherwise it misses out on the '=' after the first 'set @' statement.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=485492" width="1" height="1"&gt;</description></item></channel></rss>