<?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 Server</title>
	<atom:link href="http://blog.davyknuysen.be/tag/sql/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>XMLA script to deploy MDX Calculations</title>
		<link>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/</link>
		<comments>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:13:21 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[OLAP]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/</guid>
		<description><![CDATA[At a current project I needed to create a deploy script for the MDX calculations of a cube. SQL Server Management Studio makes it very easy for you to create XMLA-scripts to create or alter cubes, dimensions, etc… But it’s not possible to use Management Studio to create an alter-script that only contains the MDX [...]]]></description>
			<content:encoded><![CDATA[<p>At a current project I needed to create a deploy script for the MDX calculations of a cube.</p>
<p>SQL Server Management Studio makes it very easy for you to create XMLA-scripts to create or alter cubes, dimensions, etc… But it’s not possible to use Management Studio to create an alter-script that only contains the MDX calculations. Because I needed to resolve a bug in the calculations but the rest of the cube was not ready to be deployed to production yet, I had to create an alter script just for the MDX.</p>
<p>Of course I could have started learning the XMLA-syntax to write a script for this, but I decided to go for the easy way: the <strong>BIDSHelper</strong> has an option to deploy the MDX to a cube without having to deploy the entire cube.</p>
<p>If you don’t know <strong>BIDSHelper</strong>, or don’t already have it installed, go to <a href="http://www.codeplex.com/bidshelper">http://www.codeplex.com/bidshelper</a>. <strong>This is a must have add-in for all SSAS and SSIS developers!</strong></p>
<p>But as I was allowed to use Management Studio to makes changes to the cubes in the development environment only. So I needed to capture the XMLA script the <strong>BIDSHelper</strong> executes on the cube, to deploy the same script to the production environment.</p>
<p>That what the profiler is for, not? J</p>
<p>Open the SQL Server Profiler, create a new trace and connect to the analysis services instance. Use a blank template and switch to the tab “Events Selection”. The only event we want to capture here is “Command Begin”.</p>
<p>Click Run.</p>
<p>Now the profiler is ready to capture the XMLA-script, so switch back to Management Studio and use the BIDSHelper to deploy the MDX calculations. When the deploy is finished you can stop the trace.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="628" height="396" /></a></p>
<p>The profiler should have captured 2 events. The event with subclass “Alter” is the one we need.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image004.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="628" height="397" /></a></p>
<p>Copy the script from the profiler to a new XMLA script in Management Studio.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image006.jpg"><img style="display: inline; border: 0px;" title="clip_image006" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="441" height="412" /></a></p>
<p>The last 3 lines (PropertyList) can be deleted.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image008.jpg"><img style="display: inline; border: 0px;" title="clip_image008" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="628" height="203" /></a></p>
<p>In the node “ObjectDefinition” you will find your script.</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/2010/05/05/xmla-script-to-deploy-mdx-calculations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parent-Child hierarchies in Reporting Services</title>
		<link>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/</link>
		<comments>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 10:28:32 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/</guid>
		<description><![CDATA[Reporting Services 2008 is a great reporting tool, but displaying Analysis Services data with Reporting Services doesn’t always display the data as you would expect. A Parent-child hierarchy is one example of this: When you browse Parent-child hierarchy from an Analysis Services cube with Excel, Excel automatically displays it with nice drill-down functionality. But when [...]]]></description>
			<content:encoded><![CDATA[<p><em>Reporting Services 2008 is a great reporting tool, but displaying Analysis Services data with Reporting Services doesn’t always display the data as you would expect.</em></p>
<p><em> </em></p>
<p><em>A Parent-child hierarchy is one example of this: When you browse Parent-child hierarchy from an Analysis Services cube with Excel, Excel automatically displays it with nice drill-down functionality. </em></p>
<p><em>But when you add it to a Reporting Services report, you get something like this:</em></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="357" height="241" /></a></p>
<p><em>That’s not how we like to display a Parent-Child hierarchy to our users!</em></p>
<p><em>To display it with the expected drill-down you need to do some extra configuration:</em></p>
<p><em> </em></p>
<p><em>The following example uses the AdventureWorks example cube available on <a href="http://www.codeplex.com/">CodePlex</a>:</em></p>
<p>Create a new report and add a dataset with the following MDX query:</p>
<p>SELECT NON EMPTY { [Measures].[Amount] } ON COLUMNS,</p>
<p>NON EMPTY { (DESCENDANTS([Organization].[Organizations].[Organization Level 01].ALLMEMBERS) ) }</p>
<p>DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME, PARENT_UNIQUE_NAME,</p>
<p>LEVEL_NUMBER ON ROWS</p>
<p>FROM [Adventure Works]</p>
<p>CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,</p>
<p>FONT_NAME, FONT_SIZE, FONT_FLAGS</p>
<p>Add a Tablix<strong><em> </em></strong>to your report and drag the parent-child hierarchy “Organizations” en the fact “Amount” to the Detail Row of the Tablix.</p>
<p><strong>To enable drill-down you need to edit the Group Properties of the Row Group:</strong></p>
<p>Configure the group to iterate on the UniqueName of “Organizations”:</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image004.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="532" height="233" /></a></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image006.jpg"><img style="display: inline; border: 0px;" title="clip_image006" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="581" height="482" /></a></p>
<p>Go to the Advanced options and set the property “Recursive Parent” to the ParentUniqueName of “Organizations”.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image008.jpg"><img style="display: inline; border: 0px;" title="clip_image008" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="581" height="482" /></a></p>
<p>Change the visibility of this Group to “Hide” and check the option &#8220;Display can be toggled by this report item&#8221;. The toggle item should be the Textbox containing the Parent-Child hierarchy.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image010.jpg"><img style="display: inline; border: 0px;" title="clip_image010" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image010_thumb.jpg" border="0" alt="clip_image010" width="581" height="482" /></a></p>
<p><strong>Now optimize the layout by increasing the indent for the lower levels of the hierarchy:</strong></p>
<p>In the Textbox properties: set the following expression for &#8220;Padding &#8211; Left&#8221;:</p>
<p>=Cstr(Fields!Organizations.LevelNumber * 10) &amp; &#8220;pt&#8221;</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image012.jpg"><img style="display: inline; border: 0px;" title="clip_image012" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image012_thumb.jpg" border="0" alt="clip_image012" width="524" height="472" /></a></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image014.jpg"><img style="display: inline; border: 0px;" title="clip_image014" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image014_thumb.jpg" border="0" alt="clip_image014" width="581" height="532" /></a></p>
<p>Click Preview to test the report.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image016.jpg"><img style="display: inline; border: 0px;" title="clip_image016" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image016_thumb.jpg" border="0" alt="clip_image016" width="359" height="240" /></a></p>
<p>Look’s way better isn’t it?</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/04/16/parent-child-hierarchies-in-reporting-services/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Next SQLUG event on What is System Center Operations Manager 2007 R2 and how can it help in managing SQL Servers, May 20th</title>
		<link>http://blog.davyknuysen.be/2010/04/15/next-sqlug-event-on-what-is-system-center-operations-manager-2007-r2-and-how-can-it-help-in-managing-sql-servers-may-20th/</link>
		<comments>http://blog.davyknuysen.be/2010/04/15/next-sqlug-event-on-what-is-system-center-operations-manager-2007-r2-and-how-can-it-help-in-managing-sql-servers-may-20th/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 12:02:55 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=190</guid>
		<description><![CDATA[Managing SQL Server requires insight in the state and performance of the underlying infrastructure, OS and individual SQL components. System Center Operations Manager 2007 R2 cannot only give you that insight, but it can be reused in a broader application/service monitoring view. This session focuses on the out-of-the-box capabilities of System Center Operations Manager 2007 [...]]]></description>
			<content:encoded><![CDATA[<p><em>Managing SQL Server requires insight in the state and performance of the underlying infrastructure, OS and individual SQL components.</p>
<p>System Center Operations Manager 2007 R2 cannot only give you that insight, but it can be reused in a broader application/service monitoring view.</p>
<p>This session focuses on the out-of-the-box capabilities of System Center Operations Manager 2007 R2 but also sh</em>ows you how a distributed application can easily reuse these capabilities to provide an extra step in monitoring.</p>
<p><strong>About Ricardo Noulez</strong><br />
Ricardo Noulez is a Senior Consultant at Microsoft Consulting Services in the Benelux. Been with Microsoft since January 2002 as a subject matter expert in Microsoft Operations Manager (now System Center Operations Manager) and Systems Management Server (System Center Configuration Manager). Ricardo has a great focus around the System Center product family and he is currently expanding his horizons towards the System Center Service Manager product. He is always interested in finding ways to improve the way that customers manage their IT environment and has certifications and great affinity with ITIL good practices and the MOF framework to help them achieve this. In the first third of his 18 year career, Ricardo was a developer but gradually converted himself to Systems Management and IT operations. This gives him a broad understanding in the different needs and view-points of all technical players that make IT ideas come true.</p>
<p><strong>Agenda:</strong></p>
<ul>
<li>18:00 &#8211; Registration</li>
<li>18:30 &#8211; Session Start</li>
<li>21:00 &#8211; Session End</li>
</ul>
<p><strong>Location:</strong><br />
Microsoft België<br />
Corporate Village<br />
Leonardo Da Vincilaan 3<br />
1935 Zaventem</p>
<p>Tel: +32.2.503.31.13<br />
Fax: +32.2.704.35.35</p>
<p>This Event is brought to you by <strong><a href="http://www.microsoft.be/" target="_blank">Microsoft</a></strong></p>
<p><strong><a href="http://sqlug.be/nextevent/event/?id=23">Click here</a> to register.</strong></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/04/15/next-sqlug-event-on-what-is-system-center-operations-manager-2007-r2-and-how-can-it-help-in-managing-sql-servers-may-20th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reporting Services Timeout in Sharepoint</title>
		<link>http://blog.davyknuysen.be/2010/03/03/reporting-services-timeout-in-sharepoint/</link>
		<comments>http://blog.davyknuysen.be/2010/03/03/reporting-services-timeout-in-sharepoint/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:05:53 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/03/03/172/</guid>
		<description><![CDATA[Recently someone asked me to check a Reporting Services report that always resulted in an Unexpected Error. The report server was configured for Sharepoint Integrated Mode. I came to the conclusion that the server always returned this error after exactly 2 minutes, so it had to be a timeout exception. The report was kind of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently someone asked me to check a Reporting Services report that always resulted in an Unexpected Error. The report server was configured for Sharepoint Integrated Mode.</p>
<div id="bjuf" style="text-align: left;"><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/03/timeout-sharepoint.jpg"><img class="size-full wp-image-175 alignnone" title="timeout sharepoint" src="http://blog.davyknuysen.be/wp-content/uploads/2010/03/timeout-sharepoint.jpg" alt="" width="614" height="151" /></a></div>
<p>I came to the conclusion that the server always returned this error after exactly 2 minutes, so it had to be a timeout exception.</p>
<p>The report was kind of big, so tuning it would not really help (enough).</p>
<p>I took me some time to find out which timeout setting to change, because there seem be a lot of them:</p>
<p>There is the Query Execution timeout of the Dataset, a Report Execution timeout, the Connection timeout of IIS, other timeouts in the Report Server Configuration file, &#8230;</p>
<p>But the real cause of this timeout is an Execution timeout of Sharepoint.</p>
<p>You can change this timeout setting in the web.config of your Sharepoint site, by default in <a title="c:\inetpub\wwwroot\wss\VirtualDirectories\80" href="http:/c:\inetpub\wwwroot\wss\VirtualDirectories\80">c\:inetpub\wwwroot\wss\VirtualDirectories\80</a>.</p>
<p>In this web.config you will find an XML node called &#8220;httpRuntime&#8221;. In this node you have to add an extra tag: executionTimeout=&#8221;9000&#8243;:</p>
<blockquote><p>&lt;httpRuntime maxRequestLength=&#8221;51200&#8243; executionTimeout=&#8221;9000&#8243; /&gt;</p></blockquote>
<p>Save and close the file and do an IISReset. When you run the report again, you won&#8217;t get this error anymore.</p>
<p>I also checked the web.config of the Report Manager, but in Native Mode this seems to be the default:</p>
<div id="ap_v" style="text-align: left;"><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/03/web.config-SSRS.jpg"><img class="size-full wp-image-176 alignnone" title="web.config SSRS" src="http://blog.davyknuysen.be/wp-content/uploads/2010/03/web.config-SSRS.jpg" alt="" width="397" height="182" /></a></div>
<p>Good luck!</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/03/reporting-services-timeout-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>February 11th, next UG-evening on Service Broker</title>
		<link>http://blog.davyknuysen.be/2010/01/18/february-11th-next-ug-evening-on-service-broker/</link>
		<comments>http://blog.davyknuysen.be/2010/01/18/february-11th-next-ug-evening-on-service-broker/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 11:27:28 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=167</guid>
		<description><![CDATA[SQL Server Service Broker and some of the things it can do for you” is brought to you by Nico Jacobs and will take place on February 11th. Since SQL server 2005, it is possible to build a Service Oriented Architecture (SOA) inside SQL Server. The component that enables this is the service broker, a [...]]]></description>
			<content:encoded><![CDATA[<p>SQL Server Service Broker and some of the things it can do for you” is brought to you by Nico Jacobs and will take place on February 11th. Since SQL server 2005, it is possible to build a Service Oriented Architecture (SOA) inside SQL Server.</p>
<p>The component that enables this is the service broker, a message based system which allows for dialogs between two SQL server instances. In this session, we will first introduce the terminology and features of this framework, then we will discuss some of the scenarios in which it can be used, and we will conclude by implementing a small service broker application. Dr. Nico Jacobs was a researcher at the Computer Science department, KULeuven for seven years, where he obtained his PhD in machine learning (data mining). Since 2004, he is trainer and consultant at U2U, where he focuses primarily on SQL Server and the Business Intelligence back-end.</p>
<p>Free registration is now <a href="http://sqlug.be/nextevent/">open</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/2010/01/18/february-11th-next-ug-evening-on-service-broker/feed/</wfw:commentRss>
		<slash:comments>0</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>Connect to SSIS Service failed: Error loading type library/DLL</title>
		<link>http://blog.davyknuysen.be/2009/09/18/connect-to-ssis-service-failed-error-loading-type-librarydll/</link>
		<comments>http://blog.davyknuysen.be/2009/09/18/connect-to-ssis-service-failed-error-loading-type-librarydll/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 09:44:08 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=140</guid>
		<description><![CDATA[After installing SQL Server Integration Services on an existing 64-bit SQL Server, I was unable to connect to SSIS using Management Studio. The database engine and Analysis Services was already installed on this server. I added the SSIS service without Service Pack and applied SP3 afterwards. When trying to connect, Management Studio returned the following [...]]]></description>
			<content:encoded><![CDATA[<p>After installing SQL Server Integration Services on an existing 64-bit SQL Server, I was unable to connect to SSIS using Management Studio.</p>
<p>The database engine and Analysis Services was already installed on this server. I added the SSIS service without Service Pack and applied SP3 afterwards. When trying to connect, Management Studio returned the following error message:</p>
<p><span style="color: #ff0000;">Connect to SSIS Service on machine &#8220;<var>ComputerName</var>&#8221; failed:<br />
Error loading type library/DLL.</span></p>
<p><span style="color: #000000;">I found the explanation in the following support article: <a href="http://support.microsoft.com/kb/919224">KB919224</a></span></p>
<p><em>This problem occurs because the installer unregisters the 32-bit Dts.dll file when the installer installs the 64-bit Dts.dll file. The 64-bit Dts.dll file is installed together with SQL Server 2005 SP2. Additionally, the 64-bit Dts.dll file may be installed together with any SSIS hotfix package that contains the 64-bit Dts.dll file.</em></p>
<p>The solution is to reregister the 32-bit dll’s manually:</p>
<blockquote><p><span style="font-size: xx-small;">%windir%\syswow64\regsvr32 &#8220;%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll&#8221;</span></p>
<p><span style="font-size: xx-small;">%windir%\syswow64\regsvr32 &#8220;%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\MsDtsSrvrUtil.dll&#8221;</span></p></blockquote>
<p>For more info and some variations on the same problem, goto <a href="http://support.microsoft.com/kb/919224">KB919224</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/09/18/connect-to-ssis-service-failed-error-loading-type-librarydll/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>
		<item>
		<title>Next SQLUG event: Zero-Downtime upgrade from SQL Server 2005 by Dirk Gubbels &#8211; Sep 24th, 2009</title>
		<link>http://blog.davyknuysen.be/2009/09/02/next-sqlug-event-zero-downtime-upgrade-from-sql-server-2005-by-dirk-gubbels-sep-24th-2009/</link>
		<comments>http://blog.davyknuysen.be/2009/09/02/next-sqlug-event-zero-downtime-upgrade-from-sql-server-2005-by-dirk-gubbels-sep-24th-2009/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 07:37:31 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=83</guid>
		<description><![CDATA[On September 24th, we kick off a new year of SQLUG events. To be sure we kick-off properly, we hired a top-speaker, namely Dirk Gubbels. Dirk is one of our best guest speakers and by far one of the best SQL Server professionals. Dirk Gubbels is a senior consultant at Microsoft, and has been working [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sqlug.be"><img class=" alignright" style="border: 1px solid orange;" title="SQLUG" src="http://sqlug.be/img/sql_ug_logo.jpg" alt="SQLUG" width="300" height="55" /></a></p>
<p>On September 24th, we kick off a new year of SQLUG events.</p>
<p>To be sure we kick-off properly, we hired a top-speaker, namely<strong> Dirk Gubbels</strong>. Dirk is one of our best guest speakers and by far one of the best SQL Server professionals.</p>
<p>Dirk Gubbels is a senior consultant at Microsoft, and has been working with SQL Server since version 4.2.</p>
<p>As one of the few Microsoft Certified Database Architects he has been involved in the most demanding SQL server based applications in Belgium and all over the EMEA region.</p>
<p>His main focus areas are Design, Performance and Availability for both OLTP and Business Intelligence environments.</p>
<p>Upgrading from SQL Server 2005 to 2008 may look very easy and straightforward, but there are always risks involved.</p>
<p>The goal of this session is to identify these risks, and show proven ways to mitigate these, or reduce the impact.</p>
<p>The second part of the session will show some techniques for minimizing downtime during the upgrade, to a point where the application can remain online.</p>
<p>This session will focus on the upgrade process for the Database engine, not on the differences between the versions, or the upgrade process of other SQL Server components.</p>
<p>This event is brought to you by <a href="http://sqlug.be/controlpanel/go/microsoft" target="_blank">Microsoft</a></p>
<p>Register on <a href="http://sqlug.be/controlpanel/register">SQLUG.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/09/02/next-sqlug-event-zero-downtime-upgrade-from-sql-server-2005-by-dirk-gubbels-sep-24th-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
