<?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>Donner's Daily Dose of Drama &#187; SQL</title>
	<atom:link href="http://cdonner.com/tag/sql/feed" rel="self" type="application/rss+xml" />
	<link>http://cdonner.com</link>
	<description>We know accurately only when we know little, with knowledge doubt increases.  (Goethe)</description>
	<lastBuildDate>Tue, 20 Jul 2010 02:44:53 +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>Combining contiguous date ranges in a SQL query &#8211; using CTE recursion</title>
		<link>http://cdonner.com/combining-contiguous-date-ranges-in-a-sql-query-using-cte-recursion.htm</link>
		<comments>http://cdonner.com/combining-contiguous-date-ranges-in-a-sql-query-using-cte-recursion.htm#comments</comments>
		<pubDate>Thu, 06 Nov 2008 19:11:19 +0000</pubDate>
		<dc:creator>Christian Donner</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://cdonner.com/?p=77</guid>
		<description><![CDATA[Sometimes we need to reduce the granularity of date ranges by combining serveral contiguous rows into one. While this is a common classic SQL problem, I was unable to find an elegant solution that also performs well, and came up with my own. This article explains the problem and outlines the solution using a Common [...]]]></description>
		<wfw:commentRss>http://cdonner.com/combining-contiguous-date-ranges-in-a-sql-query-using-cte-recursion.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 &#8211; Recursion</title>
		<link>http://cdonner.com/sql-server-2005-recursion.htm</link>
		<comments>http://cdonner.com/sql-server-2005-recursion.htm#comments</comments>
		<pubDate>Sun, 04 May 2008 02:27:32 +0000</pubDate>
		<dc:creator>Christian Donner</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Recursion]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://cdonner.com/sql-server-2005-recursion.htm</guid>
		<description><![CDATA[Why do I find all the examples of how to use recursion in SQL Server 2005 too complicated (including the one in the Microsoft help)? Here is mine that does the bare minimum. First, let&#8217;s create a table and populate it with hierarchical test data: create table Hierarchy ( id int, parent_id int ) GO [...]]]></description>
		<wfw:commentRss>http://cdonner.com/sql-server-2005-recursion.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SQL Server Column Aliases</title>
		<link>http://cdonner.com/using-sql-server-column-aliases.htm</link>
		<comments>http://cdonner.com/using-sql-server-column-aliases.htm#comments</comments>
		<pubDate>Sat, 15 Mar 2008 02:23:25 +0000</pubDate>
		<dc:creator>Christian Donner</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://cdonner.com/using-sql-server-column-aliases.htm</guid>
		<description><![CDATA[When you have query that does complex calculations, maybe even has function calls in the select list select costly_function_A() as result_A, costly_function_B() as result_B from table_T and then you need to return the result of such a calculation, but also manipulate it further and return the result of this operation as well, select costly_function_A() as [...]]]></description>
		<wfw:commentRss>http://cdonner.com/using-sql-server-column-aliases.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
