<?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/"
		>
<channel>
	<title>Comments on: Refactor This: Runaway T-SQL to Print YYMMDD</title>
	<atom:link href="http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/</link>
	<description>ramblings, discoveries, tutorials on sql server and other database stuff</description>
	<lastBuildDate>Wed, 25 Jan 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dia Killean</title>
		<link>http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/comment-page-1/#comment-5856</link>
		<dc:creator>Dia Killean</dc:creator>
		<pubDate>Sat, 18 Jun 2011 14:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1196#comment-5856</guid>
		<description>Excellent post. I was checking continuously this blog and I&#039;m impressed! Very useful info specifically the last part   I care for such information a lot. I was seeking this particular information for a very long time. Thank you and best of luck.</description>
		<content:encoded><![CDATA[<p>Excellent post. I was checking continuously this blog and I&#8217;m impressed! Very useful info specifically the last part   I care for such information a lot. I was seeking this particular information for a very long time. Thank you and best of luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Strate</title>
		<link>http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/comment-page-1/#comment-4742</link>
		<dc:creator>Jason Strate</dc:creator>
		<pubDate>Wed, 03 Feb 2010 23:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1196#comment-4742</guid>
		<description>Mother of gawd that is terrible.  CONVERT is the way to go.</description>
		<content:encoded><![CDATA[<p>Mother of gawd that is terrible.  CONVERT is the way to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bonskijr</title>
		<link>http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/comment-page-1/#comment-4731</link>
		<dc:creator>bonskijr</dc:creator>
		<pubDate>Wed, 03 Feb 2010 10:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1196#comment-4731</guid>
		<description>1.) Dev doesn&#039;t know(or read) BOL is the ultimate reference
2.) He/she was a xbase developer</description>
		<content:encoded><![CDATA[<p>1.) Dev doesn&#8217;t know(or read) BOL is the ultimate reference<br />
2.) He/she was a xbase developer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael J Swart</title>
		<link>http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/comment-page-1/#comment-4711</link>
		<dc:creator>Michael J Swart</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1196#comment-4711</guid>
		<description>Wow, that example was so ugly.
Although I think it&#039;s time for a converter from date to a &lt;i&gt;custom&lt;/i&gt; date string as in this connect issue:
https://connect.microsoft.com/SQLServer/feedback/details/530045</description>
		<content:encoded><![CDATA[<p>Wow, that example was so ugly.<br />
Although I think it&#8217;s time for a converter from date to a <i>custom</i> date string as in this connect issue:<br />
<a href="https://connect.microsoft.com/SQLServer/feedback/details/530045" rel="nofollow">https://connect.microsoft.com/SQLServer/feedback/details/530045</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zmo</title>
		<link>http://www.sqlmusings.com/2010/02/01/refactor-this-runaway-t-sql-to-print-yymmdd/comment-page-1/#comment-4703</link>
		<dc:creator>zmo</dc:creator>
		<pubDate>Tue, 02 Feb 2010 06:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1196#comment-4703</guid>
		<description>I would prefer
SET @dt = RIGHT(CONVERT(varchar(4), YEAR(getdate())),2) 
+ RIGHT(&#039;0&#039; +CONVERT(varchar(2), MONTH(getdate())),2) 
+ RIGHT(&#039;0&#039; +CONVERT(varchar(2), DAY(getdate())),2)</description>
		<content:encoded><![CDATA[<p>I would prefer<br />
SET @dt = RIGHT(CONVERT(varchar(4), YEAR(getdate())),2)<br />
+ RIGHT(&#8217;0&#8242; +CONVERT(varchar(2), MONTH(getdate())),2)<br />
+ RIGHT(&#8217;0&#8242; +CONVERT(varchar(2), DAY(getdate())),2)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

