<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Technical Musings</title>
<link>http://www.safnet.com/writing/tech/</link>
<description></description>
<language>en-us</language>
<copyright>Copyright 2008</copyright>
<lastBuildDate>Tue, 08 Jul 2008 18:55:11 -0600</lastBuildDate>
<pubDate>Tue, 08 Jul 2008 18:56:28 -0600</pubDate>
<generator>http://www.movabletype.org/?v=4.01a</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 


<item>
<title>C#: The Dangers of Foreach</title>
<description>Although very handy, C#&#39;s foreach statement is actually quite dangerous. In fact, I may swear off its use entirely. Why? Two reasons: (1) performance, and (2) predictability....</description>
<link>http://www.safnet.com/writing/tech/archives/2008/07/c_the_dangers_o.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/07/c_the_dangers_o.html</guid>
<category></category>
<pubDate>Tue, 08 Jul 2008 18:55:11 -0600</pubDate>
</item>

<item>
<title>MSSQL 2005: Indexed Views</title>
<description>Good article on using indexed views: Indexed Views Basics in SQL Server. Similar good coverage in Ben-Gan&apos;s Inside Microsoft SQL Server 2005: T-SQL Programming. Problem: both specify that the hint WITH(NOEXPAND) needs to be used when executing a query against...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/06/mssql_2005_inde.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/06/mssql_2005_inde.html</guid>
<category></category>
<pubDate>Mon, 16 Jun 2008 14:39:35 -0600</pubDate>
</item>

<item>
<title>Identifying Highly Fragmented (and important) Indexes</title>
<description>Problem: SQL Server 2005 queries that used to be fast are now rather slow. You&apos;ve already tuned the query with good indexes and optimized structures. You&apos;ve checked the running jobs with Activity Monitor and don&apos;t see anything that should be...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/05/identifying_hig.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/05/identifying_hig.html</guid>
<category></category>
<pubDate>Fri, 23 May 2008 22:10:08 -0600</pubDate>
</item>

<item>
<title>SSIS: Access Is Denied from SQL Agent</title>
<description>Problem: I have an SSIS package, MyPackage, stored on MyServer in the Package Store. I create an Agent to run the package, running under a SQL account hooked up to a proper proxy and credentials for Windows authentication. Works in...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/05/ssis_access_is.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/05/ssis_access_is.html</guid>
<category></category>
<pubDate>Thu, 01 May 2008 15:57:30 -0600</pubDate>
</item>

<item>
<title>Updating the GUI Before a Method Completes</title>
<description>As a Web developer whose formal programming training focused only on console applications and simple GUI apps, it was not immediately obvious to me how to update a (Windows Forms) GUI while a method was still running. Once I decided...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/04/updating_the_gu.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/04/updating_the_gu.html</guid>
<category></category>
<pubDate>Mon, 28 Apr 2008 09:50:39 -0600</pubDate>
</item>

<item>
<title>Sample Code for Using the XML Datatype in SQL Server 2005</title>
<description>I mentioned using the XML datatype for sparse column support in my recent post on some of the Useful Features in SQL Server 2008. Until today I had never had an opportunity to actually use this feature. I was pleasantly...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/03/sample_code_for.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/03/sample_code_for.html</guid>
<category></category>
<pubDate>Mon, 24 Mar 2008 16:27:48 -0600</pubDate>
</item>

<item>
<title>Summary of Useful Features in SQL Server 2008</title>
<description>SQL Server 2008 will be coming out sometime this summer (in theory). At last week&apos;s TechFuse event in Minneapolis, and in blogs I sometimes read, I&apos;ve started to pick up on a number of useful features and improvements that should...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/03/summary_of_usef.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/03/summary_of_usef.html</guid>
<category></category>
<pubDate>Tue, 04 Mar 2008 10:29:28 -0600</pubDate>
</item>

<item>
<title>RS and XSLT, pt3.1: Using XSLT for Custom Reporting Services Output</title>
<description>The last two posts have touched on some issues related to Reporting Services and XML transforms. Now I&apos;ll go back and put the pieces together, flesh in some more detail, and try to give a coherent picture of what I...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/02/rs_and_xslt_pt3.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/02/rs_and_xslt_pt3.html</guid>
<category></category>
<pubDate>Thu, 28 Feb 2008 14:54:25 -0600</pubDate>
</item>

<item>
<title>RS and XSLT, pt2: Deploying XSLT File</title>
<description>Problem: you try to deploy your xslt file from Visual Studio, and get an error saying &quot;Value for the parameter &apos;MimeType&apos; is not specified. it is either missing from the function call, or it is set to null&quot;. Solution: In...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/02/rs_and_xslt_pt2.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/02/rs_and_xslt_pt2.html</guid>
<category></category>
<pubDate>Fri, 22 Feb 2008 16:29:47 -0600</pubDate>
</item>

<item>
<title>RS and XSLT, pt1: Applying a Basic Transformation</title>
<description><![CDATA[It was driving me nuts &mdash; my transforms just wouldn't apply. I tried working with some fake data, from my little-used O'Reilly XML in a Nutshell, and that worked fine. So why couldn't I transform my Reporting Services output? After...]]></description>
<link>http://www.safnet.com/writing/tech/archives/2008/02/rs_and_xslt_pt1.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/02/rs_and_xslt_pt1.html</guid>
<category></category>
<pubDate>Fri, 22 Feb 2008 15:53:47 -0600</pubDate>
</item>

<item>
<title>SSIS: Suddenly Can&apos;t Write to Buffer</title>
<description>Problem: periodically, one of my SSIS packages was throwing an error saying &quot;The buffer manager cannot create a temporary storage file on any path in the BufferTempStoragePath property. There is an incorrect file name or no permission.&quot; The package in...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/02/ssis_suddenly_c.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/02/ssis_suddenly_c.html</guid>
<category></category>
<pubDate>Wed, 13 Feb 2008 09:22:39 -0600</pubDate>
</item>

<item>
<title>Warning About User Defined Functions in SQL Queries</title>
<description>I was looking at a query today that has an inline expression in it, something similar to CASE WHEN myTable.myColumn This particular piece of business logic is used in many different places (well, not literally, since I made up a...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/02/warning_about_u.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/02/warning_about_u.html</guid>
<category></category>
<pubDate>Wed, 06 Feb 2008 10:57:09 -0600</pubDate>
</item>

<item>
<title>SSIS: Updating Variables From Resultset Data</title>
<description>Problem: In SSIS, you want to update a variable from a Script Component embedded in a Data Transform task. You get an error message reading &quot;the collection of variables locked for read and write access is not available outside of...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/01/ssis_updating_v.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/01/ssis_updating_v.html</guid>
<category></category>
<pubDate>Tue, 29 Jan 2008 09:56:08 -0600</pubDate>
</item>

<item>
<title>Validating XML Via Embedded XSD Schema</title>
<description>Problem: You have some XML, and you need to validate it against a custom schema that you want to deploy with your .Net 2.0 assemblies. Issues addressed: opening the file and handling the schema validation. Solution: The XmlSchema class contains...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/01/validating_xml.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/01/validating_xml.html</guid>
<category>C#</category>
<pubDate>Thu, 17 Jan 2008 15:30:14 -0600</pubDate>
</item>

<item>
<title>Viewing Embedded Images in HTML E-mail (Base64)</title>
<description>Problem: you have image data from an HTML e-mail, but don&apos;t know what to do with it. When you save it to disk it comes out with a weird string instead of binary data. Solution: pretty simple, you just have...</description>
<link>http://www.safnet.com/writing/tech/archives/2008/01/viewing_embedde.html</link>
<guid>http://www.safnet.com/writing/tech/archives/2008/01/viewing_embedde.html</guid>
<category>C#</category>
<pubDate>Fri, 11 Jan 2008 13:10:28 -0600</pubDate>
</item>


</channel>
</rss>