<?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: SQL Server CONVERT()</title>
	<atom:link href="http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/feed/" rel="self" type="application/rss+xml" />
	<link>http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/</link>
	<description>cat /dev/random</description>
	<lastBuildDate>Sat, 04 Jul 2009 08:07:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SQLserver date manipulation and formatting at SonicChicken blog</title>
		<link>http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/comment-page-1/#comment-291852</link>
		<dc:creator>SQLserver date manipulation and formatting at SonicChicken blog</dc:creator>
		<pubDate>Tue, 04 Dec 2007 20:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/#comment-291852</guid>
		<description>[...] slick features, but one area where they are definitely sucking is date manipulation and formatting. Joseph complained about this a while ago, but it&#8217;s time to me to chime in [...]</description>
		<content:encoded><![CDATA[<p>[...] slick features, but one area where they are definitely sucking is date manipulation and formatting. Joseph complained about this a while ago, but it&#8217;s time to me to chime in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joseph</title>
		<link>http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/comment-page-1/#comment-30880</link>
		<dc:creator>joseph</dc:creator>
		<pubDate>Fri, 23 Jun 2006 14:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/#comment-30880</guid>
		<description>Which is way more verbose than it needs to be.  With to_char() it is much easier:

SELECT to_char(date_field, &#039;YYYY MON DD&#039;) AS formatted_date

Having to pull out each part of the date and then concatenate them together is just way more verbose than it needs to be.</description>
		<content:encoded><![CDATA[<p>Which is way more verbose than it needs to be.  With to_char() it is much easier:</p>
<p>SELECT to_char(date_field, &#8216;YYYY MON DD&#8217;) AS formatted_date</p>
<p>Having to pull out each part of the date and then concatenate them together is just way more verbose than it needs to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deane</title>
		<link>http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/comment-page-1/#comment-30879</link>
		<dc:creator>Deane</dc:creator>
		<pubDate>Fri, 23 Jun 2006 14:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://joseph.randomnetworks.com/archives/2006/06/22/sql-server-convert/#comment-30879</guid>
		<description>To really format a date up, I&#039;ve found that you often need to break it up using the datepart functions:

&lt;code&gt;SELECT YEAR(date_field) + &#039;/&#039; + MONTH(date_field) + [etc]&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>To really format a date up, I&#8217;ve found that you often need to break it up using the datepart functions:</p>
<p><code>SELECT YEAR(date_field) + '/' + MONTH(date_field) + [etc]</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
