<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Michael Bowersox's Blog</title>
	
	<link>http://www.michaelbowersox.com</link>
	<description />
	<lastBuildDate>Fri, 23 Dec 2011 02:13:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/michaelbowersox" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="michaelbowersox" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><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[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=823</guid>
		<description>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 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cVMr76CCS6yhMtXDwNYgayIX5JE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cVMr76CCS6yhMtXDwNYgayIX5JE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cVMr76CCS6yhMtXDwNYgayIX5JE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cVMr76CCS6yhMtXDwNYgayIX5JE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</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>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 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/csvfXAb9-Pi3d0zsANkbNRMVJ3A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/csvfXAb9-Pi3d0zsANkbNRMVJ3A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/csvfXAb9-Pi3d0zsANkbNRMVJ3A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/csvfXAb9-Pi3d0zsANkbNRMVJ3A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</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>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 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Bji21B9yNHepBBTmeUGReHe3brU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Bji21B9yNHepBBTmeUGReHe3brU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Bji21B9yNHepBBTmeUGReHe3brU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Bji21B9yNHepBBTmeUGReHe3brU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</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>NSMutableDictionary Example</title>
		<link>http://www.michaelbowersox.com/2011/09/21/nsmutabledictionary-example/</link>
		<comments>http://www.michaelbowersox.com/2011/09/21/nsmutabledictionary-example/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 01:41:30 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=750</guid>
		<description>The NSMutableDictionary object is very useful item in the Cocoa toolbox.  It allows you to store values which are indexed by key.  It is similar to the NSDictionary object with the exception that items can be added and removed dynamically.  So let&amp;#8217;s jump right in and take a look at some sample code. Creating an [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qdPr0KXa2FdohMiCeCpRYe4pB0U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qdPr0KXa2FdohMiCeCpRYe4pB0U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qdPr0KXa2FdohMiCeCpRYe4pB0U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qdPr0KXa2FdohMiCeCpRYe4pB0U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/09/21/nsmutabledictionary-example/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>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 &amp;#039;AdventureWorks&amp;#039; The output of the sp_helpdb shown [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IzC3vurSXOoO4HXVK9dyH6rHdwk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IzC3vurSXOoO4HXVK9dyH6rHdwk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IzC3vurSXOoO4HXVK9dyH6rHdwk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IzC3vurSXOoO4HXVK9dyH6rHdwk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</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>My Favorite Visual Studio 2010 Theme</title>
		<link>http://www.michaelbowersox.com/2011/05/08/my-favorite-visual-studio-2010-theme/</link>
		<comments>http://www.michaelbowersox.com/2011/05/08/my-favorite-visual-studio-2010-theme/#comments</comments>
		<pubDate>Mon, 09 May 2011 01:15:22 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=731</guid>
		<description>I’ve always been a fan of visual studio themes with a darker background as I find that the white background of the default theme tends to hurt my eyes after working for a few hours straight.  When starting my last job, I stuck with the default theme for a month or two before I noticed [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ayNYNMv-PqM6N9S052eIJ5QaQI8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ayNYNMv-PqM6N9S052eIJ5QaQI8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ayNYNMv-PqM6N9S052eIJ5QaQI8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ayNYNMv-PqM6N9S052eIJ5QaQI8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/05/08/my-favorite-visual-studio-2010-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting From WPF Foreground to Windows Forms ForeColor</title>
		<link>http://www.michaelbowersox.com/2011/02/18/converting-from-wpf-foreground-to-windows-forms-forecolor/</link>
		<comments>http://www.michaelbowersox.com/2011/02/18/converting-from-wpf-foreground-to-windows-forms-forecolor/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 00:02:03 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=720</guid>
		<description>I recently had the need to read the foreground color of a WPF control to assign to the foreground color of a Windows Forms control that I had hosted in a Windows Forms Host control.  Once I started investigating, I realized that this wasn’t going to be as straight forward as I planned since the [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/D_goomoG1KJZdUVkk34J9W5uItU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D_goomoG1KJZdUVkk34J9W5uItU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/D_goomoG1KJZdUVkk34J9W5uItU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/D_goomoG1KJZdUVkk34J9W5uItU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/02/18/converting-from-wpf-foreground-to-windows-forms-forecolor/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>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 [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/76H0Abf8dM7wBmZNZVp--oDqmXg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/76H0Abf8dM7wBmZNZVp--oDqmXg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/76H0Abf8dM7wBmZNZVp--oDqmXg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/76H0Abf8dM7wBmZNZVp--oDqmXg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</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>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 &amp;#60;cte_name&amp;#62; (column1, column2, column3, [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cgJCIlDTmoAmgstIXnEagXFEXlQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cgJCIlDTmoAmgstIXnEagXFEXlQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cgJCIlDTmoAmgstIXnEagXFEXlQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cgJCIlDTmoAmgstIXnEagXFEXlQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/01/28/intro-to-common-table-expressions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Semaphores in C#</title>
		<link>http://www.michaelbowersox.com/2011/01/16/semaphores-in-c/</link>
		<comments>http://www.michaelbowersox.com/2011/01/16/semaphores-in-c/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 03:18:09 +0000</pubDate>
		<dc:creator>Michael Bowersox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Threading]]></category>

		<guid isPermaLink="false">http://www.michaelbowersox.com/?p=667</guid>
		<description>A short while ago I had a need to limit simultaneous requests to a web service from a multi-threaded application to prevent timeouts.  I learned about semaphores in school and knew this was the right approach, but I have never used one in a real-world application before.  Luckily, the .NET framework makes it rather easy [...]
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8EJsW7ZIDOoNOxoRcnePs5wm1BY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8EJsW7ZIDOoNOxoRcnePs5wm1BY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8EJsW7ZIDOoNOxoRcnePs5wm1BY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8EJsW7ZIDOoNOxoRcnePs5wm1BY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</description>
		<wfw:commentRss>http://www.michaelbowersox.com/2011/01/16/semaphores-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.724 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-31 15:47:15 --><!-- Compression = gzip -->

