<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A0IGRX8_fyp7ImA9WhRbF0Q.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759</id><updated>2012-02-09T15:58:44.147+01:00</updated><category term="guidelines" /><category term="Optimize for ad hoc workloads" /><category term="improve" /><category term="exact dashboard Globe" /><category term="Denali" /><category term="Windows XP" /><category term="DTS" /><category term="#verhagentweetup" /><category term="rendering reports" /><category term="bill" /><category term="free" /><category term="localization" /><category term="combine" /><category term="fonts" /><category term="PowerPivot" /><category term="SQL performance Simple" /><category term="Windows" /><category term="analytics" /><category term="enrich data" /><category term="cumulative" /><category term="include" /><category term="query" /><category term="Globe" /><category term="restore" /><category term="keyboard layout" /><category term="daily" /><category term="big tempdb" /><category term="SQL; performance; measure; bottleneck" /><category term="locks" /><category term="Windows Server 2008 R2" /><category term="configuration" /><category term="Missing indexes" /><category term="email" /><category term="developer" /><category term="SQL Server editions" /><category term="retrieved" /><category term="2008" /><category term="office 2010" /><category term="read committed" /><category term="CTP3" /><category term="sql 2012" /><category term="SSRS 2008 R2" /><category term="System Views" /><category term="Windows Vista" /><category term="release date" /><category term="type" /><category term="index usage statistics" /><category term="product review" /><category term="tweetup" /><category term="lock" /><category term="Service update" /><category term="outdated" /><category term="SYS.Database_usage" /><category term="holiday" /><category term="sp_helpindex" /><category term="SP1" /><category term="growth" /><category term="sql2008" /><category term="memory" /><category term="corporate homepage social media" /><category term="style sheet" /><category term="stop support" /><category term="concurrency" /><category term="happy new year" /><category term="bi" /><category term="Import and Export wizard" /><category term="preview" /><category term="batches" /><category term="sql 2005" /><category term="ldf" /><category term="SQL 2000" /><category term="on-premise" /><category term="sql server 2008 R2" /><category term="running totals" /><category term="bar chart" /><category term="backup compression" /><category term="database connection" /><category term="SSRS" /><category term="zipped" /><category term="performance testing" /><category term="design" /><category term="parameter" /><category term="entrepeneur" /><category term="delete records" /><category term="supported" /><category term="statistics" /><category term="considarations" /><category term="seperate" /><category term="error" /><category term="my experiences" /><category term="sharding" /><category term="Excel" /><category term="SQL Server 2008 Upgrade 2005" /><category term="Powerpoint Web App" /><category term="isolation levels" /><category term="support" /><category term="SQL 2011" /><category term="Report Builder 3.0" /><category term="no data" /><category term="folder" /><category term="procedure cache" /><category term="SQL Data Sync" /><category term="Read uncommitted" /><category term="line graph" /><category term="CTP" /><category term="bcp" /><category term="Business Intelligence" /><category term="PowerPivot Field List" /><category term="ebook" /><category term="site" /><category term="blocking" /><category term="rebuild clustered indexes SQL 2005 defragmentation" /><category term="SQL Server Management Studio" /><category term="covering index" /><category term="invalid" /><category term="survey" /><category term="Sketchmd" /><category term="export PDF" /><category term="SQL performance" /><category term="MRP" /><category term="fill factor" /><category term="compressed" /><category term="maintenance" /><category term="Bing maps" /><category term="Certified for" /><category term="Virtualization" /><category term="the new world of work" /><category term="differences" /><category term="SQL Azure Data Sync" /><category term="interactive sorting" /><category term="update" /><category term="second screen" /><category term="Corporate headquarters" /><category term="index fragmentation" /><category term="SQL Server 2008" /><category term="reporting server reports" /><category term="connect" /><category term="troubelshooting" /><category term="optimize" /><category term="sql on premise" /><category term="high availability" /><category term="supported features" /><category term="sql profiler trace" /><category term="auto update statistics" /><category term="size" /><category term="cube" /><category term="dashboard" /><category term="change database" /><category term="fullscan" /><category term="Azure DataMarket" /><category term="columns" /><category term="datamodel" /><category term="invoice" /><category term="sql" /><category term="DMV" /><category term="disk partition alignment" /><category term="twitter" /><category term="Minister Tweep" /><category term="crescent" /><category term="server" /><category term="scale out" /><category term="index" /><category term="social media" /><category term="Globe Reporting Views" /><category term="caching" /><category term="Maxime Verhagen" /><category term="execution plan" /><category term="suggestions" /><category term="data transfer" /><category term="bottleneck" /><category term="spid" /><category term="performance analyze" /><category term="Exact Synergy Enterprise" /><category term="ESE" /><category term="datafeed" /><category term="arie van deursen" /><category term="display" /><category term="RTM" /><category term="documentation" /><category term="web" /><category term="performance monitor" /><category term="ssas" /><category term="filtered index" /><category term="bottleneck sql query performance analyze" /><category term="visibility" /><category term="IIS Database manager" /><category term="review book" /><category term="guest lecture" /><category term="deprecated database engine features" /><category term="whitepaper" /><category term="settings" /><category term="syntax" /><category term="improve performance" /><category term="backup strategy" /><category term="Yes" /><category term="SSMS" /><category term="account names" /><category term="white paper" /><category term="blank pages" /><category term="css" /><category term="favorite" /><category term="tips" /><category term="Windows Azure MarketPlace" /><category term="SQL 2008 R2" /><category term="launch" /><category term="data driven subscription" /><category term="performance" /><category term="corrupted" /><category term="first experiences" /><category term="changes" /><category term="backup" /><category term="future" /><category term="overview" /><category term="SQL Azure labs" /><category term="multiple databases" /><category term="crw" /><category term="business" /><category term="google maps" /><category term="scalability" /><category term="support life cycle" /><category term="emotional relationship" /><category term="log file" /><category term="update_statistics" /><category term="federation" /><category term="language" /><category term="improvement" /><category term="do's and don'ts" /><category term="cloud" /><category term="Resource Governor" /><category term="SA" /><category term="labels" /><category term="TU Delft" /><category term="improvements" /><category term="style" /><category term="Map" /><category term="spatial data" /><category term="limitations" /><category term="hidden" /><category term="product update 398" /><category term="transaction log" /><category term="integration" /><category term="technical reference guide" /><category term="dynamic sorting" /><category term="disks" /><category term="Upgrade" /><category term="copy. move" /><category term="queryplan" /><category term="analyze" /><category term="not used" /><category term="power view" /><category term="geography" /><category term="architecture" /><category term="remove" /><category term="locking" /><category term="online defragmentation nonclustered indexes" /><category term="Clean up" /><category term="big" /><category term="cleanup" /><category term="SQL 2008" /><category term="exact" /><category term="executionlog3" /><category term="cache" /><category term="BIDS" /><category term="permission" /><category term="SQL Server" /><category term="Profile trace" /><category term="recovery model" /><category term="benchmark" /><category term="Exact System Information" /><category term="ESI" /><category term="Azure" /><category term="large number" /><category term="unknown" /><category term="Microsoft Press" /><category term="shrink" /><category term="GA" /><category term="download" /><category term="SaaS" /><category term="delete" /><category term="perfmon" /><category term="changed" /><category term="change datasource" /><category term="enterprise" /><category term="one" /><category term="script" /><category term="training kit" /><category term="dbcc freeproccache" /><category term="SQL Azure" /><category term="sql denali" /><category term="Power Pivot for Excel" /><category term="Windows Azure" /><category term="fire department" /><category term="MARS" /><category term="carp" /><category term="SQL Profiler" /><category term="file" /><category term="database" /><category term="Windows 7" /><category term="GBKMUT" /><category term="SYS.Bandwidth_usage" /><category term="unsupported" /><category term="fn_trace_gettable" /><category term="debug" /><category term="CTP November" /><category term="Books Online" /><category term="totals" /><category term="SQL performance index structure usage statistics" /><category term="operating systems" /><category term="collaborate" /><category term="empty" /><category term="donts" /><category term="translation" /><category term="restore strategy" /><category term="records" /><category term="process" /><category term="random" /><category term="Exact System Information tool" /><category term="execute" /><category term="dmvs" /><category term="monitoring" /><category term="mapping" /><category term="MS" /><category term="blog" /><category term="Exact Globe" /><category term="win a poken" /><category term="tempdb" /><category term="CREATE INDEX" /><category term="index suggestions" /><category term="updated" /><category term="blogger" /><category term="Virtualization SQL Hyper-V best practises" /><category term="fillfactor" /><category term="communicate" /><category term="drilldown" /><category term="upload" /><category term="customer experience" /><category term="features" /><category term="search" /><category term="microsoft" /><category term="SQL Azure Update 3" /><category term="improvement report" /><category term="forced parameterization" /><category term="SQL Azure Reporting CTP" /><category term="colors" /><category term="data set" /><category term="connectivity" /><category term="maps" /><category term="iPad" /><category term="traffic" /><category term="landscape" /><category term="reasons" /><category term="operatings Guide" /><category term="accounting" /><category term="BOL" /><title>Keep It Simple and Fast</title><subtitle type="html">Keep It Simple and Fast refers to my focus during development of applications. In my opinion, applications should be very simple to use and do not have dozens of options. Every application should perform very fast, even in high transactions volume or high multi user environments.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.keepitsimpleandfast.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>170</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/KeepItSimpleAndFast" /><feedburner:info uri="keepitsimpleandfast" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>KeepItSimpleAndFast</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;A0MGQ3c9eyp7ImA9WhRbEE8.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-6203009112185089856</id><published>2012-01-31T18:03:00.000+01:00</published><updated>2012-01-31T18:03:42.963+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-31T18:03:42.963+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure" /><category scheme="http://www.blogger.com/atom/ns#" term="sql on premise" /><category scheme="http://www.blogger.com/atom/ns#" term="performance testing" /><category scheme="http://www.blogger.com/atom/ns#" term="performance analyze" /><category scheme="http://www.blogger.com/atom/ns#" term="perfmon" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Profiler" /><title>Analyze performance between SQL Azure and SQL Server on premise.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AVvxYfQviKK0GvgcGo9z1bYob9M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AVvxYfQviKK0GvgcGo9z1bYob9M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AVvxYfQviKK0GvgcGo9z1bYob9M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AVvxYfQviKK0GvgcGo9z1bYob9M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div&gt;
You need to be convinced&amp;nbsp;that the performance in SQL Azure is acceptable for your end users before you can move you ron premise databases to SQL Azure. In the&amp;nbsp;on-premise environment you have a lot of tools which you can use to measure the SQL performance of your application. However, in SQL Azure the tools are not so good as the on–premise versions. For instance:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;You can’t connect with SQL Profiler to a SQL Azure database.&lt;/li&gt;
&lt;li&gt;You can’t connect with Windows performance monitor (Perfmon) from an Azure worker role to your SQL Azure database server.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
I strongly hope that this will be improved by Microsoft in the future. In this blog I will describe what you can do to analyze performance of your application in SQL Azure.&amp;nbsp;Most of the methods requires a lot of manual work, but it is better than nothing.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
First of all you need to upload a version of your on premise database to SQL Azure. Use the &lt;a href="http://sqlazuremw.codeplex.com/" target="_blank"&gt;SQL Azure Migration Wizard&lt;/a&gt;. The SQL Azure Migration Wizard is an open source application, which is designed to help you to migrate your SQL Server 2005/2008/2008R2/2012 databases to SQL Azure.&amp;nbsp; SQL Azure Migration Wizard will analyze your source database for compatibility issues and allow you to fully or partially migrate your database schema and data to SQL Azure.&amp;nbsp; SQL Azure Migration Wizard requires SQL 2008 R2 SP1. &lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-N0XEmKlohG8/TygUpVlQOsI/AAAAAAAAAqk/Yp_zVWHCZdE/s1600/AzurePerformance1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="225" src="http://2.bp.blogspot.com/-N0XEmKlohG8/TygUpVlQOsI/AAAAAAAAAqk/Yp_zVWHCZdE/s400/AzurePerformance1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
After uploading your database to SQL Azure we can start comparing query performance between the on-premise database and the SQL Azure database.&amp;nbsp;Take into account that latency between your test load application and the SQL Azure database should be minimized. This can be done in 2 ways:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Use queries for which the result set is minimal. For instance&amp;nbsp; SELECT COUNT(*) FROM TABLEX will result in one number.&amp;nbsp;This is a minimum number of bytes to transfer to the client. SELECT * FROM TABLEY will result in a lot of data transfer from SQL Azure server to the client.&lt;/li&gt;
&lt;li&gt;Execute queries from a Azure worker role which is hosted in the same data center as your SQL Azure server. &lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Record with SQL profiler some queries from your on premise solution. Store these queries in a SQL script file. In this SQL script file add next command before every query.&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: blue;"&gt;PRINT&lt;/span&gt;&lt;span style="color: red;"&gt; 'Query: Cashflow entries to be allocated 1'&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: blue;"&gt;SET STATISTICS IO ON&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: blue;"&gt;SET STATISTICS TIME&amp;nbsp; ON&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
SELECT Columns FROM MYtable&lt;br /&gt;
&lt;br /&gt;Add next command after every query:&lt;br /&gt;&lt;span style="color: blue;"&gt;SET STATISTICS IO OFF&lt;br /&gt;SET STATISTICS TIME OFF&lt;br /&gt;PRINT&lt;/span&gt;&lt;span style="color: red;"&gt; '----------------------------------------------------------------------'&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The SQL Script will be executed in SQL Server Management Studio (SSMS) . Enable Include Client Statistics. (Shift-ALT-S)&lt;br /&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-Y4A7UrIyHzc/TygWE-JEYrI/AAAAAAAAAqs/lprM3amWMcQ/s1600/AzurePerformance2.jpg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="112" src="http://2.bp.blogspot.com/-Y4A7UrIyHzc/TygWE-JEYrI/AAAAAAAAAqs/lprM3amWMcQ/s400/AzurePerformance2.jpg.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Result of the query is printed on the Results tab in SSMS&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-xrBX3f9TBKA/TygXGXvAMcI/AAAAAAAAAq0/t67nAxNrjD4/s1600/AzurePerformance3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-xrBX3f9TBKA/TygXGXvAMcI/AAAAAAAAAq0/t67nAxNrjD4/s1600/AzurePerformance3.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
The IO and Time statistics are printed on the message tab in SSMS &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-kdQ3XpHdK_g/TygXW20HfFI/AAAAAAAAAq8/ali0oBOKoWc/s1600/AzurePerformance4.jpg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://1.bp.blogspot.com/-kdQ3XpHdK_g/TygXW20HfFI/AAAAAAAAAq8/ali0oBOKoWc/s400/AzurePerformance4.jpg.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
SET STATISTICS IO ON: Will generate&amp;nbsp; ‘SQL Profiler’ read statistics per query. &lt;br /&gt;SET STATISTICS TIME ON: Will generate ‘SQL Profiler’ CPU Time and total elapsed query time.&lt;br /&gt;The client statistics are printed on the Client Statistics tab.&lt;br /&gt;
&lt;br /&gt;
To measure the total of all queries in one script add next command to the script.&lt;br /&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @STARTTIME &lt;span style="color: blue;"&gt;DateTime&lt;/span&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt; @ENDTIME &lt;span style="color: blue;"&gt;DateTime&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;SET&lt;/span&gt; @STARTTIME = &lt;span style="color: magenta;"&gt;GETDATE&lt;/span&gt;()&lt;br /&gt;Query 1&lt;br /&gt;Query 2&lt;br /&gt;….&lt;br /&gt;Query X&lt;br /&gt;At the bottom of the script add next syntax&lt;br /&gt;
&lt;br /&gt;&lt;span style="color: blue;"&gt;SET&lt;/span&gt; @ENDTIME =&lt;span style="color: magenta;"&gt; GETDATE&lt;/span&gt;()&lt;br /&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt; &lt;span style="color: magenta;"&gt;GETDATE&lt;/span&gt;(),&lt;span style="color: magenta;"&gt;DATEDIFF&lt;/span&gt; (ms, @STARTTIME, @ENDTIME) &lt;span style="color: blue;"&gt;AS&lt;/span&gt; QueryTime&lt;br /&gt;
&lt;br /&gt;After executing the script the last result set in the Results tab will display the execution time and exection time of the total script.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-pzphhfZbAxs/TygYa94_yvI/AAAAAAAAArE/Pa34QynSNvI/s1600/AzurePerformance5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-pzphhfZbAxs/TygYa94_yvI/AAAAAAAAArE/Pa34QynSNvI/s1600/AzurePerformance5.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Now your script is&amp;nbsp;READY for testing. Execute the script on:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;The on premise database&lt;/li&gt;
&lt;li&gt;SQL Azure database&lt;/li&gt;
&lt;/ol&gt;
Compare the results between the on premise results and the SQL Azure results.&lt;br /&gt;&lt;br /&gt;In the &lt;a href="http://msdn.microsoft.com/en-us/library/gg442306.aspx" target="_blank"&gt;Management Portal for SQL Azure&lt;/a&gt; you can get an overview of the query performance.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-4D9RnxMkj-s/TygYwaiI-wI/AAAAAAAAArM/jH-n9RwbaPs/s1600/AzurePerformance6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="157" src="http://1.bp.blogspot.com/-4D9RnxMkj-s/TygYwaiI-wI/AAAAAAAAArM/jH-n9RwbaPs/s640/AzurePerformance6.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Thinks to take into account:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Use only SELECT queries which enables you to redo test a lot of times on the SQL Azure database without the need to restore the database.&lt;/li&gt;
&lt;li&gt;If you plan to use INSERT, DELETE and UPDATE statements, you need to have a backup of your SQL Azure database.&amp;nbsp; Backup and Restore is not supported in SQL Azure at this moment but you can use the &lt;a href="http://msdn.microsoft.com/en-us/library/windowsazure/ff951624.aspx" target="_blank"&gt;CREATE DATABASE&amp;nbsp; XXX AS COPY of YYY statement&lt;/a&gt;. This will create a copy of your database using a new database name. &lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;CREATE DATABASE&lt;/span&gt; destination_database_name&lt;br /&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt; COPY &lt;span style="color: blue;"&gt;OF&lt;/span&gt; [source_server_name.]source_database_name&lt;br /&gt;&lt;br /&gt;To copy the Adventure Works database to the same server, I execute this: &lt;br /&gt;&lt;span style="color: blue;"&gt;CREATE DATABASE&lt;/span&gt; [AdvetureWorksBackup] &lt;br /&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt; COPY &lt;span style="color: blue;"&gt;OF&lt;/span&gt; [AdventureWorksLTAZ2008R2]&lt;/li&gt;
&lt;/ul&gt;
Observations:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;SQL Azure execute queries using one processor&amp;nbsp; (&lt;a href="http://social.msdn.microsoft.com/Forums/da/ssdsgetstarted/thread/547e4edb-b721-4388-8fb9-6881c05c2689" target="_blank"&gt;MAXDOP 1&lt;/a&gt;). Parallelism is not possible.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Dynamic Views in the manage portal contain history for a small period.&amp;nbsp; It’s difficult to see long running queries for a longer period. This happens because you will be connected to one of the 3 copies of your database.&amp;nbsp; You never know to which of the copies you will be directed. Every copy will have it’s own content in the DMV’s .&lt;/li&gt;
&lt;li&gt;&lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-performance-and-elasticity-guide.aspx#SQL%20Azure%20Performance%20Checklist" target="_blank"&gt;Performance is not guaranteed on SQL Azure&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In the tests I have executed so far, the SQL Azure database (8 GB Business Edition) is significant slower in comparison with a SQL database on my laptop. (DELL Latitude E6410).&amp;nbsp; One of the reasons is the single processor usage of SQL Azure.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-6203009112185089856?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/32LCgbtSk-w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/6203009112185089856/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=6203009112185089856" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6203009112185089856?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6203009112185089856?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/32LCgbtSk-w/analyze-performance-between-sql-azure.html" title="Analyze performance between SQL Azure and SQL Server on premise." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-N0XEmKlohG8/TygUpVlQOsI/AAAAAAAAAqk/Yp_zVWHCZdE/s72-c/AzurePerformance1.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/01/analyze-performance-between-sql-azure.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEMRXcyfCp7ImA9WhRUFEU.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4456527204404998282</id><published>2012-01-25T11:51:00.000+01:00</published><updated>2012-01-25T11:51:24.994+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T11:51:24.994+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="cloud" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure" /><category scheme="http://www.blogger.com/atom/ns#" term="scale out" /><category scheme="http://www.blogger.com/atom/ns#" term="on-premise" /><category scheme="http://www.blogger.com/atom/ns#" term="differences" /><category scheme="http://www.blogger.com/atom/ns#" term="considarations" /><category scheme="http://www.blogger.com/atom/ns#" term="sharding" /><category scheme="http://www.blogger.com/atom/ns#" term="limitations" /><category scheme="http://www.blogger.com/atom/ns#" term="federation" /><title>Reasons and considerations to move from on premise SQL server to SQL Azure in the cloud.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KL999EHwyJhJhSmBxSWK5sCgEYM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KL999EHwyJhJhSmBxSWK5sCgEYM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KL999EHwyJhJhSmBxSWK5sCgEYM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KL999EHwyJhJhSmBxSWK5sCgEYM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe allowtransparency="true" frameborder="0" id="twttrHubFrame" name="twttrHubFrame" scrolling="no" src="http://platform.twitter.com/widgets/hub.1326407570.html" style="height: 10px; position: absolute; top: -9999em; width: 10px;" tabindex="0"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-4jApmRHtWa0/Tx_ckhl8GbI/AAAAAAAAAqY/wu-OBh8MESM/s1600/IMG_0015.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://4.bp.blogspot.com/-4jApmRHtWa0/Tx_ckhl8GbI/AAAAAAAAAqY/wu-OBh8MESM/s320/IMG_0015.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
A lot of times I got questions from people why to use SQL Azure instead of using the on premise version. I strongly believe that the cloud is the future.&amp;nbsp; It’s the only way to go. Big question to answer: Is it already good enough to say good bye to the on premise version? In general this question can be answered with all advantages of using the cloud but thers are still some limitations. &lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;Advantages:&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;It allows you to scale up and pull back capacity as required, enabling services to be arranged around periods of peak demand&lt;/li&gt;
&lt;li&gt;24/7 availability (99,9% monthly &lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=8323" target="_blank"&gt;SLA&lt;/a&gt;)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Pay for what you uses.&amp;nbsp;Low upfront costs&lt;/li&gt;
&lt;li&gt;Anywhere access&lt;/li&gt;
&lt;li&gt;Always use of the latest software&lt;/li&gt;
&lt;li&gt;Reduced management&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;No patching or maintenance on SQL server level. SQL Azure administers the physical hardware such as hard drives, servers, and storage. &lt;strong&gt;However,&lt;/strong&gt; &lt;strong&gt;database maintenance is still needed like index fragmentation and &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-performance-and-elasticity-guide.aspx#SQL%20Azure%20Performance%20Checklist" target="_blank"&gt;update statistics&lt;/a&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Every database has built-in high-availability, failover, and redundancy. Every SQL database is replicated twice (to make a total of three databases) over different hardware boundaries in the same datacenter.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;No backups needed for data disaster recovery. &lt;strong&gt;However, backups for user failures are still needed.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Shift in focus on SQL development by Microsoft&amp;nbsp;from on premise to SQL Azure. At this moment SQL Azure is already running on version (11.0.1820) while the latest on premise version is running on version 10.50.2500 (SQL 2008 R2 SP1). &lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
So moving to the cloud with your database will have advantages but you should look to the limitations of the current version.&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;Limitations:&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;No performance guarantees at this moment&lt;/strong&gt;.&amp;nbsp; Part of the reason for this is the multitenant problem: many subscribers with their own SQL Azure databases share the same instance of SQL Server and the same computer, and it is impossible to predict the workload that each subscriber’s connections will be requesting. However, not having guarantees doesn’t mean that performance is not a critical aspect of the design of the SQL Azure infrastructure. SQL Azure provides load balancing services that evaluate the load on each machine in the data center. When a new SQL Azure database is added to the cluster, the Load Balancer determines the locations of the new primary and secondary replicas based on the current load on the machines. If one machine gets loaded too heavily, the Load Balancer can move a primary replica to a machine that is less loaded. The simplest way to do this move is to switch a primary and secondary replica for a SQL Azure database that is performing sluggishly. This switch can have a major and immediate impact on performance, because all reads and writes take place on the primary replica. See:&amp;nbsp; &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/inside-sql-azure.aspx#_Toc275506121" target="_blank"&gt;Inside SQL Azure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;SQL Azure provides a significant subset of the functionality of SQL 2008 R2, it does not currently have complete feature parity. For instance:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;No fill factor support for indexes.&lt;/li&gt;
&lt;li&gt;No Full-Text search support.&lt;/li&gt;
&lt;li&gt;Cross database queries are not possible.&lt;/li&gt;
&lt;li&gt;No&amp;nbsp;support for page level or row level compression like the enterprise edition of SQL Server 2008. &lt;a href="http://blogs.msdn.com/b/sqlazure/archive/2010/09/02/10057355.aspx" target="_blank"&gt;Work around is use the .NET CLR 2.0 System.IO.Compression namespace  in your data layer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;No Azure version available of SSAS and SSIS.  I expect it will come in the future but it is unknown when this will come available.&lt;/li&gt;
&lt;li&gt;No SQL Server Agent to schedule jobs. You need to use a Windows Azure worker role and create your own custom code to schedule jobs.&lt;/li&gt;
&lt;li&gt;Performance analysis tooling is minimal. SQL Profiler is still not supported but &lt;a href="http://www.mygreatwindowsazureidea.com/forums/34685-sql-azure-feature-voting/suggestions/431943-profiler-for-sql-azure" target="_blank"&gt;&lt;span style="color: #5588aa;"&gt;here you can vote to get it higher on the priority list&lt;/span&gt;&lt;/a&gt;. A lot of &lt;a href="http://blogs.msdn.com/b/sqlazure/archive/2010/07/27/10043069.aspx"&gt;&lt;span style="color: #5588aa;"&gt;DMV's are added to get insight in query performance&lt;/span&gt;&lt;/a&gt;. However you can't get insight in query details for one application of user connection. &lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Maximum of 149 user database per SQL Azure Server + one master database = 150 databases.&lt;/li&gt;
&lt;li&gt;Maximum database size 150 Gb.&amp;nbsp; Size limitations can be mitigated through the implementation of &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/how-to-shard-with-sql-azure.aspx" target="_blank"&gt;sharding&lt;/a&gt; which distributes load across multiple SQL Azure databases.&lt;/li&gt;
&lt;li&gt;Clustered index requirement before inserting data. This will make a clustered index change more complex. Because you can’t drop the clustered index if there is data in the table.&lt;/li&gt;
&lt;li&gt;SQL Azure Reporting still in CTP. No support for custom assemblies. This is needed to support multi languages and localization in reports.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-AU/ssdsgetstarted/thread/0828636e-f622-45d9-92f1-401d83003415" target="_blank"&gt;Performance of SQL Azure Reporting is not consistent&lt;/a&gt;. This is because not contain processing cache feature. I hope this will be fixed when general available.&lt;/li&gt;
&lt;li&gt;What to do to improve performance? I can’t add memory or add&amp;nbsp;spindles to my SQL Azure database server.&amp;nbsp; Is the only solution to split up my database in multiple databases using &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-performance-and-elasticity-guide.aspx#SQL_Azure_Elasticity_Scaling_Out_to_Multiple_Databases" target="_blank"&gt;SQL Azure Elasticity&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;Application can be hosted in your own data center. However to minimize network latency&amp;nbsp; you should host your application in the Windows Azure platform.&lt;/li&gt;
&lt;li&gt;More limitations can be found &lt;a href="http://msdn.microsoft.com/en-us/library/windowsazure/ff394115.aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
Conclusion: One year ago, I already &lt;a href="http://www.keepitsimpleandfast.com/2009/12/main-differences-between-sql-azure-and.html" target="_blank"&gt;blogged&lt;/a&gt; about difference between SQL Azure and SQL 2008. A lot is done in the last year. Development of the (SQL) Azure platform is going very fast, but still a lot need to be done. This is not strange because it takes time to make all on premise functionality available in the cloud. I’m looking forward what is coming in the coming year(s).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-4456527204404998282?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/MkvTpW7SH2Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4456527204404998282/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4456527204404998282" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4456527204404998282?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4456527204404998282?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/MkvTpW7SH2Y/reasons-and-considerations-to-move-from.html" title="Reasons and considerations to move from on premise SQL server to SQL Azure in the cloud." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-4jApmRHtWa0/Tx_ckhl8GbI/AAAAAAAAAqY/wu-OBh8MESM/s72-c/IMG_0015.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/01/reasons-and-considerations-to-move-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUCQn85eSp7ImA9WhRUFEw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-5922086656979119851</id><published>2012-01-24T16:01:00.000+01:00</published><updated>2012-01-24T16:01:03.121+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-24T16:01:03.121+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="launch" /><category scheme="http://www.blogger.com/atom/ns#" term="GA" /><category scheme="http://www.blogger.com/atom/ns#" term="sql 2012" /><category scheme="http://www.blogger.com/atom/ns#" term="crescent" /><category scheme="http://www.blogger.com/atom/ns#" term="power view" /><title>SQL 2012 will be launched on 7th march 2012</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pJ8Fnl34N08mlVpu7IqMmrUGUkw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pJ8Fnl34N08mlVpu7IqMmrUGUkw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pJ8Fnl34N08mlVpu7IqMmrUGUkw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pJ8Fnl34N08mlVpu7IqMmrUGUkw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-gFfYtKmpWj4/Tx7HjwGF0xI/AAAAAAAAAqQ/Zg5u6fZkSLY/s1600/sql2010_logo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-gFfYtKmpWj4/Tx7HjwGF0xI/AAAAAAAAAqQ/Zg5u6fZkSLY/s1600/sql2010_logo.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
On 7th March 2012, it is time to &lt;a href="http://www.sqlserverlaunch.com/ww/Home" target="_blank"&gt;launch SQL 2012&lt;/a&gt;, codename 'Denali'. As we have seen in the past, this does not mean that the bits are general available at this time. In the case of SQL Server 2008 R2, Microsoft’s release to manufacturing (RTM) of the product preceded by about a month the date on which most customers could actually get the bits. &lt;br /&gt;
&lt;br /&gt;
Interesting changes can be found in the BI stack, which is called Power View. (codename 'Crescent'). The biggest disadvantage of Power View is the need to have Sharepoint. A lot of organizations do not have the knowledge to install and maintain a Sharepoint server. Please read next 2 blogpost i mande in the past about Power View.&lt;br /&gt;
&lt;a href="http://www.keepitsimpleandfast.com/2011/07/perfect-demo-of-sql-server-project.html" target="_blank"&gt;Pefect demo of SQL Server project Crescent.&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.keepitsimpleandfast.com/2010/12/sql-denali-codename-crescent-what-is-it.html" target="_blank"&gt;SQL Denali Codename Crescent: What is it?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-5922086656979119851?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/bTEW4OAXtX4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/5922086656979119851/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=5922086656979119851" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5922086656979119851?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5922086656979119851?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/bTEW4OAXtX4/sql-2012-will-be-launched-on-7th-march.html" title="SQL 2012 will be launched on 7th march 2012" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-gFfYtKmpWj4/Tx7HjwGF0xI/AAAAAAAAAqQ/Zg5u6fZkSLY/s72-c/sql2010_logo.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2012/01/sql-2012-will-be-launched-on-7th-march.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MBQH07eCp7ImA9WhRVF00.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1472459396633848695</id><published>2011-12-13T18:23:00.002+01:00</published><updated>2012-01-16T10:17:31.300+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-16T10:17:31.300+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="overview" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008" /><category scheme="http://www.blogger.com/atom/ns#" term="bottleneck" /><title>Overview performance articles on my blog</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CQmxEbFk13lqrssxWWs9nD1pgUM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CQmxEbFk13lqrssxWWs9nD1pgUM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CQmxEbFk13lqrssxWWs9nD1pgUM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CQmxEbFk13lqrssxWWs9nD1pgUM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-RqzqYFlM6gY/Tt87_xPkkRI/AAAAAAAAAos/HCfhEJn7mc0/s1600/heli_6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://1.bp.blogspot.com/-RqzqYFlM6gY/Tt87_xPkkRI/AAAAAAAAAos/HCfhEJn7mc0/s320/heli_6.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Over the last&amp;nbsp;years I have blogged about a lot of topics related to the performance of SQL Server and SQL Reporting services. In this blog I will give an overview of the different articles I have published in the last 2 years.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;SQL Server:&lt;/strong&gt;&lt;br /&gt;
Monitoring&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/05/part-3-analyze-sql-profile-traces-with.html" target="_blank"&gt;Part 3: Analyze SQL Profile traces with a SSRS dashboard&amp;nbsp;The report itself&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/04/part-2-analyze-sql-profile-traces-with.html" target="_blank"&gt;Part 2: Analyze SQL Profile traces with a SSRS dashboard. How does it work&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/03/part-1-analyze-sql-profile-traces-with.html" target="_blank"&gt;Part 1: Analyze SQL Profile traces with a SSRS dashboard.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/10/combine-sql-profiler-with-performance.html" target="_blank"&gt;Combine SQL Profiler with Performance monitor logs&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/08/use-sql-profiler-replay-traces-to.html" target="_blank"&gt;Use SQL Profiler replay traces to benchmark performance of your SQL Server database&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/03/more-details-about-concurrency-locking.html" target="_blank"&gt;More details about concurrency, locking and blocking in SQL Server.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/11/bad-performance-and-lockings-occur-ad.html" target="_blank"&gt;Bad performance and lockings occur ad random on my database.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2009/03/how-to-measure-performance-of-your-sql.html" target="_blank"&gt;How to measure performance of your SQL Server&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
Index management&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/11/how-to-find-table-scans-in-your.html" target="_blank"&gt;How to find table scans in your database&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2009/08/index-statistics-and-suggestions-of.html" target="_blank"&gt;Index statistics and suggestions of a table in one query&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/10/which-fillfactor-should-i-use-to.html" target="_blank"&gt;Which fillfactor should&amp;nbsp;I use to improve performance. of my index.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/05/when-to-use-include-option-in-create.html" target="_blank"&gt;When to use the INCLUDE option in the Create index statement&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/10/my-filtered-index-is-not-used-impact-of.html" target="_blank"&gt;My filtered index is not used: The impact of forced parameterization&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/12/what-triggers-update-of-statistics-in.html" target="_blank"&gt;What triggers the update of statistics in my SQL 2008 database, when are statistics out of date&lt;/a&gt;?&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2008/12/optimize-index-structure-which-indexes.html" target="_blank"&gt;Which indexes are not used in my database?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2008/09/how-to-find-duplicate-indexes.html" target="_blank"&gt;How to find duplicate indexes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Other&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/05/what-is-optimize-for-ad-hoc-workloads.html" target="_blank"&gt;What is optimize for ad hoc workloads option in SQL 2008 and how to configure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/04/backup-compression-in-sql-server-2008.html" target="_blank"&gt;Backup compression in SQL Server 2008 (R2)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2009/09/use-batches-to-delete-large-number-of.html" target="_blank"&gt;Uses batches to delete large number of records in a table&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;strong&gt;Reporting Services:&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/07/more-tips-to-improve-performance-of.html" target="_blank"&gt;More tips to improve performance of SSRS reports&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/01/analyze-performance-of-your-reporting.html" target="_blank"&gt;Analyze performance of your reporting services reports using SSRS statistics&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/05/tips-to-improve-performance-of.html" target="_blank"&gt;Tips to improve performance of SSRS reports&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;strong&gt;SQL Azure&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/06/troubleshooting-and-optimizing-queries.html" target="_blank"&gt;Troubleshooting and optimizing queries on SQL Azure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/05/usefull-dmvs-for-sql-azure-to-analyze.html" target="_blank"&gt;Usefull DMV's for SQL Azure to analyze if you miss SQL Profiler&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;strong&gt;SQL Azure Reporting:&lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2011/11/executionlog-of-sql-azure-reporting.html" target="_blank"&gt;Executionlog of SQL Azure Reporting reports&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-1472459396633848695?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/69WztuwVi9Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1472459396633848695/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1472459396633848695" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1472459396633848695?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1472459396633848695?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/69WztuwVi9Y/overview-performance-articles-on-my.html" title="Overview performance articles on my blog" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-RqzqYFlM6gY/Tt87_xPkkRI/AAAAAAAAAos/HCfhEJn7mc0/s72-c/heli_6.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/12/overview-performance-articles-on-my.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcEQnc-fip7ImA9WhRRFUw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-230349842403606103</id><published>2011-11-28T21:43:00.000+01:00</published><updated>2011-11-28T21:43:23.956+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-28T21:43:23.956+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="rendering reports" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure Reporting CTP" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><title>Executionlog of SQL Azure Reporting reports .</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7tjCVhZl-6_h9_57miXIEu5je4c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7tjCVhZl-6_h9_57miXIEu5je4c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7tjCVhZl-6_h9_57miXIEu5je4c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7tjCVhZl-6_h9_57miXIEu5je4c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-tVby4tEckp0/TtPwv-jE38I/AAAAAAAAAok/t11RUX7HUB8/s1600/speedboat.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="219" src="http://1.bp.blogspot.com/-tVby4tEckp0/TtPwv-jE38I/AAAAAAAAAok/t11RUX7HUB8/s320/speedboat.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In one of my previous blogs I wrote about &lt;a href="http://www.keepitsimpleandfast.com/2011/07/more-tips-to-improve-performance-of.html" target="_blank"&gt;performance tips to improve the performance of your SSRS reports&lt;/a&gt;. In this blog I wrote about the 3 different performance elements during the execution of a report: &lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Time to retrieve the data (TimeDataRetrieval).&lt;/li&gt;
&lt;li&gt;Time to process the report (TimeProcessing)&lt;/li&gt;
&lt;li&gt;Time to render the report (TimeRendering)  &lt;/li&gt;
&lt;/ol&gt;
Total time = (TimeDataRetrieval) + (TimeProcessing) + (TimeRendering)&lt;br /&gt;
&lt;br /&gt;
As of SQL Server 2008 R2, this 3 performance components are logged every time for which a deployed report is executed. This information can be found in the table Executionlog3 in the ReportServer database. In SQL Azure Reporting you can't access the ExectionLog3 table, however it is still possible to get the contents of this table. To get the contents of this table do the following:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Login to the&amp;nbsp;&lt;a href="https://windows.azure.com/" target="_blank"&gt;Azure Management Portal&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Select Reporting&lt;/li&gt;
&lt;li&gt;Select your reporting subscription.&lt;/li&gt;
&lt;li&gt;Press the Download Execution Log button in the top of the management portal.&lt;/li&gt;
&lt;li&gt;Select the date you want to export.&lt;/li&gt;
&lt;li&gt;Open the downloaded CSV file in Excel. &lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-230349842403606103?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/V8xOhzjmg-M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/230349842403606103/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=230349842403606103" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/230349842403606103?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/230349842403606103?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/V8xOhzjmg-M/executionlog-of-sql-azure-reporting.html" title="Executionlog of SQL Azure Reporting reports ." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-tVby4tEckp0/TtPwv-jE38I/AAAAAAAAAok/t11RUX7HUB8/s72-c/speedboat.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/11/executionlog-of-sql-azure-reporting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MAQXw8fCp7ImA9WhRSFUk.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4635203507096876988</id><published>2011-11-17T18:04:00.000+01:00</published><updated>2011-11-17T18:04:00.274+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-17T18:04:00.274+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008" /><category scheme="http://www.blogger.com/atom/ns#" term="improve performance" /><title>How to find table scans in your database.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ywv0MqY2oHYbiM2kUfr4_vCE9RM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ywv0MqY2oHYbiM2kUfr4_vCE9RM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ywv0MqY2oHYbiM2kUfr4_vCE9RM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ywv0MqY2oHYbiM2kUfr4_vCE9RM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-WNRSWI172GI/Tr1RGJ7okKI/AAAAAAAAAoc/lMLMrvDgkSA/s1600/tablescan.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-WNRSWI172GI/Tr1RGJ7okKI/AAAAAAAAAoc/lMLMrvDgkSA/s1600/tablescan.png" /&gt;&lt;/a&gt;&lt;/div&gt;
Table scans are in most scenarios not the best way to retrieve records from the database. However, sometimes is only possible by executing a table scan because no useful indexes are available. In this situation, you can avoid table scans by adding an index. First of all, how many table scans occur in your database?&amp;nbsp;This information can be retrieved with Performance Monitor, but it is also possible to execute a query. &lt;tablescan&gt;Next script is very usefull to use to get information of your SQL Server.&lt;/tablescan&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tablescan&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;DECLARE&lt;/span&gt;&lt;/span&gt; @CounterPrefix &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;NVARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;30&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; @CounterPrefix &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;CASE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHEN&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;@@SERVICENAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'MSSQLSERVER'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;THEN&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQLServer:'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ELSE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'MSSQL$'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;@@SERVICENAME&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;':'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;-- Capture the first counter set&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;1 &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; collection_instance &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[OBJECT_NAME]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
      instance_name&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;cntr_value&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;cntr_type&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;CURRENT_TIMESTAMP&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; collection_time&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; #perf_counters_init&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;FROM&lt;/span&gt;&lt;/span&gt; &lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;sys&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;dm_os_performance_counters&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHERE &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Access Methods'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
        &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Full Scans/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &amp;nbsp;&amp;nbsp; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Access Methods'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Index Searches/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Buffer Manager'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Lazy Writes/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Buffer Manager'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
       &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Page life expectancy'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'General Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Processes Blocked'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'General Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'User Connections'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Locks'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Lock Waits/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Locks'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Lock Wait Time (ms)'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Re-Compilations/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Memory Manager'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Memory Grants Pending'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Batch Requests/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Compilations/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;-- Wait on Second between data collection&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WAITFOR&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;DELAY&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'00:00:01'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;-- Capture the second counter set&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;2 &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; collection_instance &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[OBJECT_NAME]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; instance_name&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;cntr_value&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;cntr_type&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;CURRENT_TIMESTAMP&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; collection_time&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; #perf_counters_second&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;FROM&lt;/span&gt;&lt;/span&gt; &lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;sys&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;dm_os_performance_counters&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHERE &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Access Methods'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
        &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Full Scans/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Access Methods'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Index Searches/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Buffer Manager'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Lazy Writes/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Buffer Manager'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Page life expectancy'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'General Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Processes Blocked'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'General Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'User Connections'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Locks'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Lock Waits/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Locks'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Lock Wait Time (ms)'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Re-Compilations/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Memory Manager'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Memory Grants Pending'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Batch Requests/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; OR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @CounterPrefix&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Statistics'&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;
&lt;/span&gt;&lt;/span&gt;
          &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'SQL Compilations/sec'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;-- Calculate the cumulative counter values&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt;&lt;/span&gt;  i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
        i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
        i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;instance_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
       &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;CASE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHEN&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;cntr_type &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; 272696576&lt;br /&gt;


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;THEN&lt;/span&gt;&lt;/span&gt; s&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;cntr_value &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;-&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;cntr_value&lt;br /&gt;


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHEN&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;cntr_type &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; 65792 &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;THEN&lt;/span&gt;&lt;/span&gt; s&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;cntr_value&lt;br /&gt;


       &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; END&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; cntr_value&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;FROM&lt;/span&gt;&lt;/span&gt; #perf_counters_init &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; i&lt;br /&gt;


  &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;JOIN&lt;/span&gt;&lt;/span&gt;  #perf_counters_second &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; s&lt;br /&gt;


    &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ON&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;collection_instance &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;+&lt;/span&gt;&lt;/span&gt; 1 &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; s&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;collection_instance&lt;br /&gt;


     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; s&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;
&lt;/span&gt;&lt;/span&gt;
     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;counter_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; s&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;counter_name&lt;br /&gt;


     &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; AND&lt;/span&gt;&lt;/span&gt; i&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;instance_name &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; s&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;instance_name&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ORDER&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;BY&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;OBJECT_NAME&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;-- Cleanup tables&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;DROP&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;TABLE&lt;/span&gt;&lt;/span&gt; #perf_counters_init&lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;DROP&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;TABLE&lt;/span&gt;&lt;/span&gt; #perf_counters_second &lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/tablescan&gt;&lt;br /&gt;
After executing this script you need to look to the values of&amp;nbsp;: Full Scans/sec&amp;nbsp;and Index searches/sec&lt;br /&gt;
Index scans should at least 300 times be bigger than Full Scans. To lower the number of Full Scans, you need to identify the queries which&amp;nbsp;are using a table scan in their execution plan. This information can be retrieved from the procedure cache.&amp;nbsp;In the execution plan you need to look for the&amp;nbsp;syntax: 'TableScan'. This can be done with next query.&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT &lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;TOP&lt;/span&gt;&lt;/span&gt; 50  st&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;text&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; [SQL]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; cp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;cacheobjtype&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; cp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;objtype&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;&amp;nbsp;&amp;nbsp; DB_NAME&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;st&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;dbid&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; [DatabaseName]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; cp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;usecounts &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; [Plan usage] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; qp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;query_plan &lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;FROM&lt;/span&gt;&lt;/span&gt; &lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;sys&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;dm_exec_cached_plans&lt;/span&gt;&lt;/span&gt; cp &lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;CROSS&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;APPLY&lt;/span&gt;&lt;/span&gt; &lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;sys&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;dm_exec_sql_text&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;cp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;plan_handle&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; st &lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;CROSS&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;APPLY&lt;/span&gt;&lt;/span&gt; &lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;sys&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;dm_exec_query_plan&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;cp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;plan_handle&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; qp &lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHERE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;CAST&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;qp&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;query_plan &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;NVARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;MAX&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;))&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;LIKE&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'%Tablescan%'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ORDER BY&amp;nbsp;&lt;/span&gt;&lt;/span&gt;usecounts &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;DESC&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
Now, we have the query which you can analyze in SSMS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-4635203507096876988?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/tf1hFRNCL0I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4635203507096876988/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4635203507096876988" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4635203507096876988?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4635203507096876988?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/tf1hFRNCL0I/how-to-find-table-scans-in-your.html" title="How to find table scans in your database." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-WNRSWI172GI/Tr1RGJ7okKI/AAAAAAAAAoc/lMLMrvDgkSA/s72-c/tablescan.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/11/how-to-find-table-scans-in-your.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMDQnk5fCp7ImA9WhRSEE4.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2086333611089498910</id><published>2011-11-10T20:38:00.003+01:00</published><updated>2011-11-11T17:54:33.724+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-11T17:54:33.724+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure Reporting CTP" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure" /><category scheme="http://www.blogger.com/atom/ns#" term="Azure" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure Data Sync" /><category scheme="http://www.blogger.com/atom/ns#" term="my experiences" /><title>My experience with (SQL) Azure. Azure Reporting and Azure Data Sync Preview.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/M_96QqB-buM6UlKlnTThoRvYXKg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M_96QqB-buM6UlKlnTThoRvYXKg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/M_96QqB-buM6UlKlnTThoRvYXKg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/M_96QqB-buM6UlKlnTThoRvYXKg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;In the past I have blogged about&amp;nbsp;&lt;a href="http://www.keepitsimpleandfast.com/2010/01/my-first-experiences-with-sql-azure-sql.html"&gt;my first experience with SQL Azure&lt;/a&gt; and &lt;a href="http://www.keepitsimpleandfast.com/2011/06/sql-azure-data-sync-ctp2-my-first.html"&gt;my first experience with SQL Azure Data Sync&lt;/a&gt;. In this blog I will give an update. A lot is changed. So time for an update.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;All Azure services are combined in one portal: &lt;a href="https://windows.azure.com/default.aspx"&gt;The Azure Management portal&lt;/a&gt;.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-7beCIBZC3WA/Trkz8rdxN-I/AAAAAAAAAnw/Xa6nKtAeddI/s1600/WindowsAzure1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-7beCIBZC3WA/Trkz8rdxN-I/AAAAAAAAAnw/Xa6nKtAeddI/s400/WindowsAzure1.JPG" width="393" /&gt;&lt;/a&gt;&lt;/div&gt;
In this portal you have access to all relevant Azure services. For instance Database for SQL Azure, Data Sync for the Azure Data Sync framework and Reporting for Azure Reporting Services.&amp;nbsp;I'm using Database, Data Sync and Reporting at this moment.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The performance of the management portal differs between the different Azure services. Database and Reporting responds with an acceptable performance. The Data Synce response times is&amp;nbsp;too slow.&amp;nbsp;A new management portal will be introduced in the &lt;a href="http://blogs.msdn.com/b/windowsazure/archive/2011/10/14/announcing-upcoming-sql-azure-q4-2011-service-release.aspx"&gt;Service release Q4 2011&lt;/a&gt; in Metro Style. I do not like that every&amp;nbsp;time&amp;nbsp;the complete look and feel of the management portal is changed. Think before you deploy. &lt;/li&gt;
&lt;li&gt;Firewall still only supports IP version 4. IP version 6 adresses are not allowed.&lt;/li&gt;
&lt;li&gt;SQL Azure&amp;nbsp;and&amp;nbsp;Azure Reporting Server is now available in datacenters all over the world.&lt;/li&gt;
&lt;li&gt;Maximum database size is 50 Gb. This will increase to 150 GB as&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/windowsazure/archive/2011/10/14/announcing-upcoming-sql-azure-q4-2011-service-release.aspx"&gt;of service release Q4 2011&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;Database backup can be made by creating a copy of your database with next command:&lt;br /&gt;CREATE DATABASE Database1B AS COPY OF Database1A. &lt;br /&gt;Be aware that you now pay for an additional database because you created a second database. As alternative you can use &lt;a href="http://code.msdn.microsoft.com/windowsazure/Backup-SQL-Azure-To-3b566585" target="_blank"&gt;BACPAC&lt;/a&gt;&amp;nbsp;to store the backup in Azure Blob storage.&lt;/li&gt;
&lt;li&gt;SQL Profiler is still not supported but &lt;a href="http://www.mygreatwindowsazureidea.com/forums/34685-sql-azure-feature-voting/suggestions/431943-profiler-for-sql-azure"&gt;here you can vote to get it higher on the priority list&lt;/a&gt;. A lot of &lt;a href="http://blogs.msdn.com/b/sqlazure/archive/2010/07/27/10043069.aspx"&gt;DMV's are added to get insight in query performance&lt;/a&gt;. However you can't get insight in query details for one application of user connection. &lt;/li&gt;
&lt;li&gt;The interface of Data Sync Preview version is much improved in comparison with the CTP2 version. However as mentioned in point 1, the performance is bad. For instance the refresh of&amp;nbsp; schema information.&lt;/li&gt;
&lt;li&gt;Data Synchronization of&amp;nbsp;column names with spaces is&amp;nbsp;not supported in the preview version. This will be &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/695858/column-name-containing-spaces-cant-be-synchronized-with-sql-azure-data-sync" target="_blank"&gt;fixed&lt;/a&gt; in the service release of end November 2011.&lt;/li&gt;
&lt;li&gt;You can synchronize a subset of a table by selecting the columns you need to sync and you can&amp;nbsp; configure row filtering by defining a filter clause.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-UwTOQi9xItQ/TrpHixzBWKI/AAAAAAAAAoA/sE-j6jUmKSo/s1600/AzureDatasyncFilter.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-UwTOQi9xItQ/TrpHixzBWKI/AAAAAAAAAoA/sE-j6jUmKSo/s400/AzureDatasyncFilter.JPG" width="340" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Changing a sync group is still not possible. This is a missing feature.&amp;nbsp;You need to remove the sync group and create a new one. This is a lot of manual work.&lt;/li&gt;
&lt;li&gt;Changes in your data schema is still not support in Azure Data Sync. &lt;/li&gt;
&lt;li&gt;Deploy&amp;nbsp;of on-premise reports to Azure reporting is really simple. You can deploy your on-premise reports&amp;nbsp;to Azure reporting without&amp;nbsp;changing the report. You only need to change the reporting server to which you want to deploy. Reports are the same only the URL is different.&lt;br /&gt;

&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-djhBbA_J-gs/TrpNNSKgFdI/AAAAAAAAAoI/lLi1Qhet48Y/s1600/AzureReportingOnpremise.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="161" src="http://2.bp.blogspot.com/-djhBbA_J-gs/TrpNNSKgFdI/AAAAAAAAAoI/lLi1Qhet48Y/s400/AzureReportingOnpremise.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Management portal for Reporting looks good and contains all basic functions you need.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-Y7A63vln448/TrpE61xc2dI/AAAAAAAAAn4/Pfi28nxLK0g/s1600/azurereporting1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="220" src="http://2.bp.blogspot.com/-Y7A63vln448/TrpE61xc2dI/AAAAAAAAAn4/Pfi28nxLK0g/s400/azurereporting1.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Rendering of Azure reports are slow in comparison with SSRS on premise reports. I have uploaded some of my on premise reports to Azure reporting. I have uploaded my test database&amp;nbsp;to SQL Azure. Azure Reports are genereated on the Azure database. This works great. Only the performance is different. After downloading the execution log, I could see that the performance decrease was caused by the rendering process. On my premise SSRS server it took&amp;nbsp;50 milliseconds to render this report.&amp;nbsp;In Azure Reporting is took 6 seconds to render. To be clear, I used the same report on the same dataset. Click &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/ssdsgetstarted/thread/b31b77b8-3f1e-433e-9734-154b10eb88a9" target="_blank"&gt;here&lt;/a&gt;&amp;nbsp;to see that&amp;nbsp;somebody else&amp;nbsp;encoutered the same performance decrease. What can I do to improve the performance of my reports on the Azure Reporting server?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;As you can see a lot is changed and good progress is made in the last year with the Azure platform. A big shift is made, SQL Azure is now in the lead in comparison to SQL Server on- premise. For instance SQL Azure is already running on SQL 2012 (codename Denali). Engine version 11.0.1476. SQL 2008 R2 is version 10.50.2500&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-9PyBgruwht0/TrpQcfU_ajI/AAAAAAAAAoQ/WbJ5rHTDOPk/s1600/AzureSQLversion.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="118" src="http://2.bp.blogspot.com/-9PyBgruwht0/TrpQcfU_ajI/AAAAAAAAAoQ/WbJ5rHTDOPk/s400/AzureSQLversion.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Performance of applications, reports etc. is something I always 
keep in mind. A lot is&amp;nbsp;done the last year to give the user more insight in how his application\reports are running in the Azure platform.&amp;nbsp; It is not a black box anymore, but it is still&amp;nbsp;dark gray. For a commercial use it should be clear why and how you can improve performance. &lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-2086333611089498910?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/pIP6P-4Uswk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2086333611089498910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2086333611089498910" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2086333611089498910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2086333611089498910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/pIP6P-4Uswk/my-experience-with-sql-azure-azure-and.html" title="My experience with (SQL) Azure. Azure Reporting and Azure Data Sync Preview." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-7beCIBZC3WA/Trkz8rdxN-I/AAAAAAAAAnw/Xa6nKtAeddI/s72-c/WindowsAzure1.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/11/my-experience-with-sql-azure-azure-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUMRXs-eip7ImA9WhRTGE4.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8077483017245527287</id><published>2011-11-09T12:14:00.000+01:00</published><updated>2011-11-09T12:14:44.552+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-09T12:14:44.552+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bi" /><category scheme="http://www.blogger.com/atom/ns#" term="future" /><category scheme="http://www.blogger.com/atom/ns#" term="microsoft" /><title>An impression to your future, with an important role for BI</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZjfcGK00NHdEhlTx5PtePJR8T-I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZjfcGK00NHdEhlTx5PtePJR8T-I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZjfcGK00NHdEhlTx5PtePJR8T-I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZjfcGK00NHdEhlTx5PtePJR8T-I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Microsoft published&amp;nbsp;&lt;a href="http://blogs.technet.com/b/microsoft_blog/archive/2011/10/27/microsoft-offers-a-glimpse-into-the-future-of-productivity.aspx" target="_blank"&gt;a new video&lt;/a&gt; that shows how the company believes technology is poised to evolve over the next five to 10 years, based on the trends its researchers and engineers are seeing in software, devices, displays, sensors, processors and intelligent systems. You will see a lot of BI&amp;nbsp;in this movie. BI&amp;nbsp;will help you to get the information in the way you want and need it.&lt;br /&gt;
&lt;iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/a6cNdhOKwi0" width="560"&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;span style="display: block; text-align: center;"&gt;&lt;a href="http://www.powerpivotblog.nl/the-future-of-information-workers-according-to-microsoft-and-bi-plays-a-big-part" target="_blank"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
Enjoy it to have a look into your future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-8077483017245527287?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/_T_xqRwS4jM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8077483017245527287/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8077483017245527287" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8077483017245527287?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8077483017245527287?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/_T_xqRwS4jM/impression-to-your-future-with.html" title="An impression to your future, with an important role for BI" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/a6cNdhOKwi0/default.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/11/impression-to-your-future-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8FQXo7eyp7ImA9WhRTFEw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1401932912997886364</id><published>2011-11-04T14:20:00.000+01:00</published><updated>2011-11-04T14:20:10.403+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-04T14:20:10.403+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="style sheet" /><category scheme="http://www.blogger.com/atom/ns#" term="BIDS" /><category scheme="http://www.blogger.com/atom/ns#" term="fonts" /><category scheme="http://www.blogger.com/atom/ns#" term="colors" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="style" /><category scheme="http://www.blogger.com/atom/ns#" term="css" /><title>How to implement style sheets in your SSRS reports?</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VxK2cANxwuK4uBsuZU1I3cHVAzk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VxK2cANxwuK4uBsuZU1I3cHVAzk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VxK2cANxwuK4uBsuZU1I3cHVAzk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VxK2cANxwuK4uBsuZU1I3cHVAzk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Within&amp;nbsp;SQL Server Reporting Services (SSRS), you have a lot of ways to style your reports. You can style your report in the way you want by using colors for text and background, fonts, font sizes etc... For instance:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-8bUKzolsjTU/TrPgxmHEsnI/AAAAAAAAAng/CYr9W69kNS4/s1600/SSRSStyles4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="176" src="http://4.bp.blogspot.com/-8bUKzolsjTU/TrPgxmHEsnI/AAAAAAAAAng/CYr9W69kNS4/s400/SSRSStyles4.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-2aFo5-7Okt0/TrPhDQhKoHI/AAAAAAAAAno/Np4Ag3qxK-c/s1600/SSRSStyles5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" src="http://1.bp.blogspot.com/-2aFo5-7Okt0/TrPhDQhKoHI/AAAAAAAAAno/Np4Ag3qxK-c/s400/SSRSStyles5.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
However,&amp;nbsp; these styles are 'hard coded' in the report. You can see this in the RDL file of the report.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-KSQri-24eSY/TrOlePdo3WI/AAAAAAAAAnI/WJiC-nVdY8I/s1600/SSRSStyles1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="209" src="http://4.bp.blogspot.com/-KSQri-24eSY/TrOlePdo3WI/AAAAAAAAAnI/WJiC-nVdY8I/s320/SSRSStyles1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
When the report is rendered as a HTML page it is not possible to&amp;nbsp;allow Cascading Style Sheets (CSS) to be used. It is even not possible to enable a style to be configured by the user.&amp;nbsp;This is a missing feature in SQL 2008 R2. SQL 2012 (codename Denali) will also not support style sheets. Style sheets can be very useful. For instance: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Assume you have applied&amp;nbsp;your corporate&amp;nbsp;branding to all your reports. Now the marketing department decide to change the corporate branding. You need manually change all your reports. &lt;/li&gt;
&lt;li&gt;As an account you have build a report for your customer X in his corporate branding. This reports can't be re-used for customer Y. You need to build a second version of the report in the corporate branding of company Y.&lt;/li&gt;
&lt;/ul&gt;
In this blogpost I will describe what you can do to apply styles to your reports.&lt;br /&gt;
&lt;br /&gt;
The style definition will not be&amp;nbsp;stored in the report but in the database.&amp;nbsp;By doing this, you can&amp;nbsp;easily add new styles&amp;nbsp;without the need to change your report. The report will make use of a Style parameter called @ReportStyeId. This parameter will retrieve the Style definition and will apply it to the report.&lt;br /&gt;
&lt;br /&gt;
First we need to create some tables to store the style definition.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;CREATE&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; SSRS_ReportStyle&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;&amp;nbsp;&amp;nbsp; (&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;ReportStyleId &lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;IDENTITY &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;1&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; 1&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; StyleName &lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;VARCHAR &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;80&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-family: inherit; font-size: small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;CREATE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;TABLE&lt;/span&gt;&lt;/span&gt; SSRS_Element&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ElementId &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;IDENTITY &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;ElementName &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VARCHAR &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;80&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;ElementDefaultValue &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VARCHAR &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;80&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;CREATE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;TABLE&lt;/span&gt;&lt;/span&gt; SSRS_ReportStyleElements&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&amp;nbsp; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ReportStyleId &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;ElementId &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;ElementValue &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VARCHAR &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;80&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Add some style definition data to the tables:&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;-- SSRS_Report Style&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;IDENTITY_INSERT&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyle] &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ON&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyle]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ReportStyleId&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;StyleName&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Blue Yellow'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyle]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ReportStyleId&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;StyleName&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;2&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Red'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;IDENTITY_INSERT&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyle] &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;OFF&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green; font-family: inherit;"&gt;-- Insert SSRS_Elements like for instance font colors and background colors. Each element will &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green; font-family: inherit;"&gt;-- have a default value which will be used in case this element is not defined in the style.&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;IDENTITY_INSERT&lt;/span&gt;&lt;/span&gt; [SSRS_Element] &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_Element]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementName]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementDefaultValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VALUES  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'TABLE_HEADER_BG'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'WHITE'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_Element]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementName]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementDefaultValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; VALUES  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;2&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'TABLE_HEADER_TEXT'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'BLACK'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_Element]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementName]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementDefaultValue]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; VALUES  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;3&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'TABLE_DETAIL_BG'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'WHITE'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_Element]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementName]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[ElementDefaultValue]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; VALUES  &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;4&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'TABLE_DETAIL_TEXT'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'BLACK'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;&lt;span style="color: green; font-family: inherit;"&gt;-- SSRS_Report Style Elements, for every style element we can define the color, size etc.&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ReportStyleId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'BLUE'&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ReportStyleId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 2&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'WHITE'&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ReportStyleId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 3&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'YELLOW'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ReportStyleId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 4&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'BLUE'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ReportStyleId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; 2&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 1&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'RED'&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INSERT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;INTO&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[ReportStyleId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementId]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [ElementValue] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey; font-family: inherit;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt; 2&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; 2&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'YELLOW'&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now, we have the style definition stored in the database.&amp;nbsp;It's time to&amp;nbsp;create a dataset to retrieve&amp;nbsp;the style which can be used by the report Style parameter @ReportStyleId. The resultset of the dataset&amp;nbsp;is 1 record with a column for every used style element. In this example I have 4 style elements. 1) Background &amp;nbsp;color header 2) Background color details&amp;nbsp;3) Color header font 4) Color detail text font. In the report definition we will use&amp;nbsp;expressions for every style configuration. This expression will use a column from the style dataset.&amp;nbsp; To create a dataset with one record we need to use the PIVOT T-SQL syntax. Unfortunately the PIVOT T-SQL syntax is not supported as query&amp;nbsp;text.&amp;nbsp;Therefor a stored procedure with the PIVOT statement will be created.&amp;nbsp;The dataset will use this&amp;nbsp;stored procedure with&amp;nbsp;a styleID parameter.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;CREATE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;PROCEDURE&lt;/span&gt;&lt;/span&gt; [dbo]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;[SP_SSRS_ReportStyle]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&amp;nbsp; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;@ReportStyleId &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp; (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt;&lt;/span&gt; [TABLE_HEADER_BG]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[TABLE_HEADER_TEXT]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TABLE_DETAIL_BG]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [TABLE_DETAIL_TEXT]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp; FROM&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT&lt;/span&gt;&lt;/span&gt; e&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;[ElementName] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;ISNULL&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;ElementValue&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;ElementDefaultValue&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; Value&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/span&gt;&lt;/span&gt;  [SSRS_Element] e &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WITH &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;NOLOCK&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;JOIN&lt;/span&gt;&lt;/span&gt; [SSRS_ReportStyleElements] rse &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WITH &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;NOLOCK&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON&lt;/span&gt;&lt;/span&gt; rse&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;[ElementId] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; e&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;[ElementId] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;AND&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rse&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;.&lt;/span&gt;&lt;/span&gt;[ReportStyleId] &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;span style="color: black;"&gt;@ReportStyleId&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: green;"&gt;&lt;span style="color: green;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; ReportStyleElements&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp; PIVOT&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: magenta;"&gt;&lt;span style="color: magenta;"&gt;MIN&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;Value&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp; FOR&lt;/span&gt;&lt;/span&gt; ElementName &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;IN&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;[TABLE_HEADER_BG]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[TABLE_HEADER_TEXT]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TABLE_DETAIL_BG]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; [TABLE_DETAIL_TEXT]&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;))&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;AS&lt;/span&gt;&lt;/span&gt; [Elements]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: inherit;"&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp; )&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
If you want to use more style elements, you need to update&amp;nbsp;the stored procedure to retrieve the added elements.&lt;br /&gt;
&lt;br /&gt;
Now all preparations are done to implement the&amp;nbsp;styles in your reports. &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open your report in BIDS. &lt;/li&gt;
&lt;li&gt;Add dataset SSRSStyles to the report using Stored Procedure: SP_SSRS_ReportStyle&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Zi69fPgGTz4/TrPbXQXV_iI/AAAAAAAAAnQ/ANLGyepykvU/s1600/SSRSStyles2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="367" src="http://4.bp.blogspot.com/-Zi69fPgGTz4/TrPbXQXV_iI/AAAAAAAAAnQ/ANLGyepykvU/s400/SSRSStyles2.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Create a parameter: @ReportStyleId with datatype Integer, allow null value, visible. Now the report can use the ReportStyle parameter. &lt;/li&gt;
&lt;li&gt;Configure the background color of the header&amp;nbsp;in your report to use the result set of the dataset. Do the same for the color of the font in the header.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-STDEx2ORxS0/TrPgBzD2gTI/AAAAAAAAAnY/a_xRmgBUYr0/s1600/SSRSStyles3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="211" src="http://4.bp.blogspot.com/-STDEx2ORxS0/TrPgBzD2gTI/AAAAAAAAAnY/a_xRmgBUYr0/s400/SSRSStyles3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Do the same for the detail rows in your report.&lt;/li&gt;
&lt;/ul&gt;
The report is ready to use. See the example for ReportStyle1&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-8bUKzolsjTU/TrPgxmHEsnI/AAAAAAAAAng/CYr9W69kNS4/s1600/SSRSStyles4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="177" src="http://4.bp.blogspot.com/-8bUKzolsjTU/TrPgxmHEsnI/AAAAAAAAAng/CYr9W69kNS4/s400/SSRSStyles4.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Example with ReportStyle 2&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-2aFo5-7Okt0/TrPhDQhKoHI/AAAAAAAAAno/Np4Ag3qxK-c/s1600/SSRSStyles5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" src="http://1.bp.blogspot.com/-2aFo5-7Okt0/TrPhDQhKoHI/AAAAAAAAAno/Np4Ag3qxK-c/s400/SSRSStyles5.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Enjoy it to implement styles to your SSRS reports.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-1401932912997886364?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/3wirkJNbC2Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1401932912997886364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1401932912997886364" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1401932912997886364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1401932912997886364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/3wirkJNbC2Q/how-to-implement-style-sheets-in-your.html" title="How to implement style sheets in your SSRS reports?" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-8bUKzolsjTU/TrPgxmHEsnI/AAAAAAAAAng/CYr9W69kNS4/s72-c/SSRSStyles4.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/11/how-to-implement-style-sheets-in-your.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ADRHozeCp7ImA9WhdaEEw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-6849455887715181043</id><published>2011-10-19T12:22:00.000+02:00</published><updated>2011-10-19T12:22:55.480+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-19T12:22:55.480+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="Power Pivot for Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008" /><category scheme="http://www.blogger.com/atom/ns#" term="update" /><category scheme="http://www.blogger.com/atom/ns#" term="Exact Globe" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><category scheme="http://www.blogger.com/atom/ns#" term="Globe Reporting Views" /><category scheme="http://www.blogger.com/atom/ns#" term="office 2010" /><title>How to use Power Pivot for Excel on your Exact Globe database.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VNZKvD-yLPxQFx_E4vRPHfPwB80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VNZKvD-yLPxQFx_E4vRPHfPwB80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VNZKvD-yLPxQFx_E4vRPHfPwB80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VNZKvD-yLPxQFx_E4vRPHfPwB80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;As described in my previous blog, &lt;a href="http://www.keepitsimpleandfast.com/2011/10/easier-to-build-reports-on-globe.html"&gt;easier to build reports on a Exact Globe database with your preferred reporting tools by making use of the Globe reporting views&lt;/a&gt;, I described the introduction of the Globe reporting views. In this blog I will describe how you can use these reporting views with Power Pivot for Excel (one of &lt;a href="http://www.keepitsimpleandfast.com/2010/04/my-favorite-top-10-features-of-sql-2008.html"&gt;my favorite 10 features of SQL 2008 R2&lt;/a&gt;).&amp;nbsp; &lt;a href="http://www.powerpivot.com/"&gt;&lt;span style="color: #5588aa;"&gt;PowerPivot for Excel&lt;/span&gt;&lt;/a&gt; is a data analysis tool that delivers unmatched computational power directly within Excel. It’s the user-friendly way to perform data analysis using PivotTable and, PivotChart views, and slicers. &lt;br /&gt;
&lt;br /&gt;
To make it a little bit easier for you I have created an Power Pivot for Excel sheet with some pre configured charts and tables on it. Of course in combinatie with the slicers. Last but not least, some relations between the different views. These relations are very important to analyze and combine different types of data. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-ClmoA0n5YuA/Tp6j_vJlUjI/AAAAAAAAAmY/kBbj_QZZeMA/s1600/GLobePowerPivot4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://4.bp.blogspot.com/-ClmoA0n5YuA/Tp6j_vJlUjI/AAAAAAAAAmY/kBbj_QZZeMA/s320/GLobePowerPivot4.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
This Power Pivot for Excel sheet make use of the Globe Reporting Views (GRV_*). As of Exact Globe product update 402 the first version of the reporting views are shipped. These views will only be installed as of SQL 2005.&lt;br /&gt;
&lt;br /&gt;
In this Excel sheet you will find tabs for:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Revenue Overview (Slicers on: Year, Period,Country, Statecode, Sectorcode, Employee)&lt;/li&gt;
&lt;li&gt;Revenue Costcenters and Projects (Slicers on: Year, Period,Project, Costcenter)&lt;/li&gt;
&lt;li&gt;Cost Costcenters and Projects (Slicers on: Year, Period,Project, Costcenter)&lt;/li&gt;
&lt;li&gt;Sales Account Analyze (Slicers on: Year, Period)&lt;/li&gt;
&lt;li&gt;Sales Employee Analyze (Slicers on: Year, Period)&lt;/li&gt;
&lt;li&gt;Sales Item Analyze (Slicers on: Year, Period)&lt;/li&gt;
&lt;li&gt;Sales Assortment Analyze (Slicers on: Year, Period)&lt;/li&gt;
&lt;li&gt;Top&amp;nbsp;Suppliers (Slicers on: Year, Period)&lt;/li&gt;
&lt;li&gt;Margin Items (Slicers on: Year, Period, Assortment)&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-iww-lfU0wzk/Tp6T2EloAVI/AAAAAAAAAmA/Gf78wMiEPjk/s1600/GLobePowerPivot1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="251" src="http://3.bp.blogspot.com/-iww-lfU0wzk/Tp6T2EloAVI/AAAAAAAAAmA/Gf78wMiEPjk/s400/GLobePowerPivot1.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-2pra-hk6z4A/Tp6UNGk395I/AAAAAAAAAmI/bcECYKRKnkE/s1600/GLobePowerPivot2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="245" src="http://2.bp.blogspot.com/-2pra-hk6z4A/Tp6UNGk395I/AAAAAAAAAmI/bcECYKRKnkE/s400/GLobePowerPivot2.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-ro7AMQD6JHM/Tp6Uk3PRvFI/AAAAAAAAAmQ/2ImPQV59M_k/s1600/GLobePowerPivot3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="145" src="http://3.bp.blogspot.com/-ro7AMQD6JHM/Tp6Uk3PRvFI/AAAAAAAAAmQ/2ImPQV59M_k/s400/GLobePowerPivot3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;Before starting you need to have:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;MS Office Excel 2010, preferable 64 bits version. &lt;/li&gt;
&lt;li&gt;Globe database installed on SQL 2005 or higher.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://powerpivot.com/"&gt;Power Pivot for Excel&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Globe Reporting Views installed on your Globe database. In case you can't wait for Globe release 402. &lt;a href="https://skydrive.live.com/view.aspx?cid=C5068F78FA13E055&amp;amp;resid=C5068F78FA13E055%21779#!/?cid=c5068f78fa13e055&amp;amp;id=C5068F78FA13E055%21779"&gt;Download&lt;/a&gt; the script to install the views.&lt;/li&gt;
&lt;li&gt;Read access to the&amp;nbsp;Globe Reporting Views&lt;/li&gt;
&lt;li&gt;&lt;a href="https://skydrive.live.com/view.aspx?cid=C5068F78FA13E055&amp;amp;resid=C5068F78FA13E055%21779"&gt;Download&lt;/a&gt; and Open the GRV_PowerPivotGlobe excel sheet.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Now it is time to load your Globe&amp;nbsp;data in your sheet. Next steps are described in my blogpost: &lt;a href="http://www.keepitsimpleandfast.com/2011/04/how-to-change-database-for-your-power.html"&gt;How to change the database for your Power Pivot sheet&lt;/a&gt;.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Change the database connection to your Globe database&lt;/li&gt;
&lt;li&gt;Update (Refresh) the the Power Pivot Window.&lt;/li&gt;
&lt;li&gt;Update (Refresh) the Excel sheet.&lt;/li&gt;
&lt;li&gt;Now you are ready to analyze your Globe administration in Power Pivot for Excel.&lt;/li&gt;
&lt;li&gt;Adjust the Charts, Pivots, tables&amp;nbsp;etc to your own preferences.&lt;/li&gt;
&lt;/ol&gt;
Enjoy the power of Power Pivot for Excel on your Globe databases.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-6849455887715181043?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/ncMvT0UqYyA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/6849455887715181043/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=6849455887715181043" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6849455887715181043?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6849455887715181043?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/ncMvT0UqYyA/how-to-use-power-pivot-for-excel-on.html" title="How to use Power Pivot for Excel on your Exact Globe database." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ClmoA0n5YuA/Tp6j_vJlUjI/AAAAAAAAAmY/kBbj_QZZeMA/s72-c/GLobePowerPivot4.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/10/how-to-use-power-pivot-for-excel-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8ARn45fip7ImA9WhdbFE8.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4405869019449098997</id><published>2011-10-12T14:50:00.000+02:00</published><updated>2011-10-12T14:50:47.026+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-12T14:50:47.026+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="bottleneck sql query performance analyze" /><category scheme="http://www.blogger.com/atom/ns#" term="ssas" /><category scheme="http://www.blogger.com/atom/ns#" term="cube" /><category scheme="http://www.blogger.com/atom/ns#" term="whitepaper" /><category scheme="http://www.blogger.com/atom/ns#" term="white paper" /><title>White paper Analysis Services 2008 R2 Performance Guide</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6p4PERjevNACi0mzOkYwiRga84Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6p4PERjevNACi0mzOkYwiRga84Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6p4PERjevNACi0mzOkYwiRga84Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6p4PERjevNACi0mzOkYwiRga84Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-kVtPx7PRZrM/TpWM91v1OrI/AAAAAAAAAl4/DUNLyTti_kU/s1600/WhitePaper.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://4.bp.blogspot.com/-kVtPx7PRZrM/TpWM91v1OrI/AAAAAAAAAl4/DUNLyTti_kU/s200/WhitePaper.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
This month Thomas Kejser and Denny Lee published the white paper: &lt;a href="http://download.microsoft.com/download/6/5/6/6567C845-FC8D-4D62-920F-C027A349C889/SSASPerfGuide2008R2.pdf"&gt;Analysis Services 2008 R2 Performance Guide&lt;/a&gt;. This white paper describes how business intelligence developers can apply query and processing performance-tuning techniques to their Microsoft SQL Server 2008 R2 Analysis Services OLAP solutions.&lt;br /&gt;
&lt;br /&gt;
&lt;span&gt;This guide contains information about building and tuning Analysis Services in SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 cubes for the best possible performance. It is primarily aimed at business intelligence (BI) developers who are building a new cube from scratch or optimizing an existing cube for better performance.&lt;/span&gt;&lt;br /&gt;
&lt;span&gt; &lt;/span&gt;The goal of this guide is to provide you with the necessary background to understand design tradeoffs and with techniques and design patterns that will help you achieve the best possible performance of even large cubes.&lt;br /&gt;
&lt;span&gt;Cube performance can be divided into two types of workload: query performance and processing performance. Because these workloads are very different, this paper is organized into four main sections.&lt;/span&gt;&lt;br /&gt;
&lt;span&gt;Design Patterns for Scalable Cubes &lt;/span&gt;&lt;span&gt;– &lt;/span&gt;&lt;span&gt;No amount of query tuning and optimization can beat the benefits of a well-designed data model. This section contains guidance to help you get the design right the first time. In general, good cube design follows Kimball modeling techniques, and if you avoid some typical design mistakes, you are in very good shape.&lt;/span&gt;&lt;br /&gt;
&lt;span&gt;Tuning Query Performance &lt;/span&gt;&lt;span&gt;- Query performance directly impacts the quality of the end-user experience. As such, it is the primary benchmark used to evaluate the success of an online analytical processing (OLAP) implementation. Analysis Services provides a variety of mechanisms to accelerate query performance, including aggregations, caching, and indexed data retrieval. This section also provides guidance on writing efficient Multidimensional Expressions (MDX) calculation scripts.&lt;/span&gt;&lt;br /&gt;
&lt;span&gt;Tuning Processing Performance &lt;/span&gt;&lt;span&gt;- Processing is the operation that refreshes data in an Analysis Services database. The faster the processing performance, the sooner users can access refreshed data. Analysis Services provides a variety of mechanisms that you can use to influence processing performance, including parallelized processing designs, relational tuning, and an economical processing strategy (for example, incremental versus full refresh versus proactive caching).&lt;/span&gt;&lt;br /&gt;
&lt;span&gt;Special Considerations &lt;/span&gt;&lt;span&gt;– &lt;/span&gt;&lt;span&gt;Some features of Analysis Services such as distinct count measures and many-to-many dimensions require more careful attention to the cube design than others. At the end of the paper you will find a section that describes the special techniques you should apply when using these features.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-4405869019449098997?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/KVxG1YEIT2w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4405869019449098997/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4405869019449098997" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4405869019449098997?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4405869019449098997?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/KVxG1YEIT2w/white-paper-analysis-services-2008-r2.html" title="White paper Analysis Services 2008 R2 Performance Guide" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-kVtPx7PRZrM/TpWM91v1OrI/AAAAAAAAAl4/DUNLyTti_kU/s72-c/WhitePaper.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/10/white-paper-analysis-services-2008-r2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUGQX06fyp7ImA9WhdUGU8.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-2384189865443000332</id><published>2011-10-06T19:47:00.000+02:00</published><updated>2011-10-06T19:47:00.317+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-06T19:47:00.317+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="reporting server reports" /><category scheme="http://www.blogger.com/atom/ns#" term="System Views" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="crw" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><category scheme="http://www.blogger.com/atom/ns#" term="exact dashboard Globe" /><title>Easier to build reports on a Globe database with your preferred reporting tools by making use of the Globe Reporting Views.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xpwLCjkiaMuv4P0Dqdnz4i7omZo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xpwLCjkiaMuv4P0Dqdnz4i7omZo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xpwLCjkiaMuv4P0Dqdnz4i7omZo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xpwLCjkiaMuv4P0Dqdnz4i7omZo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-cOXAh3cch8Y/To2vtwhBhUI/AAAAAAAAAl0/AaYUaudB7Pg/s1600/Festool_tdk15_01.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-cOXAh3cch8Y/To2vtwhBhUI/AAAAAAAAAl0/AaYUaudB7Pg/s1600/Festool_tdk15_01.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
A lot of data is stored by business solutions in one or more databases. Every business solution will ship a lot of overviews to support your business process. However, a lot of users requires some custom made reports, which are not part of the standard solution. As of today a lot of reporting tools are available to build reports on your database. For instance:&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;SQL Server Reporting Services (SSRS)&lt;/li&gt;
&lt;li&gt;Crystal Reports (CRW)&lt;/li&gt;
&lt;li&gt;Excel&lt;/li&gt;
&lt;li&gt;Power Pivot for Excel&lt;/li&gt;
&lt;/ul&gt;
Every reporting tool has it's own advantages and disadvantages. It's up to the report builder to use his favorite reporting tool.&lt;br /&gt;
&lt;div&gt;
Building reports can be divided into next steps:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Define the goal of your report.&lt;/li&gt;
&lt;li&gt;Retreive the data from the data source.&lt;/li&gt;
&lt;li&gt;Make calculations with the data you have retrieved.&lt;/li&gt;
&lt;li&gt;Format the report according your UX design rules. &lt;/li&gt;
&lt;/ol&gt;
The report builder expert will know all in's and out's of the reporting tool. However this expert does not always understand the business logic of the solution. To get a better understanding you need to read and understand the database documentation of the solution. I will explain with one example: How can I get all outstanding invoices of customer X. To answer this question you need to know in which tables this information is stored but also how it is stored. For Exact Globe next tables are used: GBKMUT, BankTransactions, CICMPY. The outstanding items query will contain 140 lines of code. So being a report builder expert you can still not build the requested reports if you do not understand the business logic.&lt;br /&gt;
&lt;div&gt;
To solve the challenge of the business logic we have developed database views which contains the&amp;nbsp;business logic. The view will present the data in an understandable format which can be used in the report. &lt;/div&gt;
&lt;div&gt;
The advantages of using views:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Business logic is in the database, not in the report. If business logic changes, the view&amp;nbsp;will be updated with the new logic. No changes are needed in the&amp;nbsp;report.&lt;/li&gt;
&lt;li&gt;Data is presented in an understandable way. For instance 'Supplier code' instead of a databasse column name: 'cicmpy.crdcode'&lt;br /&gt;

&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-UyWhmNZgGME/To2ng6EokOI/AAAAAAAAAls/_8GNs9OFVN8/s1600/GRV_Views.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="281" src="http://1.bp.blogspot.com/-UyWhmNZgGME/To2ng6EokOI/AAAAAAAAAls/_8GNs9OFVN8/s640/GRV_Views.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Data sets in the reports are easier to read and maintain.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Performance can&amp;nbsp; be better guaranteed.&lt;/li&gt;
&lt;/ol&gt;
As of Exact Globe product update 402 the first version of the reporting views are shipped. The Globe Reporting Views start with 'GRV_' in their name.&amp;nbsp; In my next blog post I will describe how you can use these views with Power Pivot for Excel.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-2384189865443000332?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/23j3smwgJNA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/2384189865443000332/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=2384189865443000332" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2384189865443000332?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/2384189865443000332?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/23j3smwgJNA/easier-to-build-reports-on-globe.html" title="Easier to build reports on a Globe database with your preferred reporting tools by making use of the Globe Reporting Views." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-cOXAh3cch8Y/To2vtwhBhUI/AAAAAAAAAl0/AaYUaudB7Pg/s72-c/Festool_tdk15_01.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/10/easier-to-build-reports-on-globe.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QASHs6cCp7ImA9WhdVFUU.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1796808117565786400</id><published>2011-09-20T11:12:00.001+02:00</published><updated>2011-09-21T09:15:49.518+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-21T09:15:49.518+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Azure DataMarket" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="datafeed" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows Azure MarketPlace" /><category scheme="http://www.blogger.com/atom/ns#" term="PowerPivot" /><title>Empower your BI using Powerpivot with the datasets of the Windows Azure Marketplace.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fq94Fi0vuLmzSpQvuJdq-b32sxw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fq94Fi0vuLmzSpQvuJdq-b32sxw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fq94Fi0vuLmzSpQvuJdq-b32sxw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fq94Fi0vuLmzSpQvuJdq-b32sxw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-wV8QfJ4mEiU/TnhXp7KJQJI/AAAAAAAAAlo/PV7SwjCooiY/s1600/WindowsAzureMarketPlace.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-wV8QfJ4mEiU/TnhXp7KJQJI/AAAAAAAAAlo/PV7SwjCooiY/s1600/WindowsAzureMarketPlace.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
To empower you BI solutions, you want to merge data from different data providers. In most companies data is merged from databases within the company. As of today a lot more information is available which can be useful to empower your BI solution. I will explain this with an example. 

&lt;br /&gt;
Assume your company is making ice creams. The sales revenue of ice cream depends on the weather. The higher the tempature, the more ice creams will be consumed. So your revenue of ice creams should be compared with the tempature. By comparing your revenue with the tempature you can see if the increase in revenue is caused by a good job of your sales people or by extreem hot temparture of the last period. How do you know what the tempature has been in the last year? This kind of data will come available in the Windows Azure Market Place for premium data. It will enable information workers to integrate premium datasets available on DataMarket with their on-premise business data to perform analytics.




&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;How to use premium Windows Azure DataMarket data?

&lt;/strong&gt;&lt;br /&gt;
In this example I will make use of a dataset which is for free: &lt;a href="https://datamarket.azure.com/dataset/1542c52d-d466-4094-a801-9ef8fd7c6485"&gt;Datestream&lt;/a&gt;. Datestream is a date table feed designed for import into an Excel PowerPivot model. The table contains columns particularly suitable for time business intelligence applications.



 &lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Sign on to the Windows Azure market Place.&lt;/li&gt;
&lt;li&gt;Select the &lt;a href="https://datamarket.azure.com/dataset/1542c52d-d466-4094-a801-9ef8fd7c6485"&gt;Datestream&lt;/a&gt; dataset.&lt;/li&gt;
&lt;li&gt;Select the hyperlink: Explorer this dataset.&lt;br /&gt;

&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-ClXwicVdDaE/TnhULRve3gI/AAAAAAAAAlQ/5vvu-HsDs2M/s1600/Azuredatamarket1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="269" src="http://3.bp.blogspot.com/-ClXwicVdDaE/TnhULRve3gI/AAAAAAAAAlQ/5vvu-HsDs2M/s320/Azuredatamarket1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Specify YearKey 2010. In my example I will analyze only the year 2010. Press on the Run Query button.&lt;/li&gt;
&lt;li&gt;To generate a DataFeed. Select Export and press on the Export to Excel Powerpivot Download button.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-ikQQDrsHspk/TnhVL0ZlXEI/AAAAAAAAAlU/aMvdn5xredI/s1600/Azuredatamarket2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="309" src="http://2.bp.blogspot.com/-ikQQDrsHspk/TnhVL0ZlXEI/AAAAAAAAAlU/aMvdn5xredI/s320/Azuredatamarket2.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Specify a name for your data feed and save it to a location on your PC.
 &lt;/li&gt;
&lt;li&gt;Open Excel PowerPivot and import your on premise data you want to analyze. For instance your ice cream sales per day.
 &lt;/li&gt;
&lt;li&gt;Press the From Azure DataMarket button to import the Datestream datafeed.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-ogZytpDFdkU/TnhV9OvQONI/AAAAAAAAAlY/YGXr7vTiORo/s1600/Azuredatamarket3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="77" src="http://3.bp.blogspot.com/-ogZytpDFdkU/TnhV9OvQONI/AAAAAAAAAlY/YGXr7vTiORo/s320/Azuredatamarket3.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Specify the Azure DataMarket dataset URL. Browse to the datafeed file you made in step 6.
 &lt;/li&gt;
&lt;li&gt;Specify your Account key. This can be found in the Windows Azure market place under the tab My account. Select account keys.

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-yEK79Zymspk/TnhWZa2Bh6I/AAAAAAAAAlc/m7yTMqaIyHk/s1600/Azuredatamarket5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-yEK79Zymspk/TnhWZa2Bh6I/AAAAAAAAAlc/m7yTMqaIyHk/s320/Azuredatamarket5.JPG" width="310" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Refresh your datasets in the PowerPivot window. You will get 365 rows to import the date details for the year 2010.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-IijKRFScuWg/TnhWqWi7GZI/AAAAAAAAAlg/cPwyJDMPjAk/s1600/Azuredatamarket6.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="43" src="http://1.bp.blogspot.com/-IijKRFScuWg/TnhWqWi7GZI/AAAAAAAAAlg/cPwyJDMPjAk/s320/Azuredatamarket6.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Create a relationship between the date from the DateStream and your ice scream sales dates.  This can be done in the design tab of the PowerPivot window.
 &lt;/li&gt;
&lt;li&gt;Now you can start analyzing your data. For instance, which day of the week do you sell the most ice creams. 

&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-RBtZXaDbCuw/TnhW3xAHIWI/AAAAAAAAAlk/s1yk0WWJUe0/s1600/Azuredatamarket7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="186" src="http://1.bp.blogspot.com/-RBtZXaDbCuw/TnhW3xAHIWI/AAAAAAAAAlk/s1yk0WWJUe0/s320/Azuredatamarket7.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Enjoy it to use the Azure DataMarket to empower your BI experience.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-1796808117565786400?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/TY69uagkBNA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1796808117565786400/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1796808117565786400" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1796808117565786400?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1796808117565786400?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/TY69uagkBNA/empower-your-bi-with-datasets-of.html" title="Empower your BI using Powerpivot with the datasets of the Windows Azure Marketplace." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-wV8QfJ4mEiU/TnhXp7KJQJI/AAAAAAAAAlo/PV7SwjCooiY/s72-c/WindowsAzureMarketPlace.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/09/empower-your-bi-with-datasets-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUBQH8zeyp7ImA9WhdVEEU.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-6709479271613412275</id><published>2011-09-15T11:50:00.000+02:00</published><updated>2011-09-15T11:50:51.183+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-15T11:50:51.183+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="crw" /><category scheme="http://www.blogger.com/atom/ns#" term="totals" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="running totals" /><category scheme="http://www.blogger.com/atom/ns#" term="cumulative" /><title>Running totals per page in SSRS to display cumulative totals.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nlTgbsqucA_7zekypJZoMEjXYMQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nlTgbsqucA_7zekypJZoMEjXYMQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nlTgbsqucA_7zekypJZoMEjXYMQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nlTgbsqucA_7zekypJZoMEjXYMQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;In Crystal Reports, you can easily make use of running totals on every page of your report. SQL Server Reporting Service does not have a standard functionality for this. Especially for companies who want to migrate from CRW to SSRS, running totals can be important to use. This blogpost will explain how you can implement running totals in your report.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Add a tablix to your report and add a dataset to it. In my example I have 3 columns:&lt;br /&gt;Debtor code, Account Name and Outstanding amount.&lt;/li&gt;
&lt;li&gt;Add a 4th column to the tablix. Set the visibility of this column to Hide.&lt;/li&gt;
&lt;li&gt;Select in the 4th column the detail row. Select Text Box Properties and change the name of the textbox to 'RunningTotal'.&lt;/li&gt;
&lt;li&gt;Select Value and press the expression button. In this expression we will define the running total of the column. In my example, I have a columns Outstanding from the dataset 'CreditLimitDetails'&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-GVjeDNjq2Dw/TnHD4LqovZI/AAAAAAAAAkw/ZCDRiNc9TAE/s1600/SSRSRunningTotal1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="192" src="http://3.bp.blogspot.com/-GVjeDNjq2Dw/TnHD4LqovZI/AAAAAAAAAkw/ZCDRiNc9TAE/s400/SSRSRunningTotal1.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;=RunningValue(Fields!Outstanding.Value,SUM,"CreditLimitDetails")&lt;br /&gt;Now we have&amp;nbsp;a running value of the outstanding amount in the 4th column.&lt;/li&gt;
&lt;li&gt;To display the running value on every page, we will use the page footer.&lt;/li&gt;
&lt;li&gt;Add a page footer to your report. In BIDS you can select, Report, Add Page footer.&lt;/li&gt;
&lt;li&gt;In this example I will add a page total and&amp;nbsp;a running total to the report.&lt;/li&gt;
&lt;li&gt;Insert a 2 text boxes to the page footer.&lt;/li&gt;
&lt;li&gt;Open the expression definition of&amp;nbsp;the first text box. In this text box we will define the totaal outstanding amount of the current page.&lt;br /&gt;="Page Total: " + cstr(Sum(ReportItems!Outstanding.Value))&lt;/li&gt;
&lt;li&gt;Open the expression definition of the second text box. In this text box we will define the Running total of the outstanding column of the current page and all previous pages.&lt;br /&gt;="Running Total: " +cstr(Last(ReportItems!RunningTotal.Value))&lt;/li&gt;
&lt;/ol&gt;
Now your report&amp;nbsp;will print running totals at the bottom of every page.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-pnW_xmuT654/TnHJPjTF95I/AAAAAAAAAk0/RVsnWsh_tLc/s1600/SSRSRunningTotal2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="115" src="http://2.bp.blogspot.com/-pnW_xmuT654/TnHJPjTF95I/AAAAAAAAAk0/RVsnWsh_tLc/s400/SSRSRunningTotal2.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-6709479271613412275?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/FZG3IiZKn5k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/6709479271613412275/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=6709479271613412275" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6709479271613412275?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/6709479271613412275?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/FZG3IiZKn5k/running-totals-per-page-in-ssrs-to.html" title="Running totals per page in SSRS to display cumulative totals." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-GVjeDNjq2Dw/TnHD4LqovZI/AAAAAAAAAkw/ZCDRiNc9TAE/s72-c/SSRSRunningTotal1.JPG" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/09/running-totals-per-page-in-ssrs-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUDQXs9fSp7ImA9WhdWE0w.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8991858314629819924</id><published>2011-09-06T14:41:00.002+02:00</published><updated>2011-09-06T15:37:50.565+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-06T15:37:50.565+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="reporting server reports" /><category scheme="http://www.blogger.com/atom/ns#" term="localization" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="labels" /><category scheme="http://www.blogger.com/atom/ns#" term="translation" /><title>Localization of your SSRS reports. Translations of labels in your reports.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ajDDj2ekFqa4_vBWdj3Qk9rYv8w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ajDDj2ekFqa4_vBWdj3Qk9rYv8w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ajDDj2ekFqa4_vBWdj3Qk9rYv8w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ajDDj2ekFqa4_vBWdj3Qk9rYv8w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Localization is not a build in feature in SQL Server Reporting Service (SSRS). The user experience is very important for the success of your reports. In a lot of organizations you will see people who are using their applications in different languages. A user can install\configure his&amp;nbsp;windows operating system&amp;nbsp;and MS Office&amp;nbsp;version in the langauage he or she wants. When using SSRS reports a user can't select the language of his reports. The reports will be generated in the language they are made. This is not a good user experience. This blog will explain what you can do to support multiple languages in your SSRS reports.&lt;br /&gt;
&lt;br /&gt;
1)&amp;nbsp;We need a table which will hold all translations. &lt;br /&gt;
&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;CREATE &lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt;TABLE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; [dbo]&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;[Translations]&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-size: small;"&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ID] [int]  &lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;NOT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;NULL,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-size: small;"&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Language] [nvarchar]&lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;&lt;span style="color: blue; font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;10&lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;NOT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;NULL,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey; font-size: small;"&gt;&lt;span style="color: grey; font-size: small;"&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-size: x-small;"&gt;    &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Description] [nvarchar]&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;255&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;NULL,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONSTRAINT&lt;/span&gt;&lt;/span&gt; [PK_Translations] &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;PRIMARY&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;KEY&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;CLUSTERED&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;


&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/span&gt;&lt;/span&gt;[ID] &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ASC&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;[Language] &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ASC&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;
&lt;/span&gt;&lt;/span&gt;
    &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;ON&lt;/span&gt;&lt;/span&gt; [PRIMARY]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: black; font-size: small;"&gt;2) We need to add translations to this tabe which are needed in the reports.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;

&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000000&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Management'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000000&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Management'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000001&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Dashboard'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000001&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Dashboard'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000002&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Revenue'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000002&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Opbrengst'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000003&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Cost'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000003&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Kosten'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000004&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Result'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000004&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Resultaat'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000005&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Cash'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000005&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Liquiditeit'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000006&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Risk'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;1000006&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Risico'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue;"&gt;INSERT INTO Translations &lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;ID&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt; VALUES &lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;1000007&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'Figures are expressed in '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;1000007&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'Cijfers worden weergegeven in '&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue;"&gt;INSERT INTO Translations &lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;ID&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt; VALUES &lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;1000008&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'en-US'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red;"&gt;&lt;span style="color: red;"&gt;'up to'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;INSERT&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;INTO&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; Translations&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;ID&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;VALUES &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;1000008&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'nl-NL'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color: red; font-size: x-small;"&gt;&lt;span style="color: red; font-size: x-small;"&gt;'t/m'&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;span style="color: grey; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
3) Open&amp;nbsp;a new SSRS report in Business Intelligence Development Studio. (BIDS)&lt;br /&gt;
4) Create&amp;nbsp;a dataset which will return the set of labels for a given language. Add dataset named 'Labels'&amp;nbsp;using next query: &lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: grey;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;SELECT &lt;/span&gt;&lt;/span&gt;ID&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;,&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Description&lt;/span&gt;&lt;/span&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;FROM&lt;/span&gt;&lt;/span&gt; Translations

&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;WHERE&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Language&lt;/span&gt;&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;=&lt;/span&gt;&lt;/span&gt; @Language&lt;/span&gt;
&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5) After adding the dataset 'Labels' a report parameter named 'Language' is added to the report. Configure the default value of the parameter 'Language' to the language ID of the client running the report.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-17GomZ65Ae8/TmX96OICAII/AAAAAAAAAkU/u-XLL1N02Lg/s1600/SSRSLocalization_1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="265" src="http://1.bp.blogspot.com/-17GomZ65Ae8/TmX96OICAII/AAAAAAAAAkU/u-XLL1N02Lg/s400/SSRSLocalization_1.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The language ID of the client is configured by the user&amp;nbsp;in Internet Explorer, Internet Options, Tab General, Button Language &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-vcsusWjg4pE/TmYAjpjKrAI/AAAAAAAAAkY/pJRgglqaF1c/s1600/SSRSLocalization_2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-vcsusWjg4pE/TmYAjpjKrAI/AAAAAAAAAkY/pJRgglqaF1c/s400/SSRSLocalization_2.JPG" width="367" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
6) For testing purposes it is easier to make the parameter 'Language' visible. &lt;br /&gt;
&lt;br /&gt;
7) Create a second dataset with all available languages. This dataset will be used as available values for the parameter. You can use next query:&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="font-size: small;"&gt;SELECT &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;DISTINCT&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;Language&lt;/span&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;span style="color: grey;"&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span style="color: blue;"&gt;&lt;span style="color: blue;"&gt;FROM&lt;/span&gt;&lt;/span&gt; Translations&lt;/span&gt;&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
8) Create a hidden, multi-valued parameter called 'Labels'. &lt;br /&gt;
Set the available&amp;nbsp;values to the Labels dataset, value field: ID, label field: Description&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-7_3pZpxq7X8/TmYETeS9I1I/AAAAAAAAAkc/rIwgk1kxg_Y/s1600/SSRSLocalization_3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="330" src="http://3.bp.blogspot.com/-7_3pZpxq7X8/TmYETeS9I1I/AAAAAAAAAkc/rIwgk1kxg_Y/s400/SSRSLocalization_3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Set the Default values to the Labels dataset, value field: ID This is important as you don't have access to tha available values from within the report. When the report is started by the user, the 'Labels' parameter will contain all translation for the selected language.&lt;br /&gt;
&lt;br /&gt;
9) Add a function to the report. This function will find the translation for the selected language based on the specified ID in the report. To add a function to a report, right click on the yellow part of the report. Choose Report Properties, Code &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-Txb6QVxi9fQ/TmYJa6lRuoI/AAAAAAAAAkg/9309NcbTKtU/s1600/SSRSLocalization_4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="152" src="http://3.bp.blogspot.com/-Txb6QVxi9fQ/TmYJa6lRuoI/AAAAAAAAAkg/9309NcbTKtU/s400/SSRSLocalization_4.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Use next code:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Public Function GetLabel(P as Parameter, Label as String) as String&lt;br /&gt;
Dim i As Integer&lt;br /&gt;
For i = 0 to Ubound(P.Value)&lt;br /&gt;
If (P.Value(i) = Label) Then Return P.Label(i)&lt;br /&gt;
Next i&lt;br /&gt;
Return Label&lt;br /&gt;
End Function&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
10) Now we are ready to configure the labels in your report to use this function. &lt;br /&gt;
As example for translation of the label:&amp;nbsp;'Revenue' use next expresion in your label:&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;=Code.GetLabel(Parameters!Labels,1000002)&lt;/span&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;
&lt;span style="color: black;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: black;"&gt;&lt;/span&gt;

&lt;span style="color: black; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: black; font-size: small;"&gt;11) Next step is to configure the report to use the date and number format to the selected&amp;nbsp;language.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Open the report properties window and configure language with the parameter value of the selected language.&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;=Parameters!Language.Value&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-o7GtG3PrRUI/TmYP368sgbI/AAAAAAAAAkk/5dZbyquVsLM/s1600/SSRSLocalization_5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="275" src="http://2.bp.blogspot.com/-o7GtG3PrRUI/TmYP368sgbI/AAAAAAAAAkk/5dZbyquVsLM/s320/SSRSLocalization_5.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
12) Now execute your report. The report will be generated in the configured language of your Internet Explorer.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-37I_zx_nsGk/TmYT8vG2OvI/AAAAAAAAAko/2phn9OcJwsU/s1600/SSRSLocalization_6.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="404" src="http://2.bp.blogspot.com/-37I_zx_nsGk/TmYT8vG2OvI/AAAAAAAAAko/2phn9OcJwsU/s640/SSRSLocalization_6.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
13) Select another language if you want, in this case nl_NL\&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-J4_16J4x-YQ/TmYUKfAXf-I/AAAAAAAAAks/bbjZiyCktHc/s1600/SSRSLocalization_7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="403" src="http://1.bp.blogspot.com/-J4_16J4x-YQ/TmYUKfAXf-I/AAAAAAAAAks/bbjZiyCktHc/s640/SSRSLocalization_7.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
You will see that all labels are translated and the thousand seperator is changed from , to .&lt;br /&gt;
&lt;br /&gt;
Enjoy it to make your reports in the localization of your users to improve the user experience.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-8991858314629819924?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/ifUic7zIbdc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8991858314629819924/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8991858314629819924" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8991858314629819924?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8991858314629819924?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/ifUic7zIbdc/localization-of-your-ssrs-reports.html" title="Localization of your SSRS reports. Translations of labels in your reports." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-17GomZ65Ae8/TmX96OICAII/AAAAAAAAAkU/u-XLL1N02Lg/s72-c/SSRSLocalization_1.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/09/localization-of-your-ssrs-reports.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIGQXc6eyp7ImA9WhdXGEw.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-5748638131897622249</id><published>2011-08-31T20:48:00.000+02:00</published><updated>2011-08-31T20:48:40.913+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-31T20:48:40.913+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="reporting server reports" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2011" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="crescent" /><title>Another Project Crescent movie which show the new features.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/O6BqvJCOPNvGeko5hTYYCr5cumA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O6BqvJCOPNvGeko5hTYYCr5cumA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/O6BqvJCOPNvGeko5hTYYCr5cumA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O6BqvJCOPNvGeko5hTYYCr5cumA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Last month I blogged about a&lt;a href="http://www.keepitsimpleandfast.com/2011/07/perfect-demo-of-sql-server-project.html"&gt; perfect movie about Project Crescent&lt;/a&gt;. Movies&amp;nbsp;are a great way&amp;nbsp;to show what your product can do. I'm very enthousiastic about Project Crescent and found a new movie which will show more Crescent functionality.&amp;nbsp;This movie will talk about: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Crescent design environment&lt;/li&gt;
&lt;li&gt;Crescent visualizations overview&lt;/li&gt;
&lt;li&gt;Converting a table to a matrix&lt;/li&gt;
&lt;li&gt;Converting a table&amp;nbsp;to a card&lt;/li&gt;
&lt;li&gt;Why icons are disabled sometimes&lt;/li&gt;
&lt;li&gt;Charts with series&lt;/li&gt;
&lt;li&gt;Bubble charts&lt;/li&gt;
&lt;li&gt;Filtering vs highlighting&lt;/li&gt;
&lt;li&gt;Slicers versus filters&lt;/li&gt;
&lt;li&gt;Tiles&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen="" frameborder="0" height="345" src="http://www.youtube.com/embed/JJgNPKvhLkY" width="420"&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
Enjoy it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-5748638131897622249?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/rYVN00Tj_x0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/5748638131897622249/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=5748638131897622249" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5748638131897622249?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/5748638131897622249?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/rYVN00Tj_x0/another-project-crescent-movie-which.html" title="Another Project Crescent movie which show the new features." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/JJgNPKvhLkY/default.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/08/another-project-crescent-movie-which.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4DSXY4eSp7ImA9WhdXEEQ.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-3830384618309427684</id><published>2011-08-23T12:22:00.000+02:00</published><updated>2011-08-23T12:22:58.831+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-23T12:22:58.831+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="Exact System Information tool" /><category scheme="http://www.blogger.com/atom/ns#" term="ESI" /><title>Thanks to all 5000 customers who have used the Exact System Information tool</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/13BgiAgRiXszbvbMtd0eykzgpXU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/13BgiAgRiXszbvbMtd0eykzgpXU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/13BgiAgRiXszbvbMtd0eykzgpXU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/13BgiAgRiXszbvbMtd0eykzgpXU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-OJPYrtKQH6E/TlN6rBgdtHI/AAAAAAAAAkQ/EjQVBmjXgHM/s1600/ESI_Worldpresence.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="199" src="http://3.bp.blogspot.com/-OJPYrtKQH6E/TlN6rBgdtHI/AAAAAAAAAkQ/EjQVBmjXgHM/s320/ESI_Worldpresence.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
In &lt;a href="http://www.keepitsimpleandfast.com/2010/02/receive-improvement-report-of-your-sql.html"&gt;februari 2010&lt;/a&gt; we introduced&amp;nbsp;the&amp;nbsp;Exact System Information (ESI)&amp;nbsp;tool, which can generate an Improvement Report for you Exact solution.&amp;nbsp;Last week we&amp;nbsp;&amp;nbsp;reached a new milestone. &lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;span style="font-size: large;"&gt;5000 customers, from all over the world, &lt;br /&gt;have used the ESI&amp;nbsp;tool. &lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;span style="font-size: large;"&gt;2800 Improvement reports have been&amp;nbsp;generated&lt;/span&gt;.&lt;/div&gt;
&lt;br /&gt;
I want to thank all customers for using the ESI tool. Beside the fact that we will help you to optimize your Exact solution, it will help Exact to better understand how our customers are using the Exact solution.&lt;br /&gt;
&lt;br /&gt;
Additional information about the Exact System Information tool: &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="ftp://ftp.exact.nl/Software/ESI/ExactSysInfo.zip"&gt;&lt;span style="color: #5588aa;"&gt;Download the Exact System Information tool&lt;/span&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.exactsoftware.com/docs/DocView.aspx?DocumentID=%7bcb319081-9173-4290-8298-c434bb22e285%7d&amp;amp;noheader=1&amp;amp;nosubject=1"&gt;As of Globe release 401, you can start the ESI from the menu. &lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2010/09/self-service-in-one-click.html"&gt;Get the maximum out of your Exact Solution in one click.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.exactsoftware.com/docs/DocView.aspx?DocumentID=%7bb87cffe1-84b6-40c9-b685-66a8f5da6a21%7d"&gt;&lt;span style="color: #5588aa;"&gt;Information about the Exact System Information tool itself&lt;/span&gt;&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.keepitsimpleandfast.com/2009/03/exact-system-information-application.html"&gt;&lt;span style="color: #5588aa;"&gt;What information is retrieved by the Exact System Information tool&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-3830384618309427684?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/hq43eqrERmE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/3830384618309427684/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=3830384618309427684" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/3830384618309427684?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/3830384618309427684?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/hq43eqrERmE/thanks-to-all-5000-customers-who-have.html" title="Thanks to all 5000 customers who have used the Exact System Information tool" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-OJPYrtKQH6E/TlN6rBgdtHI/AAAAAAAAAkQ/EjQVBmjXgHM/s72-c/ESI_Worldpresence.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/08/thanks-to-all-5000-customers-who-have.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQASXwzeyp7ImA9WhdRFEU.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8592465930897198145</id><published>2011-08-04T20:42:00.000+02:00</published><updated>2011-08-04T20:42:28.283+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-04T20:42:28.283+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="caching" /><category scheme="http://www.blogger.com/atom/ns#" term="delete" /><category scheme="http://www.blogger.com/atom/ns#" term="BIDS" /><category scheme="http://www.blogger.com/atom/ns#" term="remove" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="cache" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="preview" /><title>How to delete cached data in SQL Server Reporting Services for Visual Studio in Preview Mode?</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-9QG_eeSlexwAAFewLVNcNlXJqk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-9QG_eeSlexwAAFewLVNcNlXJqk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-9QG_eeSlexwAAFewLVNcNlXJqk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-9QG_eeSlexwAAFewLVNcNlXJqk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-oe1ekmQHRpU/TjrS1cvAnMI/AAAAAAAAAkM/Q45cChzd7_0/s1600/cache.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-oe1ekmQHRpU/TjrS1cvAnMI/AAAAAAAAAkM/Q45cChzd7_0/s320/cache.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In Business Intelligence Development Studio (BIDS) you can build your Reporting Service Reports. The preview mode of the report make use of cached data. The following objects are cached: result sets of your datasets, parameter value and credentials. Sometimes this feature can be annoying, if changes in the preview mode should be visible immediately. The&amp;nbsp;cached data is stored in the report RDL directory with the extension *.Data. Assume you have&amp;nbsp;a report called Dashboard.RDL, in the same directory you will find a file called: Dashboard.RDL.Data&lt;br /&gt;
&lt;br /&gt;
Delete this file and rerun your report. The report is now generated without cached data. After completion of the report a new Dashboard.RDL.Data is created.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-8592465930897198145?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/vOQ-073cEAM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8592465930897198145/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8592465930897198145" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8592465930897198145?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8592465930897198145?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/vOQ-073cEAM/how-to-delete-cached-data-in-sql-server.html" title="How to delete cached data in SQL Server Reporting Services for Visual Studio in Preview Mode?" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-oe1ekmQHRpU/TjrS1cvAnMI/AAAAAAAAAkM/Q45cChzd7_0/s72-c/cache.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/08/how-to-delete-cached-data-in-sql-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8CQ34_cSp7ImA9WhdRFE0.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-507710321443561561</id><published>2011-08-03T22:21:00.000+02:00</published><updated>2011-08-03T22:21:02.049+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-03T22:21:02.049+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="combine" /><category scheme="http://www.blogger.com/atom/ns#" term="reporting server reports" /><category scheme="http://www.blogger.com/atom/ns#" term="bar chart" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="one" /><category scheme="http://www.blogger.com/atom/ns#" term="line graph" /><category scheme="http://www.blogger.com/atom/ns#" term="dashboard" /><title>How to combine a bar chart with a line graph and running totals in SSRS.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uN2UzN-R4jZg4kHvtMFytBFjcjI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uN2UzN-R4jZg4kHvtMFytBFjcjI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uN2UzN-R4jZg4kHvtMFytBFjcjI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uN2UzN-R4jZg4kHvtMFytBFjcjI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-4rjLF1yAvnI/Tjmj7ShY3LI/AAAAAAAAAj0/ObmkXi9Kw7k/s1600/SSRSBarChartLinegraph.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="97" src="http://3.bp.blogspot.com/-4rjLF1yAvnI/Tjmj7ShY3LI/AAAAAAAAAj0/ObmkXi9Kw7k/s400/SSRSBarChartLinegraph.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
In of my previous blogs a wrote about &lt;a href="http://www.keepitsimpleandfast.com/2011/06/dashboard-design-rules-dos-and-donts.html"&gt;dashboards design rules and the do's and don'ts&lt;/a&gt;. Easy readable charts are essential in the success of your reports. When building reports you have a lot of different chart types you can choose for your reports. By default you can use a bar chart of a line chart. When comparing figures for instance current year with prevoius year of current year with the budget. You can use a standard bar chart like this one:&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-hwsqthwVrRg/TjmlfRGST-I/AAAAAAAAAj4/-iWMod3u8bE/s1600/SSRSDoubleBarChart.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="187" src="http://3.bp.blogspot.com/-hwsqthwVrRg/TjmlfRGST-I/AAAAAAAAAj4/-iWMod3u8bE/s400/SSRSDoubleBarChart.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
However the graph is a little bit busy to read. Using the combination of a bar for the current year and line graph for the comparing previous year will make the chart easier to read. Like this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-3YCbi6L1c0U/TjmoJTfBmxI/AAAAAAAAAkI/gNVhFgtrlOQ/s1600/SSRSBarChartLinegraph3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="192" src="http://3.bp.blogspot.com/-3YCbi6L1c0U/TjmoJTfBmxI/AAAAAAAAAkI/gNVhFgtrlOQ/s400/SSRSBarChartLinegraph3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
How to do this:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Open the report in Business Intelligent Development Studio (BIDS).&lt;/li&gt;
&lt;li&gt;Double click on the bars in the chart.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-QjvbE5Ic_98/Tjmm79er39I/AAAAAAAAAj8/u-jdnCDmS2U/s1600/SSRSBarChartLinegraph2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="162" src="http://2.bp.blogspot.com/-QjvbE5Ic_98/Tjmm79er39I/AAAAAAAAAj8/u-jdnCDmS2U/s400/SSRSBarChartLinegraph2.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Select the Bar of previous year in the Chart data window. In my example RevenueYTD_1. &lt;/li&gt;
&lt;li&gt;Change chart type&lt;/li&gt;
&lt;li&gt;Select the line type you want.&amp;nbsp;That's all you need to do.&lt;/li&gt;
&lt;/ul&gt;
How to create running totals?&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Double click on the bar in the chart. &lt;/li&gt;
&lt;li&gt;Select the Bar of current year in the Chart data window.&lt;/li&gt;
&lt;li&gt;Series properties.&lt;/li&gt;
&lt;li&gt;Press on the expression button for the value field.&lt;/li&gt;
&lt;li&gt;Use next expression: &lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;=Runningvalue(Sum(Fields!Previous_Year.Value),&lt;/span&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;&lt;span style="color: blue; font-size: x-small;"&gt;SUM&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;,&lt;/span&gt;&lt;span style="color: #a31515; font-size: x-small;"&gt;&lt;span style="color: #a31515; font-size: x-small;"&gt;"RevenueYTD_YTDPY"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: inherit;"&gt;RevenueYTD_YTDPY is the name of my dataset. The column name used is 'Previous_Year'&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: inherit;"&gt;Do the same for the line graph.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;That's all you have to do.&lt;/li&gt;
&lt;/ul&gt;
Enjoy it to build nice and easy readable reports.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-507710321443561561?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/r9zP5imt1Q4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/507710321443561561/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=507710321443561561" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/507710321443561561?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/507710321443561561?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/r9zP5imt1Q4/how-to-combine-bar-chart-with-line.html" title="How to combine a bar chart with a line graph and running totals in SSRS." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-4rjLF1yAvnI/Tjmj7ShY3LI/AAAAAAAAAj0/ObmkXi9Kw7k/s72-c/SSRSBarChartLinegraph.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/08/how-to-combine-bar-chart-with-line.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMASXc6cCp7ImA9WhdREUk.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-553866942793442714</id><published>2011-07-31T21:27:00.000+02:00</published><updated>2011-07-31T21:27:28.918+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-31T21:27:28.918+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="SP1" /><title>SQL 2008 R2 Service Pack 1 (SP1)  available for download.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HrSGNBYo7BTH_CMvc3wXaEFMH94/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HrSGNBYo7BTH_CMvc3wXaEFMH94/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HrSGNBYo7BTH_CMvc3wXaEFMH94/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HrSGNBYo7BTH_CMvc3wXaEFMH94/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-6CojFobQWvU/TjWsD6avy7I/AAAAAAAAAjw/0pAWWMuhIok/s1600/SQl2008%2BR2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="59" src="http://2.bp.blogspot.com/-6CojFobQWvU/TjWsD6avy7I/AAAAAAAAAjw/0pAWWMuhIok/s320/SQl2008%2BR2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe you have read it already but since 11 july 2011 Microsoft SQL Server 2008 R2 Service Pack 1 is available for download. See:&amp;nbsp;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=26727"&gt;http://www.microsoft.com/download/en/details.aspx?id=26727&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Beside a lot of bugfixes which are listed in this&amp;nbsp;&lt;a href="http://support.microsoft.com/kb/2528583"&gt;&lt;span style="color: #014e85;"&gt;Master KB article &lt;/span&gt;&lt;/a&gt;, some existing functionality is improved: . &lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Dynamic Management Views for increased supportability: &lt;/b&gt;sys.dm_exec_query_stats DMV is extended with additional columns to improve 
supportabilities over troubleshooting long-running queries. New DMVs and XEvents 
on select performance counters are introduced to monitor OS configurations and 
resource conditions related to the SQL Server instance. &lt;/li&gt;
&lt;li&gt;
&lt;b&gt;ForceSeek for improved querying performance :&lt;/b&gt;Syntax for FORCESEEK index hint has been modified to take optional 
parameters allowing it to control the access method on the index even further. 
Using old style syntax for FORCESEEK remains unmodified and works as before. In 
addition to that, a new query hint, FORCESCAN has been added. It complements the 
FORCESEEK hint allowing specifying ‘scan’ as the access method to the index. No 
changes to applications are necessary if you do not plan to use this new 
functionality.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Data-tier Application Component Framework (DAC Fx) for improved database 
upgrades:&lt;/b&gt;The new Data-tier Application (DAC) Framework v1.1 and DAC upgrade wizard 
enable the new in-place upgrade service for database schema management. The new 
in-place upgrade service will upgrade the schema for an existing database in SQL 
Azure and the versions of SQL Server supported by DAC. A DAC is an entity that 
contains all of the database objects and instance objects used by an 
application. A DAC provides a single unit for authoring, deploying, and managing 
the data-tier objects. For more information, see &lt;a href="http://go.microsoft.com/fwlink/?LinkId=199000"&gt;&lt;span style="color: #014e85;"&gt;Designing and Implementing 
Data-tier Applications. &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Disk space control for PowerPivot:&lt;/b&gt; &lt;br /&gt;This update introduces two new configuration settings that let you determine 
how long cached data stays in the system. In the new Disk Cache section on the 
PowerPivot configuration page, you can specify how long an inactive database 
remains in memory before it is unloaded. You can also limit how long a cached 
file is kept on disk before it is deleted. &lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-553866942793442714?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/gOQNHZpc6-0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/553866942793442714/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=553866942793442714" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/553866942793442714?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/553866942793442714?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/gOQNHZpc6-0/sql-2008-r2-service-pack-1-sp1.html" title="SQL 2008 R2 Service Pack 1 (SP1)  available for download." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-6CojFobQWvU/TjWsD6avy7I/AAAAAAAAAjw/0pAWWMuhIok/s72-c/SQl2008%2BR2.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/07/sql-2008-r2-service-pack-1-sp1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEDRHY5eyp7ImA9WhdSEUk.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8231761463229495879</id><published>2011-07-20T09:41:00.000+02:00</published><updated>2011-07-20T09:41:15.823+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-20T09:41:15.823+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Denali" /><category scheme="http://www.blogger.com/atom/ns#" term="CTP3" /><category scheme="http://www.blogger.com/atom/ns#" term="sql denali" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="crescent" /><title>Perfect demo of SQL Server Project "Crescent" Denali.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/56ioIBKNoLqWQy0og0X5dUezAYc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/56ioIBKNoLqWQy0og0X5dUezAYc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/56ioIBKNoLqWQy0og0X5dUezAYc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/56ioIBKNoLqWQy0og0X5dUezAYc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Last year I blogged about: &lt;a href="http://www.keepitsimpleandfast.com/2010/12/sql-denali-codename-crescent-what-is-it.html"&gt;SQL Denali codename Crescent What is it&lt;/a&gt;. This was based&amp;nbsp;on my&amp;nbsp;visit of the head quarters of Microsoft in Redmond. Product managers from the SQL Server team showed to me&amp;nbsp;the great possibilities of project: Crescent. Unfortunaltely this event was under NDA, so&amp;nbsp;I&amp;nbsp;could not blog about it. But with&amp;nbsp;the availability of &lt;a href="https://www.microsoft.com/betaexperience/pd/SQLDCTP3CTA/enus/"&gt;SQL Denali CTP3&lt;/a&gt;, you can play your self with Crescent. Project Crescent is a new immersive ad-hoc visualization tool that is part of SQL Server Code Name "Denali" Reporting Services. Project "Crescent" is designed with end users in mind to quickly, easily, and visually explore their data and answer ad-hoc questions in just a few clicks. Have a look to the next video to understand the great possibilities.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen="" frameborder="0" height="390" src="http://www.youtube.com/embed/75szAtMrkNs" width="480"&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
One thing to keep in mind: Crescent will only be available in SharePoint mode. For companies without an ICT department, deploying and maintaining of a Sharepoint server can be too complex. I think that the decision makers of these companies will have the same need to 'play' with the data.&lt;br /&gt;
&lt;br /&gt;To start your experience with&amp;nbsp;Crescent you can download SQL Server code name Denali CTP 3&amp;nbsp;from &lt;a href="https://www.microsoft.com/betaexperience/pd/SQLDCTP3CTA/enus/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-8231761463229495879?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/mYR5xv5kwAA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8231761463229495879/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8231761463229495879" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8231761463229495879?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8231761463229495879?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/mYR5xv5kwAA/perfect-demo-of-sql-server-project.html" title="Perfect demo of SQL Server Project &quot;Crescent&quot; Denali." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/75szAtMrkNs/default.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/07/perfect-demo-of-sql-server-project.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEEQX8_fCp7ImA9WhZaFU0.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4055389585616805266</id><published>2011-07-01T08:10:00.008+02:00</published><updated>2011-07-01T08:10:00.144+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-01T08:10:00.144+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="data set" /><category scheme="http://www.blogger.com/atom/ns#" term="tips" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><category scheme="http://www.blogger.com/atom/ns#" term="performance analyze" /><category scheme="http://www.blogger.com/atom/ns#" term="executionlog3" /><title>More tips to improve performance of SSRS reports.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4srC9fIGFg1OLcjr9ADsX2JJ61Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4srC9fIGFg1OLcjr9ADsX2JJ61Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4srC9fIGFg1OLcjr9ADsX2JJ61Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4srC9fIGFg1OLcjr9ADsX2JJ61Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/--NXn_nrWuLU/Tgx5uxf3DfI/AAAAAAAAAjU/IoO8DGzuMjU/s1600/helpfultips.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" i$="true" src="http://2.bp.blogspot.com/--NXn_nrWuLU/Tgx5uxf3DfI/AAAAAAAAAjU/IoO8DGzuMjU/s200/helpfultips.jpg" width="196" /&gt;&lt;/a&gt;&lt;/div&gt;
In the past I have written something about performance in combination with SQL Server Reporting Services.See&amp;nbsp; &lt;a href="http://www.keepitsimpleandfast.com/2011/01/analyze-performance-of-your-reporting.html"&gt;Analyze performance of your reporting services reports by using SSRS statistics&lt;/a&gt;&amp;nbsp;and &lt;a href="http://www.keepitsimpleandfast.com/2010/05/tips-to-improve-performance-of.html"&gt;Tips to improve performance of MS Reporting service reports (SSRS)&lt;/a&gt;. In this blog post I will give some more tips to analyze and improve the performance of your SQL 2008 R2 SSRS reports.&lt;br /&gt;
&lt;br /&gt;
To analyze the performance of your SSRS report (RDL) you need to understand what will have impact on the total time to generate the reports.&amp;nbsp;The total time to generate a reporting server report (RDL) can be divided into 3 elements:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Time to retrieve the data (TimeDataRetrieval).&lt;/li&gt;
&lt;li&gt;Time&amp;nbsp;to process the report (TimeProcessing)&lt;/li&gt;
&lt;li&gt;Time to render the report (TimeRendering) &amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
Total time = (TimeDataRetrieval) + (TimeProcessing) + (TimeRendering)&lt;br /&gt;
&lt;br /&gt;
As of SQL Server 2008 R2, this 3 performance components are logged every time for which a deployed report is executed. This&amp;nbsp;information can be found in&amp;nbsp;the table Executionlog3 in the&amp;nbsp;ReportServer database. You can use next query:&lt;br /&gt;
&lt;br /&gt;
SELECT TOP 10 Itempath,parameters, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeDataRetrieval + TimeProcessing + TimeRendering as [total time],&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TimeDataRetrieval, TimeProcessing, TimeRendering,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ByteCount, [RowCount],Source,&amp;nbsp;AdditionalInfo&lt;br /&gt;
FROM ExecutionLog3&lt;br /&gt;
ORDER BY Timestart DESC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-JIbleXM-LOw/TgxVcTbigvI/AAAAAAAAAjQ/22tuYlGDfjs/s1600/SSRSPerformanceAnalyze3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="120" i$="true" src="http://1.bp.blogspot.com/-JIbleXM-LOw/TgxVcTbigvI/AAAAAAAAAjQ/22tuYlGDfjs/s400/SSRSPerformanceAnalyze3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;strong&gt;1. Itempath&lt;/strong&gt;&lt;br /&gt;
This is the location and name of the executed report (RDL)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2. Parameter&lt;/strong&gt;&lt;br /&gt;
The&amp;nbsp;parameter&amp;nbsp;values&amp;nbsp;used to&amp;nbsp;execute the report.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3.&amp;nbsp;TimeDataRetrieval&lt;/strong&gt;The number of milliseconds spent interacting with data sources and data extensions for all data sets in the main report and all of its subreports. This value includes:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Time spent opening connections to the data source&lt;/li&gt;
&lt;li&gt;Time spent reading data rows from the data extension&lt;/li&gt;
&lt;/ul&gt;
TimeDataRetrieval is is the time&amp;nbsp;needed for SQL Server to retrieve the data of all datasets in your report. This is time spent openings connections to the data source and time spent reading data rows from the data extension. Keep in mind that all dataset defined in your report will be retrieved. Even if you do not use it in the report to display the data.&amp;nbsp;Remove datasets which are not used to display data. Datasets will be executed in&amp;nbsp;parallel, by making use&amp;nbsp;of multiple database connections. In next example you will that my report is started at 2011-06-29 14:16:42.677 and ended at 2011-06-29 14:16:46.757. Total time to retrieve the data =&amp;nbsp;4 seconds and 80 milliseconds.&amp;nbsp; However every the total time of every single data set is much more: 235 + 1242 + 2442 + 3470 + 3678 + 4069 = 15 seconds and 136 milliseconds.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-rYe3tAgUKeE/TgxLaeCCKiI/AAAAAAAAAjM/Q53JvJCXCRI/s1600/SSRSPerformanceAnalyze2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="212" i$="true" src="http://2.bp.blogspot.com/-rYe3tAgUKeE/TgxLaeCCKiI/AAAAAAAAAjM/Q53JvJCXCRI/s640/SSRSPerformanceAnalyze2.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In this example I have a server with multiple CPU's in it. Every dataset is retrieved using a seperate database connection. (See SPID 61, 63,64,65,66,67,68). Execution these datasets over multiple database connections saves a lot of time. TimeDataRetrieval contains the duration of the longest DataSet&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4.&amp;nbsp;TimeProcessing&lt;/strong&gt;The number of milliseconds spent in the processing engine for the request. This value includes:&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Report processing bootstrap time&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Tablix processing time (e.g. grouping, sorting, filtering, aggregations, subreport processing), but excludes on-demand expression evaluations (e.g. TextBox.Value, Style.*)&lt;/li&gt;
&lt;li&gt;ProcessingScalabilityTime (see AdditionalInfo column)&lt;/li&gt;
&lt;/ul&gt;
Processing time can be very high if you have datasets with a big number of records for which a lot of GROUP BY and SORTING need to be done. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-JIbleXM-LOw/TgxVcTbigvI/AAAAAAAAAjQ/22tuYlGDfjs/s1600/SSRSPerformanceAnalyze3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="192" i$="true" src="http://1.bp.blogspot.com/-JIbleXM-LOw/TgxVcTbigvI/AAAAAAAAAjQ/22tuYlGDfjs/s640/SSRSPerformanceAnalyze3.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;strong&gt;5. TimeRendering&lt;/strong&gt;The number of milliseconds spent after the Rendering Object Model is exposed to the rendering extension. This value includes:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Time spent in renderer&lt;/li&gt;
&lt;li&gt;Time spent in pagination modules&lt;/li&gt;
&lt;li&gt;Time spent in on-demand expression evaluations (e.g. TextBox.Value, Style.*). This is different from prior releases of SQL server, where TimeProcessing included all expression evaluation.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;PaginationScalabilityTime (see AdditionalInfo column)&lt;/li&gt;
&lt;li&gt;RenderingScalabilityTime (see AdditionalInfo column)&lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;&amp;nbsp;6. ByteCount&lt;/strong&gt;&lt;br /&gt;
Total number of&amp;nbsp;bytes&amp;nbsp;received&amp;nbsp;from all&amp;nbsp;datasets in the report.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;7. RowCount&lt;/strong&gt;&lt;br /&gt;
Total number of records received from all datasets in the report.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;8. Source&lt;/strong&gt;Specifies the type of the execution. It is one of the following values:&amp;nbsp;Live, Cache, Snapshot, History, AdHoc, Session, Rdce&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Live indicates a&amp;nbsp;live executed dataset&amp;nbsp;queries.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Cache indicates a cached execution, i.e. dataset queries are not executed live.&lt;/li&gt;
&lt;li&gt;AdHoc indicates either a dynamically generated report model based drillthrough report, or a Report Builder 2.0 report that is previewed on a client utilizing the report server for processing and rendering.&lt;/li&gt;
&lt;li&gt;Session indicates a subsequent request within an already established session (e.g. the initial request is to view page 1, and the subsequent request is to export to Excel with the current session state). &lt;/li&gt;
&lt;li&gt;Rdce indicates a Report Definition Customization Extension (RDCE; a new feature in RS 2008) that can dynamically customize a report definition before it is passed to the processing engine upon report execution.&lt;/li&gt;
&lt;/ul&gt;
The information in the Executionlog3 table will help you to find the bottlenck in your report. What to do in the situation of:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;High TimeDataRetrieval.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Remove not used&amp;nbsp;datasets from&amp;nbsp;your report. Every dataset&amp;nbsp;will be executed, even if it is not used to display data.&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Use SQL Profiler to analyze the data set query to see where you can improve your data set. See &lt;a href="http://www.keepitsimpleandfast.com/2009/02/guidelines-to-write-well-performing.html"&gt;Guidelines to write well performing queries&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Check if the RowCount (number of records returned by all datasets) is not too big. Ask yourself is all data needed in the report. Data which is not needed should not be retrieved. &lt;/li&gt;
&lt;li&gt;Data set will be executed once. You can use one data set for multiple report parts like tablix, chart, lists, sprakline, indicator,&amp;nbsp;data bar, map, gauge etc. Look if you can&amp;nbsp;combine&amp;nbsp;two or more data sets&amp;nbsp;which are almost identical to one dataset.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;High Timeprocessing.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Processing&amp;nbsp;the data is done sequentially. The more report parts like tablix, chart, lists, sprakline, indicator,&amp;nbsp;data bar, map, gauge etc. you put&amp;nbsp;on your&amp;nbsp;report, the more time it will take to process the report.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Minimize the number of records of your data set to process. Do you need all data, or can you&amp;nbsp;group and sort the data in your dataset. This will lower the result set which will results in faster processing time. In most situations the SQL Server engine will group data much faster&amp;nbsp;in comparions with Reporting Services.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;High TimeRendering.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Be critical if all rendering is needed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
Enjoy it, to deliver a great&amp;nbsp;user experience to your users&amp;nbsp;by improving the performance of your reports.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-4055389585616805266?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/oZYSwvcFEYE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4055389585616805266/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4055389585616805266" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4055389585616805266?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4055389585616805266?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/oZYSwvcFEYE/more-tips-to-improve-performance-of.html" title="More tips to improve performance of SSRS reports." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/--NXn_nrWuLU/Tgx5uxf3DfI/AAAAAAAAAjU/IoO8DGzuMjU/s72-c/helpfultips.jpg" height="72" width="72" /><thr:total>5</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/07/more-tips-to-improve-performance-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIHSXs8fSp7ImA9WhZaEUg.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-4657953285350509652</id><published>2011-06-27T09:08:00.000+02:00</published><updated>2011-06-27T09:08:58.575+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-27T09:08:58.575+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="data driven subscription" /><category scheme="http://www.blogger.com/atom/ns#" term="type" /><category scheme="http://www.blogger.com/atom/ns#" term="error" /><category scheme="http://www.blogger.com/atom/ns#" term="parameter" /><category scheme="http://www.blogger.com/atom/ns#" term="SSRS" /><title>The value provided for the report parameter 'LastUploadDate' is not valid for its type</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/i40RGxJqHibRIXU7LDIqVIhKSYU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i40RGxJqHibRIXU7LDIqVIhKSYU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/i40RGxJqHibRIXU7LDIqVIhKSYU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i40RGxJqHibRIXU7LDIqVIhKSYU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&amp;nbsp; &lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-Sjnj6juYdpc/TgNZQw-soNI/AAAAAAAAAi4/jHS5GotmEZs/s1600/crazy.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" i$="true" src="http://2.bp.blogspot.com/-Sjnj6juYdpc/TgNZQw-soNI/AAAAAAAAAi4/jHS5GotmEZs/s1600/crazy.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
I have a data driven subscription set up that passes a date value from a query to the report for processing. After processing an email is sent. However I did not receive the email. When the report runs the following error occurs in the report server log. &lt;br /&gt;
&lt;br /&gt;
Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportParameterTypeMismatchException: , Microsoft.ReportingServices.Diagnostics.Utilities.ReportParameterTypeMismatchException: The value provided for the report parameter 'LastUploadDate' is not valid for its type.;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The report server log can be found the installation directory of SQL Reporting Server. In my case:&amp;nbsp; &lt;br /&gt;
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The field in the database is of type Date, as is the report parameter definition which is DateTime. If I pass&amp;nbsp; the date parameter as&amp;nbsp;'2010-06-23' it works fine. On my previous reporting server this subscription work without any problem. I do not understand why it does&amp;nbsp;not work anymore. It is a SQL2008 R2 Reporting Server which connects to a SQL 2008 server. After one day struggling with it I implemented next work around.&lt;br /&gt;
The parameter is called: LastUploadDate&lt;br /&gt;
The database field is called: Statdate&lt;br /&gt;
&lt;br /&gt;
My previous query for the dat driven subscription:&lt;br /&gt;
SELECT Statdate, CustomerID&lt;br /&gt;
FROM Mytable&lt;br /&gt;
&lt;br /&gt;
My workaround:&lt;br /&gt;
SELECT Cast(YEAR(Statdate) as char(4)) + '-' + CAST(MONTH(Statdate) as CHAR(2)) + '-' + CAST(DAY(Statdate) AS CHAR(2)) AS CASTDATE,&lt;br /&gt;
&lt;br /&gt;
CustomerID&lt;br /&gt;
FROM Mytable&lt;br /&gt;
&lt;br /&gt;
So I made a hard coded string of the date I needed. It is indeed not so nice, but it&amp;nbsp;works. &lt;br /&gt;
If you have had the same&amp;nbsp;experience? Please let me know how you have fixed it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-4657953285350509652?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/FtdlU72zGz0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/4657953285350509652/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=4657953285350509652" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4657953285350509652?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/4657953285350509652?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/FtdlU72zGz0/value-provided-for-report-parameter.html" title="The value provided for the report parameter 'LastUploadDate' is not valid for its type" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-Sjnj6juYdpc/TgNZQw-soNI/AAAAAAAAAi4/jHS5GotmEZs/s72-c/crazy.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/06/value-provided-for-report-parameter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUHR3YyfSp7ImA9WhZbFkQ.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-1404422846396584053</id><published>2011-06-21T23:03:00.000+02:00</published><updated>2011-06-21T23:03:56.895+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-21T23:03:56.895+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Azure" /><category scheme="http://www.blogger.com/atom/ns#" term="dmvs" /><category scheme="http://www.blogger.com/atom/ns#" term="DMV" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL Profiler" /><title>Troubleshooting and optimizing queries on SQL Azure.</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZK8sjuLrPFZl4AUAEmMtg6UpbMU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZK8sjuLrPFZl4AUAEmMtg6UpbMU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZK8sjuLrPFZl4AUAEmMtg6UpbMU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZK8sjuLrPFZl4AUAEmMtg6UpbMU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-H-WiyFS7uGE/TgEGY78qteI/AAAAAAAAAi0/Z4I5gDrmYFE/s1600/Performance.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" i$="true" src="http://2.bp.blogspot.com/-H-WiyFS7uGE/TgEGY78qteI/AAAAAAAAAi0/Z4I5gDrmYFE/s1600/Performance.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;
In one of my previous blogs I wrote about some &lt;a href="http://www.keepitsimpleandfast.com/2011/05/usefull-dmvs-for-sql-azure-to-analyze.html"&gt;usefull DMV's to analyze SQL Azure performance&lt;/a&gt;.&amp;nbsp;&amp;nbsp;SQL Azure is a cloud based relational database with SQL Server 2008 engine at its core. In the first release of SQL Azure most&amp;nbsp;useful DMVs have been disabled. As part of the scheduled Service Updates (SUs) to SQL Azure, these DMVs are&amp;nbsp;enabled in phases.&amp;nbsp;Since SQL Azure is a shared infrastructure model, the DMVs have to be modified to filter the output and show information only as appropriate. In this effort, the following DMVs have been enabled in the first phase. These DMVs being released typically require VIEW SERVER STATE permissions in an on-premise SQL Server. The new permission level required on SQL Azure would be VIEW DATABASE STATE to query these DMVs. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Transaction related DMVs &lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;sys.dm_tran_active_transactions - returns information about transactions for the SQL Azure server&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_tran_database_transactions - returns information about transactions at the user database level&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_tran_locks - returns information about currently active lock manager resources. Each row represents a currently active request to the lock manager for a lock that has been granted or is waiting to be granted. The columns in the result set are divided into two main groups: resource and request. The resource group describes the resource on which the lock request is being made, and the request group describes the lock request.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_tran_session_transactions - returns correlation information for associated transactions and sessions. &lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;Execution related DMVs &lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;sys.dm_exec_connections - returns information about the connections established to SQL Azure and the details of each connection.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_exec_query_plan - returns the showplan in XML format for the batch specified by the plan handle. The plan specified by the plan handle can either be cached or currently executing.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_exec_query_stats - returns aggregate performance statistics for cached query plans. The view contains one row per query statement within the cached plan, and the lifetime of the rows are tied to the plan itself. When a plan is removed from the cache, the corresponding rows are eliminated from this view.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_exec_requests - returns information about each request that is executing within SQL Azure.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sys.dm_exec_sessions - returns one row per authenticated session on SQL Azure.&lt;/li&gt;
&lt;li&gt;sys.dm_exec_sql_text - Returns the text of the SQL batch that is identified by the specified sql_handle. This table-valued function replaces the system function fn_get_sql.&lt;/li&gt;
&lt;li&gt;sys.dm_exec_text_query_plan - returns the showplan in text format for a Transact-SQL batch or for a specific statement within the batch. The query plan specified by the plan handle can either be cached or currently executing. This table-valued function is similar to sys.dm_exec_query_plan (Transact-SQL), but has the following differences:&amp;nbsp; 1) The output of the query plan is returned in text format.&amp;nbsp;2) The output of the query plan is not limited in size. &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;strong&gt;Database related DMVs &lt;/strong&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;sys.dm_db_partition_stats - returns page and row-count information for every partition in the current database. &lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
As you can see, the number&amp;nbsp;of DMVs is growing but unfortunaltely still no SQL Azure Profiler available. At this moment I got&amp;nbsp;204 votes for my&lt;a href="http://www.mygreatwindowsazureidea.com/forums/34685-sql-azure-feature-voting/suggestions/431943-profiler-for-sql-azure?ref=title"&gt; idea&lt;/a&gt; for a SQL Azure Profiler on&lt;a href="http://www.mygreatwindowsazureidea.com/"&gt; mygreatwindowsazureidea.com&lt;/a&gt;. So let's hope that a SQL Azure Profiler will come available in one of the coming Service Updates (SUs).&lt;br /&gt;
&lt;br /&gt;
Enjoy it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-1404422846396584053?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/ssnEgMDLHv8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/1404422846396584053/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=1404422846396584053" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1404422846396584053?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/1404422846396584053?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/ssnEgMDLHv8/troubleshooting-and-optimizing-queries.html" title="Troubleshooting and optimizing queries on SQL Azure." /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-H-WiyFS7uGE/TgEGY78qteI/AAAAAAAAAi0/Z4I5gDrmYFE/s72-c/Performance.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/06/troubleshooting-and-optimizing-queries.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcFSH8zeip7ImA9WhZbEkQ.&quot;"><id>tag:blogger.com,1999:blog-8930349235661427759.post-8318877611414899771</id><published>2011-06-17T09:00:00.000+02:00</published><updated>2011-06-17T09:00:19.182+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-17T09:00:19.182+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="performance" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL 2008 R2" /><category scheme="http://www.blogger.com/atom/ns#" term="ssas" /><category scheme="http://www.blogger.com/atom/ns#" term="configuration" /><category scheme="http://www.blogger.com/atom/ns#" term="operatings Guide" /><category scheme="http://www.blogger.com/atom/ns#" term="whitepaper" /><title>Whitepaper: Analysis Services Operatings Guide (SSAS)</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_NGghlZ7fpoEYyfxTaMwPBn5pWA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_NGghlZ7fpoEYyfxTaMwPBn5pWA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_NGghlZ7fpoEYyfxTaMwPBn5pWA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_NGghlZ7fpoEYyfxTaMwPBn5pWA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-fhDwmy7a0CY/Tfr6zlFeJMI/AAAAAAAAAik/3doB4joxJ9o/s1600/SQl2008+R2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="59" i$="true" src="http://4.bp.blogspot.com/-fhDwmy7a0CY/Tfr6zlFeJMI/AAAAAAAAAik/3doB4joxJ9o/s320/SQl2008+R2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;Microsoft has published the whitepaper: Analysis Services Operatings Guide. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;In this guide you will find information on how to test and run Microsoft SQL Server Analysis Services in SQL Server 2005, SQL Server 2008, and SQL Server 2008&amp;nbsp;R2 in a production environment. The focus of this guide is how you can test, monitor, diagnose, and remove production issues on even the largest scaled cubes. This paper also provides guidance on how to configure the server for best possible performance. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;It is the goal of this guide to make your operations processes as painless as possible, and to have you run with the best possible performance without any additional development effort to your deployed cubes. In this guide, you will learn how to get the best out of your existing data model by making changes transparent to the data model and by making configuration changes that improve the user experience of the cube.&lt;/span&gt;&lt;span style="font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;"&gt;However, no amount of operational readiness can cure a poorly designed cube. Although this guide shows you where you can make changes transparent to end users, it is important to be aware that there are cases where design change is the only viable path to good performance and reliability. Cubes do not take away the ubiquitous need for informed data modeling. Fortunately, this operations guide has a companion volume targeted at developers: the Analysis Services Performance Guide. We highly recommend that your developers read that white paper and follow the guidance in it. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy reading the whitepaper &lt;a href="http://msdn.microsoft.com/en-us/library/hh226085.aspx"&gt;Analysis Services Operatings Guide&lt;/a&gt;. To directly download the whitepaper from the Microsoft Download Center click &lt;a href="http://download.microsoft.com/download/B/E/1/BE1AABB3-6ED8-4C3C-AF91-448AB733B1AF/SSASOpsGuide2008R2.docx"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8930349235661427759-8318877611414899771?l=www.keepitsimpleandfast.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/KeepItSimpleAndFast/~4/vUs7dOUSguU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.keepitsimpleandfast.com/feeds/8318877611414899771/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8930349235661427759&amp;postID=8318877611414899771" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8318877611414899771?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8930349235661427759/posts/default/8318877611414899771?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/KeepItSimpleAndFast/~3/vUs7dOUSguU/whitepaper-analysis-services-operatings.html" title="Whitepaper: Analysis Services Operatings Guide (SSAS)" /><author><name>André van de Graaf</name><uri>http://www.blogger.com/profile/07230010757193182052</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="29" height="32" src="http://4.bp.blogspot.com/-h43ZDOB4Gj4/Tw70nepiTfI/AAAAAAAAApg/gSC12GjAQCU/s220/IMG_9722Copy.JPG" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-fhDwmy7a0CY/Tfr6zlFeJMI/AAAAAAAAAik/3doB4joxJ9o/s72-c/SQl2008+R2.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.keepitsimpleandfast.com/2011/06/whitepaper-analysis-services-operatings.html</feedburner:origLink></entry></feed>

