<?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>Joe the Business Intelligence Guy</title>
	<atom:link href="http://joethebusinessintelligenceguy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://joethebusinessintelligenceguy.wordpress.com</link>
	<description>A journey through the design and delivery of business intelligence solutions.</description>
	<lastBuildDate>Mon, 08 Aug 2011 18:32:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='joethebusinessintelligenceguy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/acc28f298c53d10b5d2b8cb516f76458?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Joe the Business Intelligence Guy</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://joethebusinessintelligenceguy.wordpress.com/osd.xml" title="Joe the Business Intelligence Guy" />
	<atom:link rel='hub' href='http://joethebusinessintelligenceguy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Pragmatic Works BI xPress &#8211; Templates Speed SSIS Development</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2011/06/15/pragmatic_works_bi_xpress_templates_speed_ssis_development/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2011/06/15/pragmatic_works_bi_xpress_templates_speed_ssis_development/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 18:54:05 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=63</guid>
		<description><![CDATA[When we have been developing data integration solutions using SQL Server™ Integration Services (SSIS) for a long enough time (or frankly any other type of design or development for that matter), we start to realize that many of our solutions employ the same patterns of handling information or the manipulation of the information. Case in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=63&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When we have been developing data integration solutions using SQL Server™ Integration Services (SSIS) for a long enough time (or frankly any other type of design or development for that matter), we start to realize that many of our solutions employ the same patterns of handling information or the manipulation of the information.</p>
<p>Case in point, when loading data warehouse solutions we begin to apply patterns to well known data warehouse data integration processes such as extraction of source data to staging, loading of dimension tables from staging, and loading of fact tables from staging. For a very long time I&#8217;ve employed a bit of a copy and paste approach to handling SSIS packages designed based on the patterns for each type of data warehouse data integration process.</p>
<p>Disclaimer: At the time of this writing, I am presently employed by Pragmatic Works; but, even though I am paid by the company, I am providing my own professional observations about a wickedly cool product we happen to have created called BI xPress.</p>
<p>I now have the ability to use my company&#8217;s BI xPress product to really help speed development using patterns for the design of each package. Some really useful features were added in a direct response to my own field usage when trying to make templates as powerful and productive as possible. Notably, we have added a concept of parameterization that enables me to set up token replacement values for often repeating values that will change when generating an SSIS package using the template. Prior to this enhancement I might have the same value repeated in many different properties in the SSIS package which required a lot of extra steps to ensure the values were correctly assigned when using the template; but, now with the parameterization these repeated uses are consolidated into a single input value to be changed when using the template.</p>
<p>Let me demonstrate how the use of a BI xPress template with the new parameterization feature helps speed our SSIS package development.</p>
<p>After installing BiXpress the product configures many different useful Business Intelligence Developer Studio (BIDS) add-ins. We can access the Package Builder Wizard many ways including selecting the BI xPress main menu bar&#8217;s Package Builder Wizard menu item or, as in the following screenshot, right click on the SSIS Packages folder in BIDS Solution Explorer pane and select the Package Builder Wizard menu item.</p>
<div id="attachment_73" class="wp-caption alignnone" style="width: 310px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/opening-bi-xpress-package-builder-wizard.png"><img class="size-medium wp-image-73" title="Opening BI xPress Package Builder Wizard" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/opening-bi-xpress-package-builder-wizard.png?w=300&#038;h=236" alt="Opening BI xPress Package Builder Wizard" width="300" height="236" /></a><p class="wp-caption-text">Opening BI xPress Package Builder Wizard</p></div>
<p>For this demonstration I will simply show the design of the template that I created to handle the repetitive pattern design applied to my source data extract SSIS packages. I have the following design requirements for each package:</p>
<ol>
<li>Use two tiers of package configuration &#8211; the first tier reads a Windows Environment Variable to get the path to an XML dtsconfig file (Indirect XML configuration) which contains the configuration for my SSISConfigSqlDb connection manager and the second tier (applied to all remaining configuration entries) uses the SSISConfigSqlDb connection manager to connect to my SQL Server database&#8217;s [dbo].[SSIS Configurations] table to configure other connection managers and variables</li>
<li>Use four connection managers that must be configured using package configuration (see prior details)</li>
<li>Use nine variables that are either configured using package configuration or using property expressions most notably the SQLQuickBookSource variable (scoped to the data flow task) will be identical among the packages with the only exception being the actual table name.</li>
<li>Use a data flow task to move data from the original source system to a staging database</li>
<li>Within the data flow task use Pragmatic Works Task Factory Upsert Destination to manage Updating and Adding New values to the staging database</li>
</ol>
<p>The following screenshot shows the overall design of the package.</p>
<div id="attachment_77" class="wp-caption alignnone" style="width: 710px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/sample-ssis-extract-package-design.png"><img class="size-full wp-image-77" title="Sample SSIS Extract Package Design" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/sample-ssis-extract-package-design.png?w=700&#038;h=308" alt="Sample SSIS Extract Package Design" width="700" height="308" /></a><p class="wp-caption-text">Sample SSIS Extract Package Design</p></div>
<p>With these design requirements in hand, we quickly identify that all the packages can use this generic pattern to create SSIS packages and more specifically that only a very few things need to change when generating each new package such as:</p>
<ol>
<li>The name of the package (and perhaps the description &#8211; you do add descriptions to your packages, tasks, and data flow components don&#8217;t you)</li>
<li>The SQLQuickBookSource variable expression for the value property which contains our source SQL statement</li>
<li>The name of the data flow task (I prefer descriptive names to assist with understanding logging and auditing)</li>
</ol>
<p>After launching the BI xPress Package Builder Wizard we select the option to create a new package from a template and provide the desired package name and folder location as seen in the following screenshot.</p>
<div id="attachment_81" class="wp-caption alignnone" style="width: 710px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-action.png"><img class="size-full wp-image-81" title="BI xPress Package Builder Wizard - Select Action" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-action.png?w=700&#038;h=420" alt="BI xPress Package Builder Wizard - Select Action" width="700" height="420" /></a><p class="wp-caption-text">BI xPress Package Builder Wizard - Select Action</p></div>
<p>Now we select the desired template from the options presented. Note how BI xPress templates permit providing a screenshot and description to help others to understand the usage of the template.</p>
<div id="attachment_83" class="wp-caption alignnone" style="width: 710px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-package-template.png"><img class="size-full wp-image-83" title="BI xPress Package Builder Wizard - Select Package Template" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-package-template.png?w=700&#038;h=533" alt="BI xPress Package Builder Wizard - Select Package Template" width="700" height="533" /></a><p class="wp-caption-text">BI xPress Package Builder Wizard - Select Package Template</p></div>
<p>Now we are at the really important and fun part of using these templates, the configuration of values to be used to generate the new package based on the template. The following screenshot shows the various options that were configured during the setup of the template.</p>
<div id="attachment_85" class="wp-caption alignnone" style="width: 710px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-configurable-objects-and-properties.png"><img class="size-full wp-image-85" title="BI xPress Package Builder Wizard - Select Configurable Objects and Properties" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-configurable-objects-and-properties.png?w=700&#038;h=343" alt="BI xPress Package Builder Wizard - Select Configurable Objects and Properties" width="700" height="343" /></a><p class="wp-caption-text">BI xPress Package Builder Wizard - Select Configurable Objects and Properties</p></div>
<p>Specific to our scenario, the SQLQuickBooksSource variable&#8217;s value which contains our SELECT statement needs to be changed to reference the new table being processed by our new package. Additionally, the naming of the data flow task will also be renamed to include the new table name. The template uses the new parameters capability to permit the user of the template to enter a name of the new structure once and this value will then be pushed into every configurable property that has the parameter as part of the current value (e.g. &#8220;SELECT * FROM &lt;@QuickBooksSourceTableName&gt;&#8221;). I have had clients where one parameter ended up being pushed into over twenty different configurable properties and as a result they saved having to enter the same value consistently twenty times in order to create the package from the template.</p>
<p>As shown in the following screenshot, the Set Parameters button can be used to set the value of the parameter to the desired value or alternatively this will also be prompted for when proceeding to the next step of the wizard when selecting Next.</p>
<div id="attachment_89" class="wp-caption alignnone" style="width: 710px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-set-parameters.png"><img class="size-full wp-image-89" title="BI xPress Package Builder Wizard - Set Parameters" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-set-parameters.png?w=700&#038;h=164" alt="BI xPress Package Builder Wizard - Set Parameters" width="700" height="164" /></a><p class="wp-caption-text">BI xPress Package Builder Wizard - Set Parameters</p></div>
<p>After the package is generated, in our scenario we will have expected data validation errors due to the fact that the table used as a source and destination in the template differs from the one generated by our template. We simply open the source and destination components in our data flow to make corrections by accepting the option in the source to have the component fix these errors automatically and in the destination by setting the column mapping options in the Restore Invalid Column References Editor to &#8220;Delete invalid column reference&#8221; as shown in the following screenshots.</p>
<div class="mceTemp">
<div id="attachment_94" class="wp-caption alignnone" style="width: 710px"><a href="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/ssis-source-and-destination-component-mapping-fixes.png"><img class="size-full wp-image-94" title="SSIS Source and Destination Component Mapping Fixes" src="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/ssis-source-and-destination-component-mapping-fixes.png?w=700&#038;h=365" alt="SSIS Source and Destination Component Mapping Fixes" width="700" height="365" /></a><p class="wp-caption-text">SSIS Source and Destination Component Mapping Fixes</p></div>
<p>With these steps completed we now have done all that is required to create a new package that meets all of our requirements and permits us to extract another source table. BI xPress templates and the parameterization feature really cut down on the effort needed to develop this package and many others that share common design patterns.</p>
</div>
<p>More details about this and the many other features within BIxPress can be found at the product&#8217;s web site page <span style="text-decoration:underline;color:#3366ff;">http://pragmaticworks.com/Products/Business-Intelligence/BIxPress/Default.aspx</span>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=63&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2011/06/15/pragmatic_works_bi_xpress_templates_speed_ssis_development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/opening-bi-xpress-package-builder-wizard.png?w=300" medium="image">
			<media:title type="html">Opening BI xPress Package Builder Wizard</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/sample-ssis-extract-package-design.png" medium="image">
			<media:title type="html">Sample SSIS Extract Package Design</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-action.png" medium="image">
			<media:title type="html">BI xPress Package Builder Wizard - Select Action</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-package-template.png" medium="image">
			<media:title type="html">BI xPress Package Builder Wizard - Select Package Template</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-select-configurable-objects-and-properties.png" medium="image">
			<media:title type="html">BI xPress Package Builder Wizard - Select Configurable Objects and Properties</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/bi-xpress-package-builder-wizard-set-parameters.png" medium="image">
			<media:title type="html">BI xPress Package Builder Wizard - Set Parameters</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2011/06/ssis-source-and-destination-component-mapping-fixes.png" medium="image">
			<media:title type="html">SSIS Source and Destination Component Mapping Fixes</media:title>
		</media:content>
	</item>
		<item>
		<title>SSIS Merge Join Data Flow Component &#8211; Discoveries</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2010/06/10/ssis-merge-join-data-flow-component-discoveries/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2010/06/10/ssis-merge-join-data-flow-component-discoveries/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 00:11:15 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[SQL Server Versions]]></category>
		<category><![CDATA[SSIS Integration Services]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=56</guid>
		<description><![CDATA[In an effort to help avoid many long wasted hours researching interesting join &#8220;features&#8221; found within the SQL Server Integration Services (SSIS) Merge Join Data Flow Component, I offer the following discoveries (more embellishments and links to follow). Using SQL Server Uniqueidentifer (GUID) data type columns as join columns will yield very strange results with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=56&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In an effort to help avoid many long wasted hours researching interesting join &#8220;features&#8221; found within the SQL Server Integration Services (SSIS) Merge Join Data Flow Component, I offer the following discoveries (more embellishments and links to follow).</p>
<ul>
<li>Using SQL Server Uniqueidentifer (GUID) data type columns as join columns will yield very strange results with the only solid work around being to cast (or convert as your TSQL preference dictates) the Uniqueidentifer to NVARCHAR(36) followed by performing LTRIM, RTRIM, and UPPER to be safe and ensuring sucessful character by character matching. Example: <span style="font-size:x-small;">[CaseBusnessKey] </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> </span><span style="color:#ff00ff;font-size:x-small;"><span style="color:#ff00ff;font-size:x-small;">LTRIM</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="color:#ff00ff;font-size:x-small;"><span style="color:#ff00ff;font-size:x-small;">RTRIM</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="color:#ff00ff;font-size:x-small;"><span style="color:#ff00ff;font-size:x-small;">UPPER</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="color:#ff00ff;font-size:x-small;"><span style="color:#ff00ff;font-size:x-small;">CAST</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">[CaseID] </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">AS</span></span><span style="font-size:x-small;"> </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">NVARCHAR</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">36</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">)))))</span></span></li>
<li><span style="color:#000000;">When more than one sorting/matching column is used you have to be careful which you want to include in the results. Specifically, you may select all of the sorting/matching columns, none of the sorting/matching columns, or the first several (in sequence starting from the first) sorting/matching columns. So based on these requirements, you may not select the 2nd sorting/matching column without selecting the first sorting/matching column. Should you inadvertently try to select the 2nd sorting/matching column without selecting the first sorting/matching column, the component will produce an error message &#8220;The component is not in a valid state. The validation errors are: The column with the SortKeyPostion value of 0 is not valid. It should be 2.&#8221;</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=56&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2010/06/10/ssis-merge-join-data-flow-component-discoveries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>Why Can’t We Use Our Existing Systems Databases for Business Intelligence</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/09/08/why-can%e2%80%99t-we-use-our-existing-systems-databases-for-business-intelligence/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/09/08/why-can%e2%80%99t-we-use-our-existing-systems-databases-for-business-intelligence/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 13:17:25 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=52</guid>
		<description><![CDATA[In an effort to start framing the many considerations for data souring of a Business Intelligence Solution, first we must look at some of the reasons it is not desirable to simply use existing solution databases. As a simple starting point, the assumption is that the business intelligence solution that is being sought is envisioned [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=52&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In an effort to start framing the many considerations for data souring of a Business Intelligence Solution, first we must look at some of the reasons it is not desirable to simply use existing solution databases.</p>
<p>As a simple starting point, the assumption is that the business intelligence solution that is being sought is envisioned to permit the business users a simple way to analyze, explore and report on information. The information is expected to improve business performance by delivering better decision making throughout your entire organization. Lastly, this improvement assumes that decisions made within the organization will be made as a result of careful consideration of the facts being presented by the information that our business intelligence solution will provide.</p>
<p>With the goals of a business intelligence solution briefly defined, let’s look at the common characteristics of existing systems database designs. These systems are most often storing information within On Line Transaction Processing (OLTP) databases or even flat files generated by business systems. These types of data structures have the following characteristics:</p>
<ol>
<li>Manages complex transactions designed to enforce complex systems business process and rules</li>
<li>Key business logic is located within the systems application rather than the database</li>
<li>Another software development effort or a third party has created the systems database and as such both its meaning and structure may change over time</li>
<li>Often it is not permissible to make changes or add structures to the systems database</li>
<li>The design of the systems database may not have a well formed relational design that normalizes data and enforces integrity both at individual attribute levels and at relationship levels.</li>
<li>Contains historical data that does not match current business rules</li>
<li>Lacks significant meaningful documentation</li>
<li>Optimized for fast narrow query performance (e.g. order details for order number 123)</li>
<li>Many don’t contain information on historical changes to the information instead only reflecting the current state of the information</li>
<li>Usually have been developed in a sandbox with no consideration for consistency and sharing of business logic, entities, and attributes with other systems</li>
</ol>
<p> Clearly, with some or all of these characteristics involved, it is important that we find a more suitable source for the information we will present as part of a business intelligence solution. The best option would be to source data from these systems and extract, transform, combine, clean, normalize, denormalized, and otherwise make suitable the data for the business intelligence solutions use. Ultimately, this newly processed data would then be loaded into a data warehouse or data mart. It is the data warehouse or data mart that has been purposefully designed to overcome many of the OLTP data structures limitations for business intelligence usage.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=52&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/09/08/why-can%e2%80%99t-we-use-our-existing-systems-databases-for-business-intelligence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing Service Account of SQL Server™ Report Server</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/changing-service-account-of-sql-server%e2%84%a2-report-server/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/changing-service-account-of-sql-server%e2%84%a2-report-server/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 16:53:49 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[Native Mode]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Versions]]></category>
		<category><![CDATA[SSRS Reporting Services]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=49</guid>
		<description><![CDATA[The following is adapted from Microsoft KB Article 958999 In SQL Server™ 2005 Reporting Services, you can configure the report server to use the Service Credentials type for the database connection. You should not try to change the service account by using the Services.msc management console, as the operation may corrupt the encryption key that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=49&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following is adapted from Microsoft KB Article 958999</p>
<p>In SQL Server™ 2005 Reporting Services, you can configure the report server to use the Service Credentials type for the database connection. You should not try to change the service account by using the Services.msc management console, as the operation may corrupt the encryption key that is used to protect sensitive information that is stored in the report server database. Microsoft recommends that you change the service account for the report server by using one of the following methods:</p>
<p><strong>Method 1</strong></p>
<p>Use Reporting Services Configuration Manager to change the service account for the report server.</p>
<p><strong>Method 2</strong></p>
<p>Use the Rsconfig.exe utility to change the service account for the report server. To do this, run the following command:</p>
<p><strong>Rsconfig –c –s <em>Server Name</em> -d <em>Database Name</em> -u <em>User Name</em> -p <em>Password</em> -a <em>Authentication Method</em></strong></p>
<p><strong>Note</strong> If the instance of SQL Server that hosts the report server database is a named instance, add the <strong>–i</strong> switch to specify the instance name.</p>
<p><strong>Method 3</strong></p>
<p>If method 1 and method 2 do not work, use the rskeymgmt utility. When you use this utility, you must back up the encrypted keys before you change the user account that is used to run the Report Server Windows service or the Report Server Web service, and then you must apply the keys that were backed up. To do this, follow these steps on the computer that is running the service:</p>
<p>1.       Start the Report Server Windows service and the Report Server Web service by using the user account that the service was running successfully for.</p>
<p>2.       Use the rskeymgmt command-line utility to back up the encryption keys. To do this, run the following command at the command prompt:</p>
<p><strong>RSKeyMgmt -e -f <em>FileName</em> -p <em>StrongPassword</em></strong></p>
<p><strong>3.</strong><strong>       </strong>Use the rskeymgmt command-line utility to remove the reference to the existing keys. To do this, run the following command at the command prompt:<strong> </strong></p>
<p><strong>rskeymgmt -r <em>InstallationID</em></strong></p>
<p><strong>Note</strong> Replace the <em>InstallationID</em> placeholder by using the installation ID that is provided in the InstallationID setting of the RSReportServer.config file. By default, the RSReportServer.config file is stored in the <em>InstallationDrive</em> :\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer folder.</p>
<p>4.       Stop Internet Information Services (IIS).</p>
<p>5.       Stop the Report Server Windows service.</p>
<p>6.       Change the user account that is used to run the Report Server Windows service or the Report Server Web service to the user account that you want.</p>
<p>7.       Start IIS.</p>
<p>8.       Start the Report Server Windows service.</p>
<p>9.       Use the rskeymgmt command-line utility to apply the encryption keys that were backed up in step 2. To do this, run the following command at the command prompt:</p>
<p><strong>rskeymgmt -a -f <em>FileName</em> -p <em>StrongPassword</em></strong></p>
<p><strong>Note</strong> Replace the <em>FileName</em> placeholder and the <em>StrongPassword</em> placeholder with the file name and the password that you used to back up the symmetric encryption keys in step 1.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=49&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/changing-service-account-of-sql-server%e2%84%a2-report-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>Field Notes: Configuring Email in Reporting Services</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/field-notes-configuring-email-in-reporting-services/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/field-notes-configuring-email-in-reporting-services/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 16:00:33 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[Native Mode]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Versions]]></category>
		<category><![CDATA[SSRS Reporting Services]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=34</guid>
		<description><![CDATA[The following needs to be in place: Collaboration Data Objects (CDO) libraries (cdosys.dll) that are provided by the operating system Local or remote Simple Mail Transfer Protocol (SMTP) server or SMTP forwarder (Not supported on Itanium Windows Server 2008) Report Server service account must have Send As permission on the SMTP server to send mail [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=34&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>The following needs to be in place:</strong></p>
<ol>
<li>Collaboration Data Objects (CDO) libraries (cdosys.dll) that are provided by the operating system</li>
<li>Local or remote Simple Mail Transfer Protocol (SMTP) server or SMTP forwarder (Not supported on Itanium Windows Server 2008)</li>
<li>Report Server service account must have <strong>Send As</strong> permission on the SMTP server to send mail</li>
<li>SMTP Port Opened (usually port 25)</li>
</ol>
<p><strong> </strong><strong>Limitations:</strong></p>
<ol>
<li>HTML rendering extension only supports UTF-8 encoding for email attachments</li>
<li>Default e-mail delivery extension does not provide support for digitally signing or encrypting outgoing mail messages</li>
<li>User-defined subscriptions that are created according to the permissions granted by the <strong>Manage individual subscriptions</strong> task contain a pre-set user name that is based on the domain user account. Workaround: modify RSReportServer.config setting <strong>SendEmailToUserAlias</strong> to <strong>False</strong> and setting <strong>DefaultHostName</strong> to the Domain Name System (DNS) name or IP address of the SMTP server or forwarder.</li>
</ol>
<p> <strong>Remote SMTP Server RSReportServer.config Options:</strong></p>
<ol>
<li>Connection (report server and an SMTP server or forwarder)
<ul>
<li><strong>SendUsing </strong>method for sending messages
<ul>
<li>Network SMTP service or a local SMTP service pickup directory</li>
<li>For remote SMTP set to <strong>2</strong></li>
</ul>
</li>
</ul>
</li>
<li>
<div style="padding-left:30px;"><strong>SMTPServer </strong>the remote SMTP server or forwarder (required for remote SMTP)</div>
</li>
<li>
<div style="padding-left:30px;"><strong>From</strong> value that appears in the <strong>From:</strong> line (required for remote SMTP)</div>
</li>
<li>
<div style="padding-left:30px;"><strong>SMTPServerPort</strong> usually port 25</div>
</li>
<li>
<div style="padding-left:30px;"><strong>SMTPAuthenticate </strong>how report server connects to the remote SMTP</div>
<ul>
<li>
<div style="padding-left:30px;">Default is 0 (or no authentication – Anonymous access)</div>
</li>
<li>
<div style="padding-left:30px;">Depending on your domain configuration, the report server and the SMTP server may need to be members of the same domain.</div>
</li>
<li>
<div style="padding-left:30px;">Set <strong>SMTPAuthenticate</strong> to <strong>2</strong> to send e-mail to restricted distribution lists</div>
</li>
</ul>
</li>
</ol>
<p> <strong>Local SMTP Server RSReportServer.config Options:</strong></p>
<ol>
<li>Enable local SMTP service (not enabled by default)</li>
<li><strong>SendUsing</strong> is set to 1.</li>
<li><strong>SMTPServerPickupDirectory</strong> is set to a folder on the local drive.</li>
<li>Do not set <strong>SMTPServer</strong></li>
<li><strong>From</strong> value that appears in the <strong>From:</strong> line (required for local SMTP)</li>
</ol>
<p> To configure use the Reporting Services Configuration tool to minimally configure the extension.</p>
<p>To set advanced properties, you must edit the RSReportServer.config file.</p>
<p>If there is no SMTP server available or if you subsequently encounter report delivery errors that can be attributed to computer connection failures, you should switch to using a local SMTP service.</p>
<p> See <a href="http://msdn.microsoft.com/en-us/library/ms345234.aspx">http://msdn.microsoft.com/en-us/library/ms345234.aspx</a> for detailed configuration steps.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=34&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/field-notes-configuring-email-in-reporting-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>Reporting Services SharePoint Integrated Mode Overview</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/reporting-services-sharepoint-integrated-mode-overview/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/reporting-services-sharepoint-integrated-mode-overview/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:42:49 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[SharePoint Integrated Mode]]></category>
		<category><![CDATA[SSRS Reporting Services]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=28</guid>
		<description><![CDATA[What is integrated mode?  In SharePoint integrated mode, a report server must run within a SharePoint server farm. A SharePoint site provides the front-end access to report server content and operations. The report server provides all report processing and rendering. The advantage of integrated mode is a rich level of integration that allows you to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=28&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What is integrated mode?</strong> </p>
<p>In SharePoint integrated mode, a report server must run within a SharePoint server farm. A SharePoint site provides the front-end access to report server content and operations. The report server provides all report processing and rendering. The advantage of integrated mode is a rich level of integration that allows you to access and manage report server content types using the application pages and data stores of a SharePoint Web application.</p>
<p>Users publish or upload reports, models, and data sources to a SharePoint library.</p>
<p>Reports, data sources, and data models in a SharePoint document library are stored as files in the SharePoint content database for that SharePoint document library. Files are stored in the .rdl, .rsds, and .smdl extensions. When a user requests to view or manage a report, data source, or data model, Reporting Services synchronizes its contents with the SharePoint content database.</p>
<p><strong>Processing and Synchronization</strong> </p>
<p>The report server continues to provide all data processing, rendering, and delivery. It also supports all scheduled report processing for snapshots and report history. </p>
<p> When you open a report from a SharePoint site, the ReportServer2006 endpoint connects to a report server, creates a session, prepares the report for processing, retrieves data, merges the report into the report layout, and displays it in the Report Viewer Web part. While the report is open, you can export it to different application formats, or interact with data by drilling into underlying numbers or clicking through to a related report. Export and report interaction operations are performed on the report server. </p>
<p> The report server synchronizes operations and data with Windows SharePoint Services and tracks information about the files it processes. The synchronization is performed because the report server database also maintains internal copies of the content files that are stored in the SharePoint content database. Storing internal copies improves performance by minimizing the number of times a file has to be sent to the report server for processing. Synchronization and verification checks ensure that the reports, models, and data sources are the same. When you modify properties or settings for any report server item, the change is stored in a SharePoint database and then copied to a report server database that provides internal storage to a report server. </p>
<p> This is all provided by the Reporting Services Add-in for SharePoint Technologies which:</p>
<ul>
<li>On Windows SharePoint Services, provides the ReportServer2006 proxy endpoint, a Report Viewer Web part, and application pages so that you can view, store, and manage report server content on a SharePoint site or farm.</li>
<li>On Reporting Services, provides updated program files, a SOAP endpoint, and custom security and delivery extensions. The report server must be configured to run in SharePoint integrated mode, dedicated exclusively to supporting report access and delivery through your SharePoint site.</li>
</ul>
<p><strong>Integrated Mode Limitations:</strong></p>
<ul>
<li>No support for linked reports </li>
<li>No use of Report Manager to manage reports</li>
<li>Cannot integrate two or more report server instances that share the same report server database with different stand-alone server deployments of Windows SharePoint Services 3.0 or Office SharePoint Server 2007</li>
</ul>
<p><strong>Integrated Mode Installation Overview</strong></p>
<ol>
<li>Configure a report server to run in SharePoint integrated mode</li>
<li>Install a Reporting Services Add-in that adds infrastructure and application pages to a SharePoint Web application</li>
</ol>
<p><strong>Report Server Requirements:</strong></p>
<ul>
<li>Requires that you dedicate a report server instance for integrated operations</li>
<li>Server must satisfy the hardware and software requirements for SQL Server installations</li>
<li>Report server database must be created for SharePoint integrated mode</li>
<li>Report server must be installed on a computer that has an instance of a SharePoint product or technology (SSRS can be installed before or after installing the SharePoint product or technology instance)</li>
<li>Same version of the SharePoint product or technology as installed on the report server computer</li>
</ul>
<p><strong>SharePoint Product and Technology Requirements:</strong></p>
<ul>
<li>Windows SharePoint Services 3.0 or Office SharePoint Server 2007</li>
<li>Reporting Services Add-in for SharePoint Technologies must be installed on each Web front-end in the server farm through which users will access reports</li>
<li>2 gigabytes of RAM on the Web front-end computer</li>
<li>Anonymous access cannot be enabled on the SharePoint Web application</li>
</ul>
<p><strong>Database Requirements:</strong></p>
<ul>
<li>SQL Server 2008 or SQL Server 2005 SP2</li>
<li>Reporting Services cannot use the Embedded Edition (default SharePoint installed database) for its database</li>
<li>The SQL Server 2008 Reporting Services Add-in for SharePoint Technologies requires a SQL Server 2008 Reporting Services (SSRS) database</li>
</ul>
<p><strong>Deployment Architectures:</strong></p>
<p><strong><span style="color:#0000ff;">Standalone Server Deployment</span></strong></p>
<p>This deployment is the simplest to configure. Because all the components are installed on the same computer, it also uses the least amount of licenses. Specifically, Reporting Services and the Database Engine can be installed as a single licensed copy of SQL Server. In addition, Reporting Services can connect directly to the local instance of the SharePoint product or technology.</p>
<p><span style="color:#333333;"><span style="font-size:small;"><span style="font-family:Calibri;"> </span></span></span></p>
<p><span style="color:#0000ff;"><strong><img class="size-full wp-image-29" title="SSRS_1ServerDeployment" src="http://joethebusinessintelligenceguy.files.wordpress.com/2009/08/ssrs_1serverdeployment.gif?w=219&#038;h=210" alt="SSRS Single Server Deployment" width="219" height="210" /></strong></span></p>
<p><span style="color:#0000ff;"><strong>Two Server Distributed Deployment</strong></span></p>
<div class="mceTemp">The first computer hosts an instance of a SharePoint product or technology. The Reporting Services Add-in is installed on this computer.</div>
<p>The second computer hosts SQL Server Reporting Services and the Database Engine. Installing Reporting Services and the Database Engine on the same computer is useful if the benefits of running both components as a single licensed installation outweigh performance considerations.</p>
<p>Notice that when you run Reporting Services and the SharePoint product or technology on different computers, the report server must have a minimal installation of the same SharePoint product or technology. This means that if you installed Microsoft Office SharePoint Server on the first computer, and you must install a Web front-end of Office SharePoint Server on the second computer. The minimal installation provides a Web front-end that allows you to join a report server instance to the instance of the SharePoint product or technology. </p>
<p><span style="color:#333333;"><span style="font-size:small;"><span style="font-family:Calibri;"> </span></span></span></p>
<p><strong><span style="color:#0000ff;"><img class="size-full wp-image-30" title="SSRS_2ServerDistributedDeployment" src="http://joethebusinessintelligenceguy.files.wordpress.com/2009/08/ssrs_2serverdistributeddeployment.gif?w=418&#038;h=158" alt="SSRS Two Server Distributed Deployment" width="418" height="158" /></span></strong></p>
<p><strong><span style="color:#0000ff;">Three Server Distributed Deployment</span></strong></p>
<div class="mceTemp">The first computer hosts an instance of a SharePoint product or technology. The second computer hosts SQL Server Reporting Services. The third computer hosts an instance of the Database Engine.</div>
<p>In the illustration, notice that the Database Engine does not require a local installation of a report server or an instance of a SharePoint product or technology.</p>
<p>To use a remote database server with a deployment of a SharePoint product or technology, choose the <strong>Advanced</strong> installation option when installing an instance of a SharePoint product or technology, or use Central Administration to modify the database server setting. To select a remote database server for Reporting Services, use the Reporting Services Configuration tool. </p>
<p><span style="color:#333333;"><span style="font-size:small;"><span style="font-family:Calibri;"> </span></span></span></p>
<p><span style="color:#000000;"><strong><span style="font-family:&quot;font-size:12pt;" lang="EN"><span style="color:#0000ff;"><img class="size-full wp-image-32" title="SSRS_3ServerDistributedDeployment" src="http://joethebusinessintelligenceguy.files.wordpress.com/2009/08/ssrs_3serverdistributeddeployment1.gif?w=594&#038;h=94" alt="SSRS Three Server Distributed Deployment" width="594" height="94" /></span></span></strong></span></p>
<p><span style="color:#000000;"><strong><span style="font-family:&quot;font-size:12pt;" lang="EN"><span style="color:#0000ff;">Three Server Mixed SQL Version Distributed Deployment</span></span></strong><span style="font-family:&quot;font-size:12pt;" lang="EN"> </span></span></p>
<div class="mceTemp"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">The first computer hosts an instance of a SharePoint product or technology. The second computer hosts SQL Server Reporting Services using SQL Server 2008. The third computer hosts an instance of the SQL Server 2005 Database Engine used for the SharePoint Configuration and Content databases (and alternatively the Reporting Services 2008 Report Server database as this may be hosted in a SQL Server 2005 database).</span></div>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">In the illustration, notice that the Database Engine does not require a local installation of a report server or an instance of a SharePoint product or technology.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">To use a remote database server with a deployment of a SharePoint product or technology, choose the Advanced installation option when installing an instance of a SharePoint product or technology, or use Central Administration to modify the database server setting. To select a remote database server for Reporting Services, use the Reporting Services Configuration tool.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;" lang="EN"> </span><strong><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">Key points regarding mixed SQL Versions:</span></strong><strong> </strong></p>
<p class="MsoNormal" style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">1.     The SSRS 2008 database can be deployed to the same or another database (not required to reside wherever the SharePoint databases are located)</span></p>
<p class="MsoNormal" style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">2.     You can install the SSRS 2008 Add-Ins to SharePoint even though it’s databases are on a SQL 2005 (confirmed by Lukasz Pawlowski – Program Manager SSRS)</span></p>
<p class="MsoNormal" style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">3.     You can host the SSRS 2008 content catalog (ReportServer and ReportServerTempDB databases) under either a 2005 or 2008 SQL Server instance</span></p>
<p class="MsoNormal" style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">4.     For Reporting Services, if you have SSRS deployed to one server and SharePoint on another, regardless of the SSRS add-in, only the Reporting Services machine will require a SQL Server license </span></p>
<p class="MsoNormal" style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">5.     The SharePoint Configuration and Content databases will require a separate SQL Server license if stored on a different server than the Reporting Services Report Server databases</span></p>
<p class="MsoNormal" style="line-height:normal;text-indent:-.25in;margin:0 0 0 .5in;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;" lang="EN"><strong>Database Usage:</strong></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;" lang="EN"> <strong><span style="color:#333333;">SharePoint Configuration Database</span></strong></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">Every SharePoint Web application has a configuration database that stores application settings. When you set up an instance of Windows SharePoint Services or Office SharePoint Server to work with a report server, you specify configuration settings in SharePoint Central Administration. The settings that you specify are stored in this database. Settings include the URL of the report server, account information for the Report Server service, information about the authentication provider used on the server, and site-level settings that limit or enable report history and logging.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">SharePoint Content Database</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">Each SharePoint Web application has one or more content databases that store the documents and properties that are accessed and managed through the server. For a report server that is configured for SharePoint integrated mode, the SharePoint content database provides the primary storage for published reports, report models, shared data sources, resources, properties, and permissions.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">Report Server Database and Report Server Temporary Database</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-family:&quot;color:#333333;font-size:12pt;" lang="EN">Each report server instance or scale-out deployment uses a single report server database to store persistent data. Temporary data is isolated in a secondary database. This enables you to create different backup schedules and set different growth properties for each one. There is one temporary database for each report server database. It stores session data and temporary snapshots that are created only for subscription processing, interactive reporting, or report caching as a performance enhancement.</span></p>
<p><span style="line-height:115%;font-family:&quot;color:#333333;font-size:12pt;" lang="EN">The data that is kept in a report server database includes schedules, subscriptions, and snapshots for report history or report execution. The report server database also maintains internal copies of the content files that are stored in the SharePoint content database. Storing internal copies improves performance by minimizing the number of times a file has to be sent to the report server for processing. Synchronization and verification checks ensure that the reports, models, and data sources are the same.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=28&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/08/27/reporting-services-sharepoint-integrated-mode-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2009/08/ssrs_1serverdeployment.gif" medium="image">
			<media:title type="html">SSRS_1ServerDeployment</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2009/08/ssrs_2serverdistributeddeployment.gif" medium="image">
			<media:title type="html">SSRS_2ServerDistributedDeployment</media:title>
		</media:content>

		<media:content url="http://joethebusinessintelligenceguy.files.wordpress.com/2009/08/ssrs_3serverdistributeddeployment1.gif" medium="image">
			<media:title type="html">SSRS_3ServerDistributedDeployment</media:title>
		</media:content>
	</item>
		<item>
		<title>TSQL Handling Runtime Comparison Type Support</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/03/11/tsql-handling-runtime-comparison-type-support/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/03/11/tsql-handling-runtime-comparison-type-support/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 01:59:09 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2000]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Versions]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=25</guid>
		<description><![CDATA[  I thought I’d share a rediscovery of an old technique I have used to permit more flexible queries. Enjoy! You can extend this concept to permit combinations of from/thru ranges as well. Note that I am also using some SQL 2008 syntax for inline declaration and setting of variables   (DECLARE @Var AS {DATATYPE} = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=25&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;">
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Calibri;"></span></div>
<p> </p>
<p><span style="font-size:small;font-family:Calibri;"></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">I thought I’d share a rediscovery of an old technique I have used to permit more flexible queries. Enjoy! You can extend this concept to permit combinations of from/thru ranges as well. Note that I am also using some SQL 2008 syntax for inline declaration and setting of variables</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;"> </span><span style="font-size:12pt;"> (</span><span style="font-family:&quot;color:blue;font-size:10pt;">DECLARE</span><span style="font-family:&quot;font-size:10pt;"> @Var <span style="color:blue;">AS</span> <span style="color:gray;">{</span>DATATYPE<span style="color:gray;">}</span> <span style="color:gray;">=</span> <span style="color:red;">&#8216;Value&#8217;</span></span><span style="font-size:12pt;">)</span><span style="font-family:&quot;font-size:10pt;"></span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-family:&quot;font-size:12pt;">Runtime Comparison Type Support</span></strong></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">In order to support providing the user with the ability to determine what comparison is needed along with the value to be used for the comparison, two parameters will be required. </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">The first parameter allows the user to specify the comparison that they want. For numeric values this would include greater than, less than, equal to comparisons. For character values this would include equal to and like comparisons. </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">The second parameter allows the user to specify the value to be used for the comparison selected.</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-family:&quot;font-size:12pt;">LIKE Usage Notes:</span></strong></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">The LIKE comparison operator is primarily useful for character string comparisons. LIKE Determines whether or not a given character string matches a specified pattern. A pattern can include regular characters and wildcard characters. During pattern matching, regular characters must exactly match the characters specified in the character string; wildcard characters, however, can be matched with arbitrary fragments of the character string. </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">Using wildcard characters makes the LIKE operator more flexible than using the = and != string comparison operators. If any of the arguments are not of character string data type, Microsoft® SQL Server™ converts them to character string data type, if possible.</span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><strong><span style="font-family:&quot;font-size:12pt;"> LIKE Wildcard Characters:</span></strong></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">% = Any string of zero or more characters. </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;color:blue;font-size:10pt;">WHERE</span><span style="font-family:&quot;font-size:10pt;"> title <span style="color:gray;">LIKE</span> ‘<span style="color:gray;">%</span>computer<span style="color:gray;">%</span>’ </span><span style="font-family:&quot;font-size:12pt;">finds all book titles with the word ‘computer’ anywhere in the book title. </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">_ (underscore) = Any single character. </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;color:blue;font-size:10pt;">WHERE</span><span style="font-family:&quot;font-size:10pt;"> au_fname <span style="color:gray;">LIKE</span> ‘_ean’</span><span style="font-family:&quot;color:green;font-size:12pt;"> </span><span style="font-family:&quot;font-size:12pt;">finds all four-letter first names that end with ean (Dean, Sean, and so on). </span><span style="font-family:&quot;font-size:12pt;"></span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;font-size:12pt;">[ ] = Any single character within the specified range ([a-f]) or set ([abcdef]). </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;color:blue;font-size:10pt;">WHERE</span><span style="font-family:&quot;font-size:10pt;"> au_lname <span style="color:gray;">LIKE</span> ‘[C-P]arsen’ </span><span style="font-family:&quot;font-size:12pt;">finds author last names ending with arsen and beginning with any single character between C and P, for example Carsen, Larsen, Karsen, and so on.</span><span style="font-family:&quot;font-size:12pt;"></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="line-height:115%;font-family:&quot;font-size:12pt;">[^] = Any single character not within the specified range ([^a-f]) or set ([^abcdef]). </span></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="font-family:&quot;color:blue;font-size:10pt;">WHERE</span><span style="font-family:&quot;font-size:10pt;"> au_lname <span style="color:gray;">LIKE</span> ‘de[^l]<span style="color:gray;">%</span>’ </span><span style="font-family:&quot;font-size:12pt;">all author last names beginning with de and where the following letter is not l.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:gray;font-size:10pt;">*/</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211; NOTES: </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211; Using SQL 2008 DECLARE and SET inline syntax change to add separate SET statements for pre SQL 2008</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211; Using AdventureWorks2008 sample database</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:gray;font-size:10pt;">*/</span><span style="font-family:&quot;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211; Numeric Comparison Supports &gt;, &lt;, and =</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;">DECLARE</span><span style="font-family:&quot;font-size:10pt;"> @Operator <span style="color:blue;">AS</span> <span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span>4<span style="color:gray;">)</span> <span style="color:gray;">=</span> <span style="color:red;">&#8216;&lt;&#8217;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;">DECLARE</span><span style="font-family:&quot;font-size:10pt;"> @Value <span style="color:blue;">AS</span> <span style="color:blue;">NUMERIC</span><span style="color:gray;">(</span>38<span style="color:gray;">,</span>6<span style="color:gray;">)</span> <span style="color:gray;">=</span> 20000.00</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span> </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211; Character Comparison Supports = and LIKE</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211;DECLARE @Operator2 AS VARCHAR(4) = &#8216;=&#8217;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:green;font-size:10pt;">&#8211;DECLARE @Value2 AS NVARCHAR(25) = &#8216;CE1F-4E31-89&#8242;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;">DECLARE</span><span style="font-family:&quot;font-size:10pt;"> @Operator2 <span style="color:blue;">AS</span> <span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span>4<span style="color:gray;">)</span> <span style="color:gray;">=</span> <span style="color:red;">&#8216;Like&#8217;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;">DECLARE</span><span style="font-family:&quot;font-size:10pt;"> @Value2 <span style="color:blue;">AS</span> <span style="color:blue;">NVARCHAR</span><span style="color:gray;">(</span>25<span style="color:gray;">)</span> <span style="color:gray;">=</span> <span style="color:red;">&#8216;C%&#8217;</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span> </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;">SELECT</span><span style="font-family:&quot;font-size:10pt;"> [SalesOrderID]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[SalesOrderDetailID]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[CarrierTrackingNumber]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[OrderQty]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[ProductID]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[SpecialOfferID]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[UnitPrice]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[UnitPriceDiscount]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[LineTotal]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[rowguid]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>      </span><span style="color:gray;">,</span>[ModifiedDate]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>  </span><span style="color:blue;">FROM</span> [AdventureWorks2008]<span style="color:gray;">.</span>[Sales]<span style="color:gray;">.</span>[SalesOrderDetail]</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>  </span><span style="color:blue;">WHERE</span> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;"><span>    </span></span><span style="font-family:&quot;color:gray;font-size:10pt;">((</span><span style="font-family:&quot;font-size:10pt;">@Operator <span style="color:gray;">=</span> <span style="color:red;">&#8216;&gt;&#8217;</span> <span style="color:gray;">AND</span> [LineTotal] <span style="color:gray;">&gt;</span> @Value<span style="color:gray;">)</span> </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>    </span><span style="color:gray;">OR</span><span style="color:blue;"> </span><span style="color:gray;">(</span>@Operator <span style="color:gray;">=</span> <span style="color:red;">&#8216;&lt;&#8217;</span> <span style="color:gray;">AND</span> [LineTotal] <span style="color:gray;">&lt;</span> @Value<span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>    </span><span style="color:gray;">OR</span><span style="color:blue;"> </span><span style="color:gray;">(</span>@Operator <span style="color:gray;">=</span> <span style="color:red;">&#8216;=&#8217;</span> <span style="color:gray;">AND</span> [LineTotal] <span style="color:gray;">=</span> @Value<span style="color:gray;">))</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>    </span><span style="color:gray;">AND</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;color:blue;font-size:10pt;"><span>    </span></span><span style="font-family:&quot;color:gray;font-size:10pt;">((</span><span style="font-family:&quot;font-size:10pt;">@Operator2 <span style="color:gray;">=</span> <span style="color:red;">&#8216;=&#8217;</span> <span style="color:gray;">AND</span> [CarrierTrackingNumber] <span style="color:gray;">=</span> @Value2<span style="color:gray;">)</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-family:&quot;font-size:10pt;"><span>    </span><span style="color:gray;">OR</span><span style="color:blue;"> </span><span style="color:gray;">(</span>@Operator2 <span style="color:gray;">=</span> <span style="color:red;">&#8216;Like&#8217;</span> <span style="color:gray;">AND</span> [CarrierTrackingNumber] <span style="color:gray;">LIKE</span> @Value2<span style="color:gray;">))</span></span></p>
<p><span style="font-family:&quot;color:blue;font-size:10pt;">GO</span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=25&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/03/11/tsql-handling-runtime-comparison-type-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>SSIS 2008 Logging and Package Configuration Objects FAQ</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/03/11/ssis-2008-logging-and-package-configuration-objects-faq/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/03/11/ssis-2008-logging-and-package-configuration-objects-faq/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 01:51:57 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Versions]]></category>
		<category><![CDATA[SSIS Integration Services]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=22</guid>
		<description><![CDATA[SSIS 2008 Logging to SQL Server 1. Can I change the dbo.sp_ssis_addlogentry system stored procedure to non-system stored procedure and if so how is this done?  Yes &#8211; you must drop and recreate the procedure (and don&#8217;t run [sp_MS_marksystemobject] N&#8217;[dbo].[sp_ssis_addlogentry]&#8216;) 2. Can I change the dbo.sysssislog system table to non-system table and if so how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=22&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SSIS 2008 Logging to SQL Server</p>
<p>1. Can I change the dbo.sp_ssis_addlogentry system stored procedure to non-system stored procedure and if so how is this done?<br />
 Yes &#8211; you must drop and recreate the procedure (and don&#8217;t run [sp_MS_marksystemobject] N&#8217;[dbo].[sp_ssis_addlogentry]&#8216;)</p>
<p>2. Can I change the dbo.sysssislog system table to non-system table and if so how is this done?<br />
 Yes &#8211; you must drop and recreate the table (and don&#8217;t run execute [sp_MS_marksystemobject] N&#8217;[sysssislog]&#8216;)<br />
 <br />
3. Is the new SSIS 2008 logging stored procedure dbo.sp_ssis_addlogentry different than the SSIS 2005 logging table dbo.sp_dts_addlogentry?<br />
 No</p>
<p>4. Is the new SSIS 2008 logging table dbo.sysssislog different than the SSIS 2005 logging table dbo.sysdtslog90?<br />
 No, the schema is the same</p>
<p>5. Can I change the dbo.sp_ssis_addlogentry procedure to reference a different named table other than dbo.sysssislog?<br />
 Yes &#8211; you must drop and recreate the procedure changing the referenced table name found after INSERT INTO<br />
  I often name this table as Audit.ETLAuditSSISLog</p>
<p>6. Can I change the name of the dbo.sysdtslog90 table?<br />
 Yes &#8211; you must drop and recreate the table<br />
  Additionally, you must drop and recreate the SSIS 2008 logging stored procedure dbo.sp_ssis_addlogentry<br />
  in order to change the referenced table name found after INSERT INTO<br />
  I often name this table as Audit.ETLAuditSSISLog</p>
<p>7. Can I change the name of the dbo.sp_ssis_addlogentry procedure?<br />
 No &#8211; SSIS will simply recreate the procedure if it is missing while the solution/package is configured to used SQL server logging.</p>
<p>SSIS 2008 Package Configuration using SQL Server</p>
<p>1. Is the new SSIS 2008 package configuration table different than the previous SSIS 2005 package configuration table?<br />
 No &#8211; the schema is identical</p>
<p>2. Can I change the name of the package configuration table?<br />
 Yes &#8211; you just have to change the SSIS reference in the Package Configuration Wizard (Configuration table)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=22&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/03/11/ssis-2008-logging-and-package-configuration-objects-faq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server™ Schemas and Data Warehouse Solution Organization</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/01/22/sql-server%e2%84%a2-schemas-and-data-warehouse-solution-organization/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/01/22/sql-server%e2%84%a2-schemas-and-data-warehouse-solution-organization/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 15:46:26 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[2005]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Data Design]]></category>
		<category><![CDATA[Schemas]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Versions]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=19</guid>
		<description><![CDATA[The use of schemas to organize the business intelligence solution’s SQL Server™ database objects (tables, views, stored procedures, functions) has many benefits...<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=19&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">Good organization helps us to develop efficiency and, even more importantly, increases our solutions understandability. Organizing the physical implementation of a business intelligence solution’s data tier within SQL Server™ is critical for organizing the overall business intelligence solution. The use of schemas to organize the business intelligence solution’s SQL Server™ database objects (tables, views, stored procedures, functions) has many benefits including:</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 0 .5in;"><span style="color:#333333;font-family:&quot;"><span style="font-size:small;">1.</span></span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">Clearly differentiates the objects based on their purpose (e.g. Dim = Dimension, Fact = Fact)</span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 0 .5in;"><span style="color:#333333;font-family:&quot;"><span style="font-size:small;">2.</span></span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">Eliminates the usage of suffixes or prefixes in object names (e.g. DimEmployee, FactRetailSales)</span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 10pt .5in;"><span style="color:#333333;font-family:&quot;"><span style="font-size:small;">3.</span></span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">Enables control of object visibility by applying security to the schema (e.g. end users only access Dim and Fact schemas)</span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">As somewhat of a relational purist I object to names of many database objects such as tables and views with prefixes to indicate their purpose. For example, many business intelligence or data warehousing efforts include table names like DimDate and DimEmployee for dimension tables and FactSales for fact tables. </span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">Since SQL Server™ 2005, schemas are not just a user based security object and now form a distinct container of objects that exists independently of database users. Additional details on this separation can be found within the SQL Server™ Books on Line topic “User-Schema Separation”.</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">The great data warehousing visionary, Ralph Kimball, rightly espouses the need to separate concerns in our data tier. Specifically, he addresses the separation of the data staging area and the data presentation area. His colorful analogy of the areas of a restaurant is useful. Ralph likens the data staging area of a data warehouse, “… to the kitchen of a restaurant, where raw food products are transformed into a fine meal.” He also correctly cites that this area should only be accessed by skilled professionals and should not be having to respond to customer inquiries. Lastly, Ralph states that it just is not safe for the patrons to go into our staging area as they could, “…be injured by the dangerous equipment, hot surfaces, and sharp knifes they may encounter in the kitchen.” Of course to further extend this warning, Ralph includes my favorite rationale when he states that, “Besides, things happen in the kitchen that customers just shouldn’t be privy to.”</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">So what has this advice to do with SQL Server™ schemas? Simple really, by our use of schemas within our data tier we are able to physically and logically separate the data staging and data presentation areas of our data warehouse.</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">So as a simple example of how schemas help organize our efforts, I’ll share how I use them as part of my own solution design strategy. First, the tables in the presentation area of the data warehouse would be organized into either the Dim or Fact schemas. As such you can expect to find tables named (with the schema qualifier) Dim.Date and Dim.Employee for dimension tables and Fact.Sales for fact tables. Any additional views, stored procedures, functions, etc. that are related to the dimensions, they get created in the related object’s schema.</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="font-size:small;"><span style="color:#333333;font-family:&quot;">I use the following schemas:</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Dim</span></em></strong><span style="color:#333333;font-family:&quot;"> &#8212; used for all objects related to the dimensions in the model </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Fact</span></em></strong><span style="color:#333333;font-family:&quot;"> &#8212; used for all objects related to the facts in the model </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Admin </span></em></strong><span style="color:#333333;font-family:&quot;">– used for all objects related to configuration that may be accessible to technical end users (e.g. SSIS package configuration table)</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Audit</span></em></strong><span style="color:#333333;font-family:&quot;"> &#8212; used to hold objects related to auditing (e.g. SSIS custom logging and error handling – except for the sysdtslog90 table for default SSIS logging which is assigned to the dbo schema and cannot be changed)</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Etl</span></em></strong><span style="color:#333333;font-family:&quot;"> &#8212; used to hold objects directly related to the ETL process including staging data (configuration values, processing directives, etc.) </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Report </span></em></strong><span style="color:#333333;font-family:&quot;">– used to hold objects specifically used by reporting applications (such as views and stored procedures used directly by SSRS)</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Olap </span></em></strong><span style="color:#333333;font-family:&quot;">– used to hold objects specifically used by analysis applications (such as views used directly by SSAS</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Test </span></em></strong><span style="color:#333333;font-family:&quot;">– used to hold objects specifically used for testing (such as tear down and setup data and scripts including those that may modify configurations)</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="text-indent:-.25in;line-height:18pt;margin:0 0 2.25pt 39pt;"><span style="font-size:10pt;color:#333333;font-family:Symbol;">·</span><span style="font-size:7pt;color:#333333;"><span style="font-family:Times New Roman;">       </span></span><span style="font-size:small;"><strong><em><span style="color:#333333;font-family:&quot;">Util </span></em></strong><span style="color:#333333;font-family:&quot;">– used to hold objects that can be used generically by any part of the solution (such as a uf_TableOfDate function used to create values for a date dimension or to be used to join during direct relation queries)</span><span style="color:#333333;font-family:&quot;"> </span></span></p>
<p style="margin-bottom:10pt;line-height:18pt;"><span style="color:#333333;font-family:&quot;"><span style="font-size:small;">I hope this information helps you to consider using schemas to help organize your data warehouse solutions. </span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=19&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/01/22/sql-server%e2%84%a2-schemas-and-data-warehouse-solution-organization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome to my Blog!</title>
		<link>http://joethebusinessintelligenceguy.wordpress.com/2009/01/22/welcome-to-my-blog/</link>
		<comments>http://joethebusinessintelligenceguy.wordpress.com/2009/01/22/welcome-to-my-blog/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 14:53:59 +0000</pubDate>
		<dc:creator>Joe Salvatore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joethebusinessintelligenceguy.wordpress.com/?p=3</guid>
		<description><![CDATA[After contemplating my contribution to the Business Intelligence community for several years, at last here it is. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=3&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom:0;"><span style="font-size:small;"><span style="color:black;font-family:&quot;">After contemplating my contribution to the Business Intelligence community for several years, at last here it is. </span><span style="font-size:10pt;color:black;font-family:&quot;"></span></span></p>
<p style="margin-bottom:0;"><span style="color:black;font-family:&quot;"><span style="font-size:small;">I am new to writing for a blog but have certainly been inspired by the countless thousands of friends and colleagues who have dedicated their time to the community by blogging. Please enjoy my somewhat random thoughts of useful information and anecdotal sidebars.</span></span><span style="font-size:10pt;color:black;font-family:&quot;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/joethebusinessintelligenceguy.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/joethebusinessintelligenceguy.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=joethebusinessintelligenceguy.wordpress.com&amp;blog=6276750&amp;post=3&amp;subd=joethebusinessintelligenceguy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://joethebusinessintelligenceguy.wordpress.com/2009/01/22/welcome-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64812cce802a7d909d077cf95baac4ef?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">Joe Salvatore</media:title>
		</media:content>
	</item>
	</channel>
</rss>
