<?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>Michael Bowersox&#039;s Blog &#187; SQL Server</title>
	<atom:link href="http://www.michaelbowersox.com/category/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelbowersox.com</link>
	<description></description>
	<lastBuildDate>Wed, 10 Apr 2013 00:58:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Dynamic PIVOT With Microsoft SQL Server</title>
		<link>http://www.michaelbowersox.com/2013/03/18/dynamic-pivot-with-microsoft-sql-server/</link>
		<comments>http://www.michaelbowersox.com/2013/03/18/dynamic-pivot-with-microsoft-sql-server/#comments</comments>
		<pubDate>Tue, 19 Mar 2013 00:45:37 +0000</pubDate>
		<dc:creator>Michael Bowersox (Admin)</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=842</guid>
		<description><![CDATA[The PIVOT keyword in Microsoft SQL Server is a godsend when you need to manipulate row values into their own columns. Unfortunately, to use this PIVOT keyword, you need to supply all of the possible values that you would like to PIVOT into columns in the query. What if there you do not know the [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2013/03/18/dynamic-pivot-with-microsoft-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a Custom IDataReader to Stream Data Into a Database</title>
		<link>http://www.michaelbowersox.com/2011/12/22/using-a-custom-idatareader-to-stream-data-into-a-database/</link>
		<comments>http://www.michaelbowersox.com/2011/12/22/using-a-custom-idatareader-to-stream-data-into-a-database/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:13:19 +0000</pubDate>
		<dc:creator>Michael Bowersox (Admin)</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=823</guid>
		<description><![CDATA[In a previous post, I discussed how to use the SqlBulkCopy class along with a SqlDataReader to quickly stream data from one database to another.  The reason that you can use a SqlDataReader as a parameter in the WriteToServer method of SqlBulkCopy is because it implements the IDataReader interface.  The great thing about this, is [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/12/22/using-a-custom-idatareader-to-stream-data-into-a-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streaming Data Between Databases using SqlBulkCopy and SqlDataReader</title>
		<link>http://www.michaelbowersox.com/2011/12/01/streaming-data-between-databases-using-sqlbulkcopy-and-sqldatareader/</link>
		<comments>http://www.michaelbowersox.com/2011/12/01/streaming-data-between-databases-using-sqlbulkcopy-and-sqldatareader/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 02:33:09 +0000</pubDate>
		<dc:creator>Michael Bowersox (Admin)</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=808</guid>
		<description><![CDATA[One little known fact about SqlBulkCopy is that not only can the WriteToServer method use a DataTable, but it can also use any object that implements IDataReader.  Since the SqlDataReader object implements the IDataReader interface, it is a perfect candidate for use with a SqlBulkCopy object.  One instance where I found this extremely useful, is [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/12/01/streaming-data-between-databases-using-sqlbulkcopy-and-sqldatareader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recursive Queries Using CTEs</title>
		<link>http://www.michaelbowersox.com/2011/11/09/recursive-queries-using-ctes/</link>
		<comments>http://www.michaelbowersox.com/2011/11/09/recursive-queries-using-ctes/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 02:29:23 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Common Table Expressions]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=768</guid>
		<description><![CDATA[I previously explained the basics of common table expressions (CTEs) as well as how to chain them in sequence when you need multiple temporary result sets to get the results you desire.  One of the topics I have not covered yet is using CTEs to write recursive queries. The classic example of using a recursive [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/11/09/recursive-queries-using-ctes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining Database Size in Microsoft SQL Server</title>
		<link>http://www.michaelbowersox.com/2011/09/02/determining-database-size-in-microsoft-sql-server/</link>
		<comments>http://www.michaelbowersox.com/2011/09/02/determining-database-size-in-microsoft-sql-server/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 23:38:51 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=733</guid>
		<description><![CDATA[We’ve all experienced a database administrator coming up to us and questioning why a SQL Server database is consuming so much disk space.  If you’re like me, you would immediately run the sp_helpdb stored procedure to see if the log file has grown out of control: EXEC sp_helpdb &#039;AdventureWorks&#039; The output of the sp_helpdb shown [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/09/02/determining-database-size-in-microsoft-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple CTEs in Sequence</title>
		<link>http://www.michaelbowersox.com/2011/02/13/multiple-ctes-in-sequence/</link>
		<comments>http://www.michaelbowersox.com/2011/02/13/multiple-ctes-in-sequence/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 01:49:32 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Common Table Expressions]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=707</guid>
		<description><![CDATA[In a previous post, I discussed how to use common table expressions to generate temporary result sets that can read from and written to.  In this post, I’ll show how to use two CTEs together for more complex scenarios. To illustrate how to use CTEs this way, we’ll code up a simple example using the [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/02/13/multiple-ctes-in-sequence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Intro to Common Table Expressions</title>
		<link>http://www.michaelbowersox.com/2011/01/28/intro-to-common-table-expressions/</link>
		<comments>http://www.michaelbowersox.com/2011/01/28/intro-to-common-table-expressions/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 04:49:15 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Common Table Expressions]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=677</guid>
		<description><![CDATA[Common table expressions (CTEs) are a powerful feature that was added to Microsoft SQL Server 2005.  Common table expressions can be thought of as a temporary result set that can be used with one single SELECT, INSERT, UPDATE, or DELETE statement. The basic syntax for a CTE is the following: WITH &#60;cte_name&#62; (column1, column2, column3, [...]]]></description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/01/28/intro-to-common-table-expressions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
