<?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>Ian's blog &#187; Work</title>
	<atom:link href="http://www.imacdonald.co.uk/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imacdonald.co.uk</link>
	<description>The Home of Ian Macdonald</description>
	<lastBuildDate>Mon, 31 May 2010 16:28:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Empty Strings, Nulls, and MS SQL</title>
		<link>http://www.imacdonald.co.uk/2008/08/27/empty-strings-nulls-and-ms-sql/</link>
		<comments>http://www.imacdonald.co.uk/2008/08/27/empty-strings-nulls-and-ms-sql/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 21:12:25 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[isnull]]></category>
		<category><![CDATA[ms sql]]></category>
		<category><![CDATA[nullif]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/?p=721</guid>
		<description><![CDATA[I have a database that I am exporting data from. Once it is in text format I run the dos sort command, then finally compress it. Everything was going well till I noticed that my dump files had lines that were being split in two I started looking at the original file and found it [...]]]></description>
			<content:encoded><![CDATA[<p>I have a database that I am exporting data from. Once it is in text format I run the dos sort command, then finally compress it. Everything was going well till I noticed that my dump files had lines that were being split in two</p>
<p>I started looking at the original file and found it contained Ascii character 0 or Null. So my first response was to try isnull(column,&#8217;-') in the query, but that didn&#8217;t work</p>
<p>I checked the lookup tables and found that a join was matching and returning an empty string. </p>
<p>On reading the BCP manual I found this </p>
<blockquote><p>out copies from the database table or view to a file. If you specify an existing file, the file is overwritten. When extracting data, note that the bcp utility represents an empty string as a null and a null string as an empty string.</p></blockquote>
<p>So nulls are converted to empty strings and empty strings are converted to nulls? Who thought this was a good idea?</p>
<p>So I changed my sql to be NULLIF(column,&#8221;) and now everyone is happy. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2008/08/27/empty-strings-nulls-and-ms-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good tips on loosing weight</title>
		<link>http://www.imacdonald.co.uk/2008/06/18/good-tips-on-loosing-weight/</link>
		<comments>http://www.imacdonald.co.uk/2008/06/18/good-tips-on-loosing-weight/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 14:33:33 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Bike]]></category>
		<category><![CDATA[Commute]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/?p=541</guid>
		<description><![CDATA[This is a timely article on loosing weight by biking on hills. Since I am planning on biking more often to work from West Falls Church metro I have been looking for a better solution to hills on the Custis trail close to the rosyln. If you know this tail then you know that it [...]]]></description>
			<content:encoded><![CDATA[<p>This is a timely <a href="http://washcycle.typepad.com/home/2008/06/took-a-lot-of-c.html">article</a> on loosing weight by biking on hills. Since I am planning on biking more often to work from West Falls Church metro I have been looking for a better solution to hills on the Custis trail close to the rosyln. If you know this tail then you know that it is a series of accents and decent that are more up and down when traveling away from Rosyln. This makes it a fun ride in the morning but a killer on the way back. So if I want to loose weight I should stick to the trail and follow the advice in the article of trying to stay seated on the bike for as long as possible. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2008/06/18/good-tips-on-loosing-weight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The disadvantage of going electronic for you bills and statements</title>
		<link>http://www.imacdonald.co.uk/2008/06/16/the-disadvantage-of-going-electronic-for-you-bills-and-statements/</link>
		<comments>http://www.imacdonald.co.uk/2008/06/16/the-disadvantage-of-going-electronic-for-you-bills-and-statements/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 22:42:02 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/?p=538</guid>
		<description><![CDATA[Today I needed to pull up the last pay slip from my old company. The company in question doesn&#8217;t offer the benefit of mailing out payslips, only the ability to view them online. For some dumb reason, like maybe the possibility that you might have to document your pay and contributions to the IRS I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to pull up the last pay slip from my old company. The company in question doesn&#8217;t offer the benefit of mailing out payslips, only the ability to view them online. For some dumb reason, like maybe the possibility that you might have to document your pay and contributions to the IRS I figured that i would have access to these records for a reasonable period of time say 2-5 years, but today a few months after leaving the company I get this message&#8230;..</p>
<p><a href='http://www.imacdonald.co.uk/wp-content/uploads/picture-2.png' rel='shadowbox[post-538];player=img;'><img src="http://www.imacdonald.co.uk/wp-content/uploads/picture-2-300x137.png" alt="" title="picture-2" width="300" height="137" class="alignnone size-medium wp-image-540" /></a></p>
<p>Fortunately after my years of dealing with the USCIS I decided to print a copy of my pay slips so I am 99% sure I have the payslip I need at home. </p>
<p>I also noticed a similar thing when I closed a credit card, all of a suddenly you loose access to the  online records, the same thing also happened when I closed a bank account.</p>
<p>This whole save the environment go to e-statements and e-bills is just an excuse for the company in question to save on printing and mailing costs. If they really wanted to save the environment they would allow you to access the records for 5 years after closing the account, that way you don&#8217;t have to print at your own expense copies of the statements. </p>
<p>So make sure you have copies of all your bank statements, bills, pay slips before you terminate your relationship with a company because you are more than likely going to be loosing access to the online versions of those documents as well. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2008/06/16/the-disadvantage-of-going-electronic-for-you-bills-and-statements/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>This make me feel old</title>
		<link>http://www.imacdonald.co.uk/2008/06/10/this-make-me-feel-old/</link>
		<comments>http://www.imacdonald.co.uk/2008/06/10/this-make-me-feel-old/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 17:47:59 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Immigration]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/?p=535</guid>
		<description><![CDATA[Mike Saylor is going to ring the bell on NASQ tomorrow to calibrate it&#8217;s 10 year anniversary since it first went public. I can&#8217;t believe it has been 10 years since they went public. That means it is 10 1/2 years since since I moved to the US on the basis of a job offer [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.primenewswire.com/newsroom/news.html?d=144397">Mike Saylor</a> is going to ring the bell on NASQ tomorrow to calibrate it&#8217;s 10 year anniversary since it first went public. I can&#8217;t believe it has been 10 years since they went public. That means it is 10 1/2 years since since I moved to the US on the basis of a job offer and not knowing much else about living in America.  I am now married, on my second house and about to file to have my 2 year temporary status removed from my green card.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2008/06/10/this-make-me-feel-old/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally got a badge</title>
		<link>http://www.imacdonald.co.uk/2008/03/24/finally-got-a-badge/</link>
		<comments>http://www.imacdonald.co.uk/2008/03/24/finally-got-a-badge/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 21:35:40 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[amussed]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/2008/03/24/finally-got-a-badge/</guid>
		<description><![CDATA[Yay, finally got a badge that let me in and out the office, so now I can go poop on my schedule rather than when someone is going to be there to let me back in.]]></description>
			<content:encoded><![CDATA[<p>Yay, finally got a badge that let me in and out the office, so now I can go poop on my schedule rather than when someone is going to be there to let me back in.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2008/03/24/finally-got-a-badge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I am officially unemployeed.</title>
		<link>http://www.imacdonald.co.uk/2008/03/03/i-am-officially-unemployeed/</link>
		<comments>http://www.imacdonald.co.uk/2008/03/03/i-am-officially-unemployeed/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 23:35:06 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/2008/03/03/i-am-officially-unemployeed/</guid>
		<description><![CDATA[My last day was today, I have the rest of the week off before starting a new job.]]></description>
			<content:encoded><![CDATA[<p>My last day was today, I have the rest of the week off before starting a new job.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2008/03/03/i-am-officially-unemployeed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Job</title>
		<link>http://www.imacdonald.co.uk/2007/10/16/job/</link>
		<comments>http://www.imacdonald.co.uk/2007/10/16/job/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 17:44:53 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.imacdonald.co.uk/2007/10/16/job/</guid>
		<description><![CDATA[For those who know where I work and have read the news today will know that there has been a reduction in force. I wasn&#8217;t one of them but the group and department I work in was affected. Most people seem to be taking it well, and all things considered its not a bad time [...]]]></description>
			<content:encoded><![CDATA[<p>For those who know where I work and have read the news today will know that there has been a reduction in force. I wasn&#8217;t one of them but the group and department I work in was affected. Most people seem to be taking it well, and all things considered its not a bad time to be looking for a new job. I wish them all the best and good luck in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imacdonald.co.uk/2007/10/16/job/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

