<?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>Davy&#039;s Blog &#187; SQL 2008 R2</title>
	<atom:link href="http://blog.davyknuysen.be/category/sql-2008-r2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davyknuysen.be</link>
	<description>My Blog on Microsoft BI</description>
	<lastBuildDate>Wed, 12 May 2010 11:11:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Save up to 35% for the PASS European Conference</title>
		<link>http://blog.davyknuysen.be/2010/03/04/save-up-to-35-for-the-pass-european-conference/</link>
		<comments>http://blog.davyknuysen.be/2010/03/04/save-up-to-35-for-the-pass-european-conference/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 00:16:17 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/03/04/save-up-to-35-for-the-pass-european-conference/</guid>
		<description><![CDATA[The Belgian SQL Server User Group offers a significant 35% discount for its members (even more than early bird discount) for any PASS European Conference 2010 registration. Use discount code BEC15Y and enjoy your savings on your registration. For more information check our SQLUG website. PASS European Conference 2010 is Europe&#8217;s premier conference for SQL [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/03/2010PASSEurope_Home.jpg"><img style="display: inline; border: 0px;" title="2010PASSEurope_Home" src="http://blog.davyknuysen.be/wp-content/uploads/2010/03/2010PASSEurope_Home_thumb.jpg" border="0" alt="2010PASSEurope_Home" width="644" height="123" /></a></p>
<p>The <a href="http://www.sqlug.be">Belgian SQL Server User Group</a> offers a significant 35% discount for its members (even more than early bird discount) for any PASS European Conference 2010 registration. Use discount code BEC15Y and enjoy your savings on your registration. For more information check our SQLUG website. PASS European Conference 2010 is Europe&#8217;s premier conference for SQL Server technical education and business networking. Meet top SQL Server experts from Europe and around the world. Learn about best practices, effective troubleshooting, how to prevent issues, save money, and build a better SQL Server environment for your company or clients.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/03/04/save-up-to-35-for-the-pass-european-conference/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server Day 2009 videos now available on Chopsticks</title>
		<link>http://blog.davyknuysen.be/2009/12/16/sql-server-day-2009-videos-now-available-on-chopsticks/</link>
		<comments>http://blog.davyknuysen.be/2009/12/16/sql-server-day-2009-videos-now-available-on-chopsticks/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:10:05 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Excel Services]]></category>
		<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[PowerPivot]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>
		<category><![CDATA[Chopsticks]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=165</guid>
		<description><![CDATA[Microsoft has made the sessions presented on SQL Server Day 2009 available on Chopsticks Opening Keynote by Wesley Backelant and Ritchie Houtmeyers Best Practices for SQL Server Consolidation by Tom Van Mulders Breaking the ETL world record with Integration Services by Henk van der Valk Designing Effective Aggregations in Analysyis Services 2008 by Chris Webb [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has made the sessions presented on SQL Server Day 2009 available on Chopsticks</p>
<ul>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1504" target="_blank">Opening Keynote</a> by Wesley Backelant and Ritchie Houtmeyers</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1493" target="_blank">Best Practices for SQL Server Consolidation</a> by Tom Van Mulders</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1498" target="_blank">Breaking the ETL world record with Integration Services</a> by Henk van der Valk</li>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1499" target="_blank">Designing Effective Aggregations in Analysyis Services 2008</a> by Chris Webb</li>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1500" target="_blank">High availability for BI DWH</a> by Patrick Tack</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1501" target="_blank">How New.NET Development technologies could change the live of the SQL DBA guy/girl</a> by Gill Cleeren &amp; Kurt Claeys</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1502" target="_blank">Implementing best practices with Policy Based Management</a> by Nico Jacobs</li>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1503" target="_blank">Introducing to PowerPivot or How I Learned to Stop Worrying and Love Excel</a> by Chris Webb</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1505%20" target="_blank">Tracking Changes and Data movement in SQL Server 2008</a> by Dirk Gubbels</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1506%20" target="_self">Handling XML in SQL Server</a> by Nico Jacobs</li>
</ul>
<p>Have fun!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/12/16/sql-server-day-2009-videos-now-available-on-chopsticks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSAS: Custom format string for “duration” using MDX</title>
		<link>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/</link>
		<comments>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 20:38:20 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/</guid>
		<description><![CDATA[I recently struggled with the following challenge in Analysis Services: In one of the fact tables there was a field duration which actually was a duration of a certain status in seconds. I needed to display this in a readable format, like &#8220;2 days 22:15:59&#8243;. bing brought me to the following great article, where Mosha [...]]]></description>
			<content:encoded><![CDATA[<p>I recently struggled with the following challenge in Analysis Services:<br />
In one of the fact tables there was a field <strong>duration</strong> which actually was a duration of a certain status in seconds. I needed to display this in a readable format, like &#8220;2 days 22:15:59&#8243;.<br />
<strong><em></em></strong></p>
<p><strong><em><a href="http://www.bing.com">bing</a></em></strong> brought me to the following great article, where Mosha explains how you can use MDX to create a custom format:<br />
<a href="http://sqlblog.com/blogs/mosha/archive/2008/09/26/displaying-duration-values-mdx-expressions-in-format-string.aspx">http://sqlblog.com/blogs/mosha/archive/2008/09/26/displaying-duration-values-mdx-expressions-in-format-string.aspx</a></p>
<p>When you apply this for a calculated member you get something like this:</p>
<blockquote><p>    CREATE MEMBER CURRENTCUBE.[Measures].[DurationInDays]<br />
     AS [DurationInDays],<br />
    FORMAT_STRING =  <br />
        IIF([Measures].[Duration] &lt; 1<br />
         ,&#8217;&#8221;0 days&#8221; hh:mm:ss&#8217;<br />
         ,&#8217;&#8221;&#8216; + cstr(int([Measures].[Duration])) + &#8216; days&#8221; hh:mm:ss&#8217;)<br />
    ,<br />
    VISIBLE = 1;</p></blockquote>
<p>But this brings us to another problem:<br />
This custom format will only display the correct result if [Measures].[Duration] contains <em><strong>decimal seconds</strong></em>.<br />
For more information about the conversion from seconds to decimal seconds, read the following article on wikipedia: <a href="http://en.wikipedia.org/wiki/Decimal_time">http://en.wikipedia.org/wiki/Decimal_time</a><br />
In short, you need to divide the number of seconds by 86.400. The resulting number presents the number of days on the left side of the decimal separator and the remaining decimal seconds on the right side.</p>
<p>So the final result will be something like this:</p>
<blockquote><p>    CREATE MEMBER CURRENTCUBE.[Measures].[DurationInDecimalSeconds]<br />
     AS<br />
        [Measures].[DurationInSeconds] / 86400,<br />
    VISIBLE = 0;  </p>
<p>    CREATE MEMBER CURRENTCUBE.[Measures].[DurationInDays]<br />
     AS [Measures].[DurationInDecimalSeconds],<br />
    FORMAT_STRING =  <br />
        IIF([Measures].[DurationInDecimalSeconds] &lt; 1<br />
         ,&#8217;&#8221;0 days&#8221; hh:mm:ss&#8217;<br />
         ,&#8217;&#8221;&#8216; + cstr(int([Measures].[DurationInDecimalSeconds])) + &#8216; days&#8221; hh:mm:ss&#8217;)<br />
    ,<br />
    VISIBLE = 1;</p></blockquote>
<p>If you want this custom format to be displayed in Excel, make sure the connection properties are set correctly to retrieve the <strong><em>number format </em></strong>from the server:</p>
<p>Go to <em><strong>Connection Properties</strong></em>, tab <strong><em>Usage</em></strong>, and check <strong><em>Number Format</em></strong> in the <strong><em>OLAP Server Formatting</em></strong> options.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/12/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://blog.davyknuysen.be/wp-content/uploads/2009/12/image_thumb.png" border="0" alt="image" width="341" height="410" /></a> </p>
<p>There is one more thing I would like to tell you about these options: Normally all these options will always be checked by default, but I’ve noticed that when you start from an existing odc-file, this is not the case. So, when you’re used to deliver an odc-file to your users to start analyzing from Excel, you will have to replace this odc-file by an Excel template that connects to the cube, to make sure this option is always on.</p>
<p>There might be a better way to change this behavior for odc-files, but I couldn’t find any. If you know it, please let me know <img src='http://blog.davyknuysen.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p> </p>
<p>Enjoy!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server Day 2009</title>
		<link>http://blog.davyknuysen.be/2009/10/14/sql-server-day-2009/</link>
		<comments>http://blog.davyknuysen.be/2009/10/14/sql-server-day-2009/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 14:45:56 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=145</guid>
		<description><![CDATA[On Thursday, the 3rd of December 2009 SQLUG.BE (The Belgian SQL Server User Group) and Microsoft are teaming up to organize the second Belgian SQL Server Day. Focus of the day is off course SQL Server. Last year, SQL Server Day 2008 was the biggest community driven SQL Server event in the Benelux, with more [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-147 alignnone" title="logo sql serverday 2009" src="http://blog.davyknuysen.be/wp-content/uploads/2009/10/logo-sql-serverday-2009.jpg" alt="logo sql serverday 2009" width="422" height="100" /></p>
<p>On Thursday, the 3rd of December 2009 SQLUG.BE (The Belgian SQL Server User Group) and Microsoft are teaming up to organize the second Belgian SQL Server Day. Focus of the day is off course SQL Server.</p>
<p>Last year, SQL Server Day 2008 was the biggest community driven SQL Server event in the Benelux, with more than 200 attendees.</p>
<p>The event will kick-off with an international speaker positioning the SQL Server data platform, today and tomorrow.</p>
<p>We have 6 break-out sessions with technical content on SQL Server. The speakers are recognized international SQL Server experts; including Dirk Gubbels, Chris Webb, Henk van der Valk, &#8230;</p>
<p>During the lunch break our gold partners will present their solutions and offerings in the lightning sessions.</p>
<p>We conclude the day with a closing keynote on Gemini, the new breakthrough Self-Service Business Intelligence (BI) capabilities being delivered in SQL Server 2008 R2.</p>
<p>Full details and registration are available on <a href="http://www.sqlserverday.be/">www.sqlserverday.be</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/10/14/sql-server-day-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Administrator has no access to the Report Manager (SQL2008 R2 and Windows7/Vista)</title>
		<link>http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/</link>
		<comments>http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 19:19:53 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=93</guid>
		<description><![CDATA[Today I wanted to start playing around with the new Report Manager of SQL 2008 R2. After installing and configuring R2, I opened Internet Explorer and entered the URL of the Report Manager. In my case: http://localhost/reports_r2 I got a very empty Report Manager : Okay, something is wrong. I tried to connect to http://localhost/reportserver_r2 [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to start playing around with the new Report Manager of SQL 2008 R2.</p>
<p>After installing and configuring R2, I opened Internet Explorer and entered the URL of the Report Manager. In my case: <a href="http://localhost/reports_r2">http://localhost/reports_r2</a></p>
<p>I got a very empty Report Manager <img src='http://blog.davyknuysen.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  :</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportmanageraccessdenied.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="report manager access  denied" src="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportmanageraccessdenied_thumb.jpg" border="0" alt="report manager access  denied" width="456" height="398" /></a></p>
<p>Okay, something is wrong. I tried to connect to <a href="http://localhost/reportserver_r2">http://localhost/reportserver_r2</a> :</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportserveraccessdenied.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="report server access denied" src="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportserveraccessdenied_thumb.jpg" border="0" alt="report server access denied" width="576" height="106" /></a></p>
<p>No access? But I am admin of this PC… Wait a minute. By default, programs are never executed as an administrator in Windows 7 or Vista. That explains it!</p>
<p>Here is how you can solve this:</p>
<ul>
<li>Open Internet Explorer as an administrator: click right and select “Run as Administrator”.</li>
<li>Click “Yes” to allow.</li>
</ul>
<p>Now, if you don’t want to do this every time you want to use the report manager, follow these steps:</p>
<ul>
<li>Add “http://localhost” to the trusted sites.</li>
<li>On the home page of the report manager click “Folder Settings”, “Security” and make your account “Content Manager”.</li>
<li>Click “Site Settings”, “Security” and make your account “System Administrator”.</li>
<li>Problem solved!</li>
</ul>
<p>For more info: search for “How to: Configure a Report Server for Local Administration on Windows Vista and Windows Server 2008” in BooksOnline.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
