<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ibrahim Hafidh</title>
	<atom:link href="http://ihafidh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ihafidh.wordpress.com</link>
	<description>SQL Server, Data Warehouse, Business Intelligence, Data Mining and Web Development</description>
	<lastBuildDate>Wed, 04 Nov 2009 17:23:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ihafidh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ibrahim Hafidh</title>
		<link>http://ihafidh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ihafidh.wordpress.com/osd.xml" title="Ibrahim Hafidh" />
	<atom:link rel='hub' href='http://ihafidh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Joomla Components and Plugins</title>
		<link>http://ihafidh.wordpress.com/2009/01/26/joomla-components-and-plugins/</link>
		<comments>http://ihafidh.wordpress.com/2009/01/26/joomla-components-and-plugins/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 17:52:56 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[cms]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2009/01/26/joomla-components-and-plugins/</guid>
		<description><![CDATA[This post is completely different from my SQL posts and what this blog was initially meant to be but I do some web development on the side and wanted to have a quick reference for my favorite Joomla components and add-ons. So here they are in alphabetical order: Docman Desc: Manage all your files &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=55&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is completely different from my SQL posts and what this blog was initially meant to be but I do some web development on the side and wanted to have a quick reference for my favorite Joomla components and add-ons.<br />
So here they are in alphabetical order:</p>
<p><strong>Docman</strong><br />
Desc: Manage all your files &#8211; articles, audio, video.<br />
URL:<a href="http://www.joomlatools.org">http://www.joomlatools.org</a>/</p>
<p><strong>FacileForms</strong><br />
Desc: Create custom forms on the fly.<br />
URL:http://www.facileforms.biz/</p>
<p><strong>LxMenu</strong><br />
Desc: Create cool looking DHTML menus.<br />
URL:http://www.menu4joomla.com/</p>
<p><strong>RSGallery2</strong><br />
Desc: Display your photos using this component.<br />
URL:http://rsgallery2.net/</p>
<p><strong>sh404SEF</strong><br />
Desc: Make your URLs Search Engine Friendly and up rank your site.<br />
URL:http://extensions.siliana.com/</p>
<p><strong>Syndicate</strong><br />
Desc: Turns on RSS feeds for your website.<br />
URL:http://www.joomla.org/</p>
<p><strong>Xmap</strong><br />
Desc: Create a sitemap to display on your site and to submit to search engines.<br />
URL:http://joomla.vargas.co.cr/</p>
<p>Favorite Joomla plugins/mambots</p>
<p><strong>AllVideos Plugin</strong><br />
Desc: Add audio and video players of your media files right into your content. Compatible with other components as well like Docman.<br />
URL: http://www.joomlaworks.gr/</p>
<p><strong>Jumi</strong><br />
Desc: Add custom code like PHP or JavaScript in your content pages.<br />
URL:http://jumi.vedeme.cz/</p>
<p><strong>JW Tabs &amp; Slides Plugin</strong><br />
Desc: Add tabs and slides to better organize your content.<br />
URL: http://www.joomlaworks.gr/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=55&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2009/01/26/joomla-components-and-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding comments to an XMLA script</title>
		<link>http://ihafidh.wordpress.com/2008/10/08/adding-comments-to-an-xmla-script/</link>
		<comments>http://ihafidh.wordpress.com/2008/10/08/adding-comments-to-an-xmla-script/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 17:29:51 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[MDX]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[SQL2005]]></category>
		<category><![CDATA[XMLA]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/?p=39</guid>
		<description><![CDATA[So I was trying to run an XMLA script and kept getting errors. Below is the script. You will notice that I used the same commenting as in T-SQL &#8220;- -&#8221;. Highlighting the XMLA script and executing it worked. So my commenting was wrong. It should be &#60;!- &#8211; enter comments here &#8211; -&#62;. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=39&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I was trying to run an XMLA script and kept getting errors. Below is the script. You will notice that I used the same commenting as in T-SQL &#8220;- -&#8221;. Highlighting the XMLA script and executing it worked. So my commenting was wrong. It should be &lt;!- &#8211; enter comments here &#8211; -&gt;. The same as any XML document. I know for anyone familiar with XMLA or XML would say &#8220;DUH!, that is obvious&#8221; but it took me some poking to get it to work. I am so used to using the two dashes &#8220;- -&#8221; which is what is used in both T-SQL and MDX.</p>
<p>- &#8211; XMLA script to backup an SSAS database<br />
&lt;Backup xmlns=&#8221;http://schemas.microsoft.com/analysisservices/2003/engine&#8221;&gt;<br />
&lt;Object&gt;<br />
&lt;DatabaseID&gt;Adventure Works DW&lt;/DatabaseID&gt;<br />
&lt;/Object&gt;<br />
&lt;File&gt;C:\Backup\SSAS\Adventured Works DW 20080218.abf&lt;/File&gt;<br />
&lt;/Backup&gt;</p>
<p>Here is the correct way of commenting:</p>
<p>&lt;!- &#8211; XMLA script to backup an SSAS database &#8211; -&gt;<br />
&lt;Backup xmlns=&#8221;http://schemas.microsoft.com/analysisservices/2003/engine&#8221;&gt;<br />
&lt;Object&gt;<br />
&lt;DatabaseID&gt;Adventure Works DW&lt;/DatabaseID&gt;<br />
&lt;/Object&gt;<br />
&lt;File&gt;C:\Backup\SSAS\Adventured Works DW 20080218.abf&lt;/File&gt;<br />
&lt;/Backup&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=39&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2008/10/08/adding-comments-to-an-xmla-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Top University Courses for Free</title>
		<link>http://ihafidh.wordpress.com/2008/10/02/top-university-courses-for-free/</link>
		<comments>http://ihafidh.wordpress.com/2008/10/02/top-university-courses-for-free/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 20:06:59 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[deals]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[references]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/?p=32</guid>
		<description><![CDATA[I just received an email from a friend with links to top university courses for free. I checked them out and they are indeed free and what&#8217;s great about them is that they can contain classes for the entire semester and not just one class. They also get updated quite frequently so you can follow [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=32&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just received an email from a friend with links to top university courses for free. I checked them out and they are indeed free and what&#8217;s great about them is that they can contain classes for the entire semester and not just one class. They also get updated quite frequently so you can follow along with the professor. My favorite is the Berkley Webcasts which seems to have the most courses and you can subscribe to RSS feeds for each course.</p>
<p><strong>Stanford free Courses</strong><br />
<a href="http://see.stanford.edu/default.aspx" target="_blank">http://see.stanford.edu/default.aspx</a></p>
<p><strong>Yale free Courses</strong><br />
<a href="http://oyc.yale.edu/" target="_blank">http://oyc.yale.edu/</a></p>
<p><strong>MIT free Courses</strong><br />
<a href="http://ocw.mit.edu/OcwWeb/web/courses/courses/index.htm" target="_blank">http://ocw.mit.edu/OcwWeb/web/courses/courses/index.htm</a></p>
<p><strong>UC Berkeley YouTube Video Courses:</strong><br />
<a href="http://youtube.com/ucberkeley" target="_blank">http://youtube.com/ucberkeley</a><br />
<strong><br />
UC Berkeley Webcasts:</strong><br />
<a href="http://webcast.berkeley.edu/" target="_blank">http://webcast.berkeley.edu</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=32&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2008/10/02/top-university-courses-for-free/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Just moved in&#8230;</title>
		<link>http://ihafidh.wordpress.com/2008/09/22/just-moved-in/</link>
		<comments>http://ihafidh.wordpress.com/2008/09/22/just-moved-in/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 14:23:07 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/?p=29</guid>
		<description><![CDATA[from http://ihafidh.blogspot.com WordPress is much faster in writing posts and bringing up the posts. The move was pretty easy as it allowed me to import my posts from blogger.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=29&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>from <a href="http://ihafidh.blogspot.com" target="_blank">http://ihafidh.blogspot.com</a></p>
<p>WordPress is much faster in writing posts and bringing up the posts. The move was pretty easy as it allowed me to import my posts from blogger.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=29&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2008/09/22/just-moved-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Viewing Query Plans</title>
		<link>http://ihafidh.wordpress.com/2008/09/18/viewing-query-plans/</link>
		<comments>http://ihafidh.wordpress.com/2008/09/18/viewing-query-plans/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 16:30:00 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[performance]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2008/09/18/viewing-query-plans/</guid>
		<description><![CDATA[This is more of a reminder to myself. I can&#8217;t always remember the commands to show the execution plan in text. It&#8217;s nice having the graphical interface but when you have a big execution plan then seeing it in text is much easier. Here are the commands: &#8211; simple estimated execution plan set showplan_text on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=27&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is more of a reminder to myself. I can&#8217;t always remember the commands to show the execution plan in text. It&#8217;s nice having the graphical interface but when you have a big execution plan then seeing it in text is much easier. Here are the commands:
<div>&#8211; simple estimated execution plan</div>
<div>
<div>set showplan_text on</div>
<div>GO<span class="Apple-tab-span" style="white-space:pre;"> </span></div>
<div>&#8211;*** estimated execution plan with more detail. best to use this ****</div>
<div>set showplan_all on</div>
<div>GO</div>
<div>&#8211; actual execution plan. runs the query. so it&#8217;s better to use showplan_all for a big query </div>
<div>set statistics profile on</div>
<div>GO</div>
<div>More detail <a href="http://blogs.msdn.com/craigfr/archive/2006/06/13/629615.aspx">here</a></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=27&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2008/09/18/viewing-query-plans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Executing a BAT file in SSIS</title>
		<link>http://ihafidh.wordpress.com/2008/09/04/executing-a-bat-file-in-ssis/</link>
		<comments>http://ihafidh.wordpress.com/2008/09/04/executing-a-bat-file-in-ssis/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 21:12:00 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[SQL2000]]></category>
		<category><![CDATA[SQL2005]]></category>
		<category><![CDATA[SSIS]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2008/09/04/executing-a-bat-file-in-ssis/</guid>
		<description><![CDATA[I wanted to execute a batch file in SQL Server Integration Services, and I wanted to utilize two parameters from the Execute Process Task in SSIS: StandardOutputVariable and SuccessValue. The reasons for using these two parameters is that I wanted to know if the external batch file failed or not. And I wanted to capture [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=26&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to execute a batch file in SQL Server Integration Services, and I wanted to utilize two parameters from the Execute Process Task in SSIS: <span class="Apple-style-span" style="font-weight:bold;">StandardOutputVariable </span>and <span class="Apple-style-span" style="font-weight:bold;">SuccessValue</span>.
<div>The reasons for using these two parameters is that I wanted to know if the external batch file failed or not. And I wanted to capture any error messages produced.</div>
<div>In SSIS, it is straightforward. Drag the &#8220;Execute Process Task&#8221; and select your .bat file.</div>
<div>For the StandardOutputVariable create a new string variable. For the SuccessValue specify 0.</div>
<div></div>
<div>Now, the tricky part is getting the SuccessValue to work with %ErrorLevel% from the bat file. To do that,  make sure that the last line in your bat file is:</div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">EXIT %ERRORLEVEL%</span></span></div>
<div>This will return the error level to the Execute Process Task. Otherwise, the process will always seem to succeed. </div>
<div></div>
<div>The other tricky part is getting an actual error message produced from the bat file. Apparently there are separate output streams produced by the bat file. So you have to use some redirection operators. I found this out via a <a href="http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/">blogger CrankyBit</a>. Microsoft&#8217;s reference can be found <a href="http://technet.microsoft.com/en-us/library/bb490982.aspx">here</a>. Here is an example:</div>
<div> <span class="Apple-style-span" style="font-family:'courier new';font-size:85%;">C:\WINDOWS\system32\ping.exe www.google.com  &gt;&gt; mybat_log.txt  2&gt;&amp;1</span></div>
<div>Notice the <span class="Apple-style-span" style="font-weight:bold;">2&gt;&amp;1</span> at the end. That will send out the error message that you would normally see when executing in a command prompt.</div>
<div>So I used that to capture the error logs.</div>
<div></div>
<div>Finally, I echoed out a custom error message to send to the output variable. I can then use this variable to send out an email for notification.</div>
<div></div>
<div>So here is the complete bat file:</div>
<div></div>
<div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">@Echo OFF</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo ================== &gt;&gt; mybat_log.txt</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo Start: %Date% %Time% </span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo.</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo Start: %Date% %Time% &gt;&gt; mybat_log.txt</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">rem ==================================</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">rem 2&gt;&amp;1 sends the actual error message</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">rem http://technet.microsoft.com/en-us/library/bb490982.aspx</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">rem ===================================</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">C:\WINDOWS\system32\ping.exe www.google.com  &gt;&gt; mybat_log.txt  2&gt;&amp;1</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo ErrorLevel = %ERRORLEVEL% &gt;&gt; mybat_log.txt</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">IF %ERRORLEVEL% NEQ 0 (ECHO An error has occurred on the mybat.bat file. </span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo Please check the log file for more detail at D:\mybat_log.txt</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">) ELSE (ECHO The mybat.bat file ran successfully)</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo.</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo End: %Date% %Time%</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo End: %Date% %Time% &gt;&gt; mybat_log.txt</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo.</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo &#8212;</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">Echo Sent from SQL Server SSIS Package</span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></span></div>
<div><span class="Apple-style-span" style="font-size:small;"><span class="Apple-style-span" style="font-family:'courier new';">EXIT %ERRORLEVEL%</span></span></div>
</div>
<div></div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ihafidh.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ihafidh.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=26&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2008/09/04/executing-a-bat-file-in-ssis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>I&#8217;m still here and some great resources</title>
		<link>http://ihafidh.wordpress.com/2008/07/31/im-still-here-and-some-great-resources/</link>
		<comments>http://ihafidh.wordpress.com/2008/07/31/im-still-here-and-some-great-resources/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 21:07:00 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[SQL2005]]></category>
		<category><![CDATA[stored procedures]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2008/07/31/im-still-here-and-some-great-resources/</guid>
		<description><![CDATA[Well, after a long break from blogging I am back. We have a new addition to the family so that kept me away. Actually, that and just being lazy to blog really.Anyway, I recently came across some useful resources on SQL 2005 and thought I would share: JumpStartTVGreat intro videos for beginners wanting to learn [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=25&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, after a long break from blogging I am back. We have a new addition to the family so that kept me away. Actually, that and just being lazy to blog really.<br />Anyway, I recently came across some useful resources on SQL 2005 and thought I would share:</p>
<p><span style="font-weight:bold;font-size:100%;"></span><a href="http://www.jumpstarttv.com/">JumpStartTV</a><br />Great intro videos for beginners wanting to learn SQL 2005, SSIS, SSAS, etc. They are free but you have to register.</p>
<p><span style="font-weight:bold;font-size:100%;"></span><a rel="nofollow" class="taggedlink" href="http://technet.microsoft.com/en-us/bb499681.aspx">TechNet Virtual Labs: SQL Server 2005</a><br />These labs include SSAS, Management Studio, SSIS, Data Mining, etc.</p>
<p><a href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1320303,00.html">How to use rank function in SQL Server 2005</a><br />A very easy to follow query example on the ranking functions: ROW_NUMBER, RANK, DENSE_RANK, and NTILE</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ihafidh.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ihafidh.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=25&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2008/07/31/im-still-here-and-some-great-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Restore DB with Different Name &#8211; Limitation</title>
		<link>http://ihafidh.wordpress.com/2007/11/14/restore-db-with-different-name-limitation/</link>
		<comments>http://ihafidh.wordpress.com/2007/11/14/restore-db-with-different-name-limitation/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 16:53:00 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[AS2005]]></category>
		<category><![CDATA[datawarehouse]]></category>
		<category><![CDATA[SQL2005]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2007/11/14/restore-db-with-different-name-limitation/</guid>
		<description><![CDATA[Got this error trying to rename a SSAS 2005 database:&#8220;Backup and restore errors: Restore under different DatabaseId/DatabaseName can not be done for a database with partitions with specific location.&#8221; Apparently, there is a limitation with SSAS 2005 when you try to restore a database with a different name AND you have specified a different folder [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=24&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Got this error trying to rename a SSAS 2005 database:<br /><span><span>&#8220;Backup and restore errors: Restore under different DatabaseId/DatabaseName can not be done for a database with partitions with specific location.&#8221;</p>
<p>Apparently, there is a <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=843916&amp;SiteID=1">limitation with SSAS 2005</a> when you try to restore a database with a different name AND you have specified a different folder location for storage.</span></span><span><span> Hopefully this limitation is removed in SQL2008.</p>
<p></span></span><span><span>I had specified a different location because I ran out of space on my default location.<br /></span></span><br /><a href="http://bp2.blogger.com/_Qk6UOfAX-XU/RzsqUkGjbeI/AAAAAAAAAZY/csRCUvT7kTs/s1600-h/SSAS2005_StorageLocation.jpg"><img style="cursor:pointer;" src="http://bp2.blogger.com/_Qk6UOfAX-XU/RzsqUkGjbeI/AAAAAAAAAZY/csRCUvT7kTs/s320/SSAS2005_StorageLocation.jpg" alt="" border="0" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ihafidh.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ihafidh.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=24&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2007/11/14/restore-db-with-different-name-limitation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>

		<media:content url="http://bp2.blogger.com/_Qk6UOfAX-XU/RzsqUkGjbeI/AAAAAAAAAZY/csRCUvT7kTs/s320/SSAS2005_StorageLocation.jpg" medium="image" />
	</item>
		<item>
		<title>YTD and Time Dimension</title>
		<link>http://ihafidh.wordpress.com/2007/11/01/ytd-and-time-dimension/</link>
		<comments>http://ihafidh.wordpress.com/2007/11/01/ytd-and-time-dimension/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 22:38:00 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[AS2005]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL2005]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2007/11/01/ytd-and-time-dimension/</guid>
		<description><![CDATA[I kept getting the following error when trying to do YTD calculations using MDX on a client cube: VALUE #Error Query By default, a year level was expected. No such level was found in the cube.FORMATTED_VALUE #Error By default, a year level was expected. No such level was found in the cube. Here is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=23&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I kept getting the following error when trying to do YTD calculations using MDX on a client cube:</p>
<p><span style="font-style:italic;">VALUE    #Error Query  By default, a year level was expected. No such level was found in the cube.</span><br /><span style="font-style:italic;">FORMATTED_VALUE    #Error By default, a year level was expected. No such level was found in the cube.</span></p>
<p>Here is the MDX to do a simple YTD:<br />SUM(YTD([Time].currentmember), [Measures].[Sales])</p>
<p>The MDX is good and  works in every other cube including Adventure Works so I had to look deeper.  I started changing keys thinking that the client did not set those up properly. I should have looked at the error message more closely because it alluded to what the problem was. It says, &#8220;No such level was found in the cube&#8221;. Well, I know it&#8217;s there because I can see it in the dimension structure. However, looking at the dimension properties, the Year attribute was set to Regular as the Type. Changing the Type to &#8220;Years&#8221; solved the issue. So that makes sense, the MDX parser was looking for a Year level but could not find it.</p>
<p>Sometimes just figuring out what the error says helps a lot <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ihafidh.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ihafidh.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=23&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2007/11/01/ytd-and-time-dimension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving SSAS 2005 database to another drive</title>
		<link>http://ihafidh.wordpress.com/2007/10/30/moving-ssas-2005-database-to-another-drive/</link>
		<comments>http://ihafidh.wordpress.com/2007/10/30/moving-ssas-2005-database-to-another-drive/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 15:13:00 +0000</pubDate>
		<dc:creator>ihafidh</dc:creator>
				<category><![CDATA[AS2005]]></category>
		<category><![CDATA[SQL2005]]></category>

		<guid isPermaLink="false">http://ihafidh.wordpress.com/2007/10/30/moving-ssas-2005-database-to-another-drive/</guid>
		<description><![CDATA[I just got asked how to move a SSAS 2005 database from one drive to another. The default data folder is the C: drive when you install SQL 2005. Usually, the data drive that system admins assign is the D: , F: , etc drive.So how do you move a SSAS 2005 database? Well, apparently [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=22&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just got asked how to move a SSAS 2005 database from one drive to another. The default data folder is the C: drive when you install SQL 2005. Usually, the data drive that system admins assign is the D: , F: , etc drive.<br />So how do you move a SSAS 2005 database? Well, apparently you can&#8217;t  move individual databases, you have to move the entire data folder to another drive. You also have to change the server property DataDir to the new location.<br />The steps are outlined <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2186701&amp;SiteID=1">here</a>.<br />It would have been nice to allow moving individual databases like we do in regular SQL with detach/attach or restore to a new location.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ihafidh.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ihafidh.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ihafidh.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ihafidh.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ihafidh.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ihafidh.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ihafidh.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ihafidh.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ihafidh.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ihafidh.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ihafidh.wordpress.com&amp;blog=4899332&amp;post=22&amp;subd=ihafidh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ihafidh.wordpress.com/2007/10/30/moving-ssas-2005-database-to-another-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9b24e71c8ab5b3b36bc2c2d92570c7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ihafidh</media:title>
		</media:content>
	</item>
	</channel>
</rss>
