<?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>Foyst</title>
	<atom:link href="http://www.foyst.co.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.foyst.co.uk</link>
	<description>Musings of a BI Developer in Leeds</description>
	<lastBuildDate>Sat, 17 Mar 2012 16:44:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>COM woes &#8211; Retrieving COM class factory failed due to the following error: 80040154</title>
		<link>http://www.foyst.co.uk/?p=99</link>
		<comments>http://www.foyst.co.uk/?p=99#comments</comments>
		<pubDate>Sat, 17 Mar 2012 16:23:15 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=99</guid>
		<description><![CDATA[I spent ages trying to figure out this problem, when trying to reference Microsoft Office Interop libraries in my project (For manipulating an Excel file programmatically). Turns out, the dlls I was trying to reference were 32-bit, and the platform my project was set to run on was 64-bit. As I was building this project on [...]]]></description>
			<content:encoded><![CDATA[<p>I spent ages trying to figure out this problem, when trying to reference Microsoft Office Interop libraries in my project (For manipulating an Excel file programmatically).</p>
<p>Turns out, the dlls I was trying to reference were 32-bit, and the platform my project was set to run on was 64-bit. As I was building this project on a 64-bit machine, Visual Studio set the default platform to be 64-bit.</p>
<p>This is a simple fix: Go to the &#8220;Project&#8221; menu, select &#8220;Properties&#8221;, then click the &#8220;Build&#8221; tab on the side. From here you just need to select x86 from the Platform combo box and rebuild your project. Sorted!</p>
<p><a href="http://forums.asp.net/t/1119052.aspx">http://forums.asp.net/t/1119052.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=99</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create SQL Table from .NET Datatable in C#</title>
		<link>http://www.foyst.co.uk/?p=101</link>
		<comments>http://www.foyst.co.uk/?p=101#comments</comments>
		<pubDate>Sat, 17 Mar 2012 16:10:16 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ADO.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=101</guid>
		<description><![CDATA[In one of my recent projects I needed to generate a datatable in C# whose fields could vary depending on which properties of a variable needed to be exported from the system. It needed to be able to generate the SQL CREATE TABLE script on the fly and create the table in the database, and [...]]]></description>
			<content:encoded><![CDATA[<p>In one of my recent projects I needed to generate a datatable in C# whose fields could vary depending on which properties of a variable needed to be exported from the system. It needed to be able to generate the SQL CREATE TABLE script on the fly and create the table in the database, and then populate the table with the data to export, either using a SqlBulkCopy object or on a row-by-row basis.</p>
<p>The tutorial below provides a good code base to developing this kind of functionality, as well as providing a link to a similar project on MSDN.</p>
<p>http://darrylagostinelli.com/2011/06/27/create-a-sql-table-from-a-datatable-in-c-net/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=101</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamically Build SQL MERGE statement in SSIS</title>
		<link>http://www.foyst.co.uk/?p=104</link>
		<comments>http://www.foyst.co.uk/?p=104#comments</comments>
		<pubDate>Fri, 02 Mar 2012 23:16:40 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[SQL MERGE BI SSIS]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=104</guid>
		<description><![CDATA[http://www.sqlservercentral.com/articles/EDW/77100/ I came across this the other day, when I was looking at using the SQL MERGE statement to replicate the functionality of the Slowly Changing Dimension task in SSIS. There are many benefits to using MERGE instead of the SSIS task, one of my favourites being only having to run 1 SQL statement for [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sqlservercentral.com/articles/EDW/77100/">http://www.sqlservercentral.com/articles/EDW/77100/</a></p>
<p>I came across this the other day, when I was looking at using the SQL MERGE statement to replicate the functionality of the Slowly Changing Dimension task in SSIS. There are many benefits to using MERGE instead of the SSIS task, one of my favourites being only having to run 1 SQL statement for the whole task, instead of one for each Lookup, and then subsequent UPDATE or INSERT statement.</p>
<p>This link however, takes it one step further by dynamically building the MERGE statements to use in your ETL. This removes the need to manually update scripts when the table schema changes, such as adding new fields, and makes it a great candidate for quick deployment of Slowly Changing Dimension tasks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging MDX Queries from SSRS using Profiler and SQL Management Studio</title>
		<link>http://www.foyst.co.uk/?p=110</link>
		<comments>http://www.foyst.co.uk/?p=110#comments</comments>
		<pubDate>Fri, 02 Mar 2012 22:22:19 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL Profiler]]></category>
		<category><![CDATA[SSAS]]></category>
		<category><![CDATA[SSMS]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=110</guid>
		<description><![CDATA[At work recently I came across the need to assess the MDX queries used by some of the reports on our reporting server, along with the parameters that were passed into it (as most of the queries are powered by parameters that are passed into the MDX by parent reports) Unfortunately, you can&#8217;t use SSMS to [...]]]></description>
			<content:encoded><![CDATA[<p>At work recently I came across the need to assess the MDX queries used by some of the reports on our reporting server, along with the parameters that were passed into it (as most of the queries are powered by parameters that are passed into the MDX by parent reports)</p>
<p>Unfortunately, you can&#8217;t use SSMS to run parameterised MDX queries like you can in SSRS, but the tutorial below gives a good example using SQL Server Profiler, capturing traces of executed queries by SSRS along with the parameter values used. From here you can just paste the MDX into SSMS, replace the parameter names with the values used and presto!</p>
<p><a href="http://prologika.com/CS/blogs/blog/archive/2009/07/06/how-to-test-ssrs-mdx-queries-in-sql-server-management-studio.aspx">http://prologika.com/CS/blogs/blog/archive/2009/07/06/how-to-test-ssrs-mdx-queries-in-sql-server-management-studio.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=110</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Identifying cause of duplicate attribute keys in SSAS</title>
		<link>http://www.foyst.co.uk/?p=112</link>
		<comments>http://www.foyst.co.uk/?p=112#comments</comments>
		<pubDate>Fri, 02 Mar 2012 22:18:22 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[SSAS Cube Attribute]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=112</guid>
		<description><![CDATA[http://ms-olap.blogspot.com/2009/11/duplicate-attribute-key-has-been-found.html At work today, I was a bit stumped when SSAS reported the cube wouldn&#8217;t build, due to a duplicate key found in the source database, although having checked this there was none to be found. However after consulting with a colleague, and finding this article on the internet, it turns out that there was [...]]]></description>
			<content:encoded><![CDATA[<p>http://ms-olap.blogspot.com/2009/11/duplicate-attribute-key-has-been-found.html</p>
<p>At work today, I was a bit stumped when SSAS reported the cube wouldn&#8217;t build, due to a duplicate key found in the source database, although having checked this there was none to be found.</p>
<p>However after consulting with a colleague, and finding this article on the internet, it turns out that there was a white space after the value of an attribute in the source DB. After SSAS runs the DISTINCT query on the source DB, it trims the white space, and because of that it created a duplicate key.</p>
<p>The post-processing of attributes can be customised in the dimension designer in SSAS. For me it was an issue with the source data, but possibly for you, it might be required to tweak the trimming and null replacement functions.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=112</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Honey and the Moon &#8211; Joseph Arthur</title>
		<link>http://www.foyst.co.uk/?p=89</link>
		<comments>http://www.foyst.co.uk/?p=89#comments</comments>
		<pubDate>Sun, 06 Nov 2011 22:13:50 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Wannabe Musician]]></category>
		<category><![CDATA[Acoustic]]></category>
		<category><![CDATA[Joseph Arthur]]></category>
		<category><![CDATA[The O.C.]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=89</guid>
		<description><![CDATA[I learnt this song off the back of meeting up with some uni mates for a weekend about a month ago. Recovering from a big night out, this song came up on a programme we watched quite religiously at uni. Yes I might be sad for watching it, but if you know what it is [...]]]></description>
			<content:encoded><![CDATA[<p>I learnt this song off the back of meeting up with some uni mates for a weekend about a month ago. Recovering from a big night out, this song came up on a programme we watched quite religiously at uni. Yes I might be sad for watching it, but if you know what it is then so are you!</p>
<p>Anyway, thought this song was amazing and had to learn it, although I can&#8217;t sing quite as good as Joseph Arthur!</p>
<p><iframe src="http://www.youtube.com/embed/L125rNM_NXY" frameborder="0" width="420" height="315"></iframe></p>
<p>Guitar Tab: <a href="http://tabs.ultimate-guitar.com/j/joseph_arthur/honey_and_the_moon_ver4_tab.htm">http://tabs.ultimate-guitar.com/j/joseph_arthur/honey_and_the_moon_ver4_tab.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jack Johnson &#8211; Do you remember</title>
		<link>http://www.foyst.co.uk/?p=33</link>
		<comments>http://www.foyst.co.uk/?p=33#comments</comments>
		<pubDate>Sun, 09 Oct 2011 13:50:08 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Wannabe Musician]]></category>
		<category><![CDATA[Acoustic Guitar]]></category>
		<category><![CDATA[Jack Johnson]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=33</guid>
		<description><![CDATA[What better way to enjoy a mellow Sunday than learn a mellow song! Jack Johnson is a legend, fact. Reminds me of Tuesday morning drives to college with my friend Kel listening to him religiously. Only cares we had then were A-Levels&#8230; that was 6 years ago now! How it all changes! Anyways, I&#8217;ve linked [...]]]></description>
			<content:encoded><![CDATA[<p>What better way to enjoy a mellow Sunday than learn a mellow song! Jack Johnson is a legend, fact. Reminds me of Tuesday morning drives to college with my friend Kel listening to him religiously.</p>
<p>Only cares we had then were A-Levels&#8230; that was 6 years ago now! How it all changes!</p>
<p>Anyways, I&#8217;ve linked to a video of him on YouTube and the guitar tab I used, check him out! Maybe if I ever manage to sing I&#8217;ll post my own rendition&#8230;</p>
<p><iframe src="http://www.youtube.com/embed/0Y5kxOGhqrw" frameborder="0" width="420" height="315"></iframe></p>
<p>Guitar tab: <a href="http://tabs.ultimate-guitar.com/j/jack_johnson/do_you_remember_ver3_tab.htm">http://tabs.ultimate-guitar.com/j/jack_johnson/do_you_remember_ver3_tab.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travel Planning Has Begun!</title>
		<link>http://www.foyst.co.uk/?p=45</link>
		<comments>http://www.foyst.co.uk/?p=45#comments</comments>
		<pubDate>Sat, 01 Oct 2011 18:55:08 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Wannabe Traveller]]></category>
		<category><![CDATA[Australia]]></category>
		<category><![CDATA[Gap Year]]></category>
		<category><![CDATA[Scuba Diving]]></category>
		<category><![CDATA[Surfing]]></category>
		<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=45</guid>
		<description><![CDATA[Who wants to come travelling with me?! This Tuesday just gone, I got myself to the STA Travel and picked up brochures on everything &#8211; places, trips, volunteering&#8230; the lot! Here&#8217;s the route I was suggested to take: London &#8211; Bangkok &#8211; overland to Singapore &#8211; Sydney &#8211; overland to Cairns &#8211; Auckland &#8211; Los [...]]]></description>
			<content:encoded><![CDATA[<p>Who wants to come travelling with me?!</p>
<p>This Tuesday just gone, I got myself to the STA Travel and picked up brochures on everything &#8211; places, trips, volunteering&#8230; the lot!</p>
<p>Here&#8217;s the route I was suggested to take:<br />
London &#8211; Bangkok &#8211; overland to Singapore &#8211; Sydney &#8211; overland to Cairns &#8211; Auckland &#8211; Los Angeles &#8211; possibly Fiji then back home.</p>
<p>My plan? To do everything! Skydive, bungee jump, canoeing, learn to surf, volunteer work, sightseeing, and of course a few parties here and there!</p>
<p>I&#8217;m looking to go anywhere between 6 months and a year, but from the looks of it could be pretty expensive for what I want to do!</p>
<p>So hopefully this time next year, I&#8217;ll be somewhere amazing, question is, wanna come with?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=45</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Muse &#8211; Time Is Running Out</title>
		<link>http://www.foyst.co.uk/?p=52</link>
		<comments>http://www.foyst.co.uk/?p=52#comments</comments>
		<pubDate>Wed, 28 Sep 2011 16:23:30 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Wannabe Musician]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=52</guid>
		<description><![CDATA[One of my favourite Muse songs, covered by a great musician. He&#8217;s done some incredible cover songs, definately well worth a look on his website http://www.ortopilot.com and checking out his videos on YouTube. Anyway, this cover of &#8220;Time Is Running Out&#8221; is amazing, so it&#8217;s my song choice to learn for this week:]]></description>
			<content:encoded><![CDATA[<p>One of my favourite Muse songs, covered by a great musician. He&#8217;s done some incredible cover songs, definately well worth a look on his website <a href="http://www.ortopilot.com">http://www.ortopilot.com</a> and checking out his videos on YouTube.</p>
<p>Anyway, this cover of &#8220;Time Is Running Out&#8221; is amazing, so it&#8217;s my song choice to learn for this week:</p>
<p><iframe src="http://www.youtube.com/embed/Ysi5MIpvj9M" frameborder="0" width="420" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=52</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t Swim, Can&#8217;t Ride, Can&#8217;t Run</title>
		<link>http://www.foyst.co.uk/?p=40</link>
		<comments>http://www.foyst.co.uk/?p=40#comments</comments>
		<pubDate>Sun, 25 Sep 2011 16:43:36 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Wannabe Athlete]]></category>
		<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Iron Man]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Swimming]]></category>
		<category><![CDATA[Triathlon]]></category>

		<guid isPermaLink="false">http://www.foyst.co.uk/?p=40</guid>
		<description><![CDATA[Can&#8217;t Swim, Can&#8217;t Ride, Can&#8217;t Run: My Triathlon Journey from Common Man to Ironman http://www.amazon.co.uk/Cant-Swim-Ride-Run-Triathlon/dp/1848187432 If I ever amass to become anything more than a dreamer, then I will forever be in the debt of this guy, and the amazing achievements he made turning his life around. This book is an incredible inspiration to anyone [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.co.uk/Cant-Swim-Ride-Run-Triathlon/dp/1848187432"><img class="alignright" title="Can't Swim, Can't Ride, Can't Run" src="http://ecx.images-amazon.com/images/I/51iOajllZ2L._SL500_AA300_.jpg" alt="" width="300" height="300" /></a>Can&#8217;t Swim, Can&#8217;t Ride, Can&#8217;t Run: My Triathlon Journey<br />
from Common Man to Ironman</p>
<p><a href="http://www.amazon.co.uk/Cant-Swim-Ride-Run-Triathlon/dp/1848187432">http://www.amazon.co.uk/Cant-Swim-Ride-Run-Triathlon/dp/1848187432</a></p>
<p>If I ever amass to become anything more than a dreamer, then I will forever be in the debt of this guy, and the amazing achievements he made turning his life around. This book is an incredible inspiration to anyone thinking about training for marathons, triathlons &#8211; all the way up to the big Iron Man. And even for those who aren&#8217;t, it&#8217;s a fun, witty read of one man&#8217;s aspiration to turn his life around and achieve greatness. READ IT!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.foyst.co.uk/?feed=rss2&#038;p=40</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
