<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Recent Entries Feed | SQLServerPedia Blog</title><link>http://pulse.sqlserverpedia.com/blog/</link><description>A variety of blog posts about SQL Server.</description><language>en-us</language><lastBuildDate>Fri, 10 Feb 2012 10:00:31 -0600</lastBuildDate><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/sqlserverpedia" /><feedburner:info uri="sqlserverpedia" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license><feedburner:emailServiceId>sqlserverpedia</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>SQL Azure</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/aI8ZmBECGzM/</link><description>&lt;p&gt;&lt;a href="http://en.wikipedia.org/wiki/SQL_Azure"&gt;SQL Azure&lt;/a&gt;&amp;#xA0;is a cloud-based service from Microsoft that uses a special version of SQL Server as its backend. &amp;#xA0;SQL Azure helps to ease provisioning and deployment of multiple databases. &amp;#xA0;Developers do not have to install, setup, patch or manage any software, as all that is taken care of by Microsoft with this platform as a service (PAAS). &amp;#xA0;High availability and fault tolerance is built-in and no physical administration is required. &amp;#xA0;It is an elastic platform which provides you the means to instantly increase or decrease your server capacity. &amp;#xA0;You only pay for what you use and don&amp;#x2019;t have to estimate capacity needs and buy a reserve capacity.&lt;/p&gt;
&lt;p&gt;SQL Azure is getting very popular, and while I think it will be a few years before many companies replace their internal data centers with it, it is a good idea to become familiar with it now. &amp;#xA0;Unfortunately&amp;#xA0;it does not include SSAS yet, but does include SSRS and you can use SSIS to move data into and out of SQL Azure. &amp;#xA0;Slowing its adoption is it does not yet support all the SQL Server features such as: integrated security, SQL Server agent, transaction log backups, cross-database references, linked servers, fulltext indexes, connection pooling, multiple database collations, data compression, table partitioning, replication, mirroring. &amp;#xA0;See&amp;#xA0;&lt;a href="http://msdn.microsoft.com/en-us/library/ff394115.aspx"&gt;SQL Server Feature Limitations (SQL Azure Database)&lt;/a&gt;&amp;#xA0;and&amp;#xA0;&lt;a href="http://msdn.microsoft.com/en-us/library/ee336253.aspx"&gt;Unsupported Transact-SQL Statements (SQL Azure Database)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#x2019;s real simple to get to know how SQL Azure works by creating an account for free and playing with it. &amp;#xA0;Here is how to quickly start:&lt;/p&gt;
&lt;p&gt;1) If you have an MSDN subscription, you can create a Windows Azure account for free. &amp;#xA0;To do this, login to MSDN and go to &amp;#x201C;My Account&amp;#x201D; and choose &amp;#x201C;Activate Windows Azure&amp;#x201D;. &amp;#xA0;Check out the &lt;a href="https://www.windowsazure.com/en-us/pricing/member-offers/msdn-benefits/"&gt;benefits&lt;/a&gt;. &amp;#xA0;If you do not have MSDN, you can get a &lt;a href="http://blogs.msdn.com/b/bharry/archive/2011/04/27/free-azure-trial.aspx"&gt;1 month trial&lt;/a&gt;&amp;#xA0;(no credit card required)&amp;#xA0;or a &lt;a href="https://www.windowsazure.com/en-us/pricing/free-trial/"&gt;3 month trial&lt;/a&gt;&amp;#xA0;(credit card required).&lt;/p&gt;
&lt;p&gt;2) Watch the following short videos &lt;a href="http://www.microsoft.com/en-us/showcase/details.aspx?uuid=c48654fd-4b7f-4882-85d3-cb63c8e7e2ff"&gt;SQL Azure at a Glance&lt;/a&gt;, &lt;a href="http://www.microsoft.com/en-us/showcase/details.aspx?uuid=1bd6bcb1-87c8-4f77-8425-2624a5f96976&amp;amp;WT.mc_id=otc-f-corp-jtc-DPR-MVA_INTROSQLAZURE"&gt;SQL Azure: Creating Your First Database&lt;/a&gt;, and &lt;a href="http://www.microsoft.com/en-us/showcase/details.aspx?uuid=ef5114b7-e497-45c5-a59a-b54bf397834b"&gt;Interacting with a SQL Azure Database&lt;/a&gt;. &amp;#xA0;Another good resource is &lt;a href="https://www.microsoftvirtualacademy.com/tracks/introduction-to-sql-azure"&gt;Introduction To SQL Azure&lt;/a&gt;&amp;#xA0;by the Microsoft Virtual Academy.&lt;/p&gt;
&lt;p&gt;That&amp;#x2019;s it! &amp;#xA0;I spent about 30 minutes creating my account and watching those videos, and I was then able to create a server, create a database, and tinker around with creating and querying tables. &amp;#xA0;There is even a &lt;a href="http://sqlazuremw.codeplex.com/"&gt;wizard&lt;/a&gt; to help you migrate databases from SQL Server to SQL Azure.&lt;/p&gt;
&lt;p&gt;More info:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/windowsazure/"&gt;Windows Azure&amp;#xA0;Team Blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/sqlazure-my-first-cloud"&gt;SQLAzure &amp;#x2013; My First Cloud&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.informit.com/guides/content.aspx?g=sqlserver&amp;amp;seqNum=389&amp;amp;WT.rss_f=Guide&amp;amp;WT.rss_a=SQL%20Azure%20Tools&amp;amp;WT.rss_ev=a"&gt;SQL Azure Tools&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/psssql/archive/2011/05/27/dipping-my-toes-into-sql-azure.aspx"&gt;Dipping My Toes Into SQL Azure&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/psssql/archive/2011/06/15/dipping-my-toes-into-sql-azure-part-2-protection-mechanisms.aspx"&gt;Dipping My Toes Into SQL Azure &amp;#x2013; Part 2 &amp;#x2013; Protection Mechanisms&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://joinsights.com/2011/03/28/sql-azure-why-use-it-and-what-makes-it-different-from-sql-server/"&gt;SQL Azure &amp;#x2013; why use it and what makes it different from SQL Server?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/buckwoody/archive/2010/12/13/windows-azure-learning-plan-sql-azure.aspx"&gt;Windows Azure Learning Plan &amp;#x2013; SQL Azure&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-performance-and-elasticity-guide.aspx"&gt;SQL Azure Performance and Elasticity Guide&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI403"&gt;Building Scalable Database Solutions Using Microsoft SQL Azure Database Federations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011/COS212"&gt;Go Large with SQL Azure&amp;#xA0;Federations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/Australia/Tech-Ed-Australia-2011/COS203"&gt;Developing with SQL Azure: Tools &amp;amp; Frameworks In Action&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI210"&gt;Getting Started with Cloud Business Intelligence&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/COS310"&gt;Microsoft SQL Azure Overview: Tools,Demos and Walkthroughs of Key Features&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI323"&gt;Using Cloud (Microsoft SQL Azure) and PowerPivot to Deliver Data and Self-Service BI at Microsoft&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI314"&gt;Microsoft SQL Azure Performance Considerations and Troubleshooting&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/COS308"&gt;Using Microsoft SQL Azure with On-Premises Data: Migration and Synchronization Strategies and Practices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video &lt;a href="http://sqlbits.com/Sessions/Event9/SQL_Azure-Design_Concepts"&gt;SQL Azure-Design Concepts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sqlskills.com/BLOGS/BOBB/post/SQL-Denali-T-SQL-features-in-SQL-Azure-now.aspx"&gt;SQL Denali T-SQL features in SQL Azure now&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=SVSQI3sR50M:jr981wDBUQ8:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=SVSQI3sR50M:jr981wDBUQ8:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=SVSQI3sR50M:jr981wDBUQ8:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=qj6IDK7rITs"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=SVSQI3sR50M:jr981wDBUQ8:3QFJfmc7Om4"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=SVSQI3sR50M:jr981wDBUQ8:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=SVSQI3sR50M:jr981wDBUQ8:-BTjWOF_DHI"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/JamesSerraSSPedia/~4/SVSQI3sR50M" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/aI8ZmBECGzM" height="1" width="1"/&gt;</description><pubDate>Fri, 10 Feb 2012 10:00:31 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/sql-azure/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/sql-azure/</feedburner:origLink></item><item><title>February 2012 PASSMN Meeting – SSRS to Address Business Cases</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/sv-TRrNeEL8/</link><description>&lt;h2&gt;Sponsor&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://true-source.com"&gt;&lt;img alt="True Source Logo" border="0" height="46" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2012/02/True-Source-Logo-2011.png" title="True Source Logo" width="240"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Meeting Details&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Loca&lt;a href="http://passmn.org/"&gt;&lt;img align="right" alt="" border="0" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2011/01/PASSMNlogo.gif"&gt;&lt;/a&gt;tion: &lt;/strong&gt;&lt;a href="http://binged.it/sxnHtF"&gt;3601 West 76th Street, Suite 600 Edina, MN&amp;#xA0; 55437&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Date: &lt;/strong&gt;February 21, 2012&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time: &lt;/strong&gt;4:00 PM &amp;#x2013; 6:00 PM &amp;#x2013; &lt;span&gt;Later Time than normal&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Meeting&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;URL&lt;/strong&gt;:&amp;#xA0; &lt;a href="https://www.livemeeting.com/cc/usergroups/join?id=R9352R&amp;amp;role=attend&amp;amp;pw=QqGKDQ7%5Bp"&gt;https://www.livemeeting.com/cc/usergroups/join?id=R9352R&amp;amp;role=attend&amp;amp;pw=QqGKDQ7%5Bp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Meeting ID&lt;/strong&gt;: R9352R&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entry Code&lt;/strong&gt;: QqGKDQ7[p&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=789"&gt;Please click here for meeting details and to RSVP&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;SQL Server and SSRS to Address Business Cases&lt;/h2&gt;
&lt;h3&gt;Srinivasan Prasanna, CSM &amp;#x2013; North America&lt;/h3&gt;
&lt;p&gt;Leveraging the power of SQL Server and SSRS to address our business case, CSM &amp;#x2013; North America implemented a WMS (Warehouse Management System) to address the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Compliant &amp;#x2013; We want to be compliant of the (Bio Terrorism Act of 2002) for food manufacturers and distributors.&lt;/li&gt;
&lt;li&gt;Improve inventory accuracy&lt;/li&gt;
&lt;li&gt;Improve productivity&lt;/li&gt;
&lt;li&gt;Improve Customer satisfaction and increase our service levels.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;By mining the data from SQL Server and with the use of SSRS we have streamlined our requirements and achieved some of these objectives and created reports to address the business needs. The use of SQL Server, SSRS have helped to achieve these in an efficient manner.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=RDSsIjR2vh0:nX8elHXXmh4:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=RDSsIjR2vh0:nX8elHXXmh4:7Q72WNTAKBA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?d=7Q72WNTAKBA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=RDSsIjR2vh0:nX8elHXXmh4:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=RDSsIjR2vh0:nX8elHXXmh4:-BTjWOF_DHI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=RDSsIjR2vh0:nX8elHXXmh4:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=RDSsIjR2vh0:nX8elHXXmh4:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=RDSsIjR2vh0:nX8elHXXmh4:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=RDSsIjR2vh0:nX8elHXXmh4:V_sGLiPBpWU"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/sv-TRrNeEL8" height="1" width="1"/&gt;</description><pubDate>Fri, 10 Feb 2012 08:00:00 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/february-2012-passmn-meeting-ssrs-to-address-business-cases/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/february-2012-passmn-meeting-ssrs-to-address-business-cases/</feedburner:origLink></item><item><title>Executing scripts with sp_addscriptexec</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/pFtfyF49LNQ/</link><description>&lt;p&gt;Looking for ways to do things more quickly and efficiently, I thought I would talk a little bit about sp_addscriptexec and how it can be leveraged to expedite the process of executing SQL scripts in a replication topology.&amp;#xA0; By creating and saving a SQL script on a publisher, it can then be distributed to and executed on UNC deployed subscribers using sp_addscriptexec.&lt;/p&gt;
&lt;p&gt;The syntax for &lt;a href="http://msdn.microsoft.com/en-us/library/ms174360.aspx" rel="nofollow" target="_blank" title="sp_addscriptexec"&gt;sp_addscriptexec&lt;/a&gt; per BOL&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;sp_addscriptexec [ @publication = ] publication&lt;br&gt;
[ , [ @scriptfile = ] 'scriptfile' ]&lt;br&gt;
[ , [ @skiperror = ] 'skiperror' ]&lt;br&gt;
[ , [ @publisher = ] 'publisher' ]&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2&gt;The problem with numbers&lt;/h2&gt;
&lt;p&gt;If you&amp;#x2019;re dealing with a large number of subscribers, database administration can be tricky.&amp;#xA0; Tasks such as adding logins and users, granting permissions, maintaining indexes, and managing constraints must be done individually at each node and deploying all of the scripts can be very time consuming.&amp;#xA0; Rather than visit each node, sp_addscriptexec should be used to post the ad-hoc script to all subscribers in the topology, saving valuable time.&amp;#xA0; Put simply &amp;#x2013; if you&amp;#x2019;re visiting each node to execute a script, you&amp;#x2019;re doing it wrong.&lt;/p&gt;
&lt;p&gt;The benefit with using sp_addscriptexec is that the publisher can act as a centralized script repository.&amp;#xA0; Scripts can be saved to the publisher and executed on demand for subscribers.&amp;#xA0; This process is quicker and more efficient than copying, saving, and executing scripts directly at each subscriber.&amp;#xA0; Not only does this save time, but space as well.&lt;/p&gt;
&lt;h2&gt;Executing scripts&lt;/h2&gt;
&lt;p&gt;Applying scripts to subscribers from the publisher can be done by:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create and test the script&lt;/li&gt;
&lt;li&gt;Save the script to the publisher&lt;/li&gt;
&lt;li&gt;Execute sp_addscriptexec at the publisher to apply script to subscribers&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;From here, the script will be executed at each subscriber on the next synchronization.&amp;#xA0; Taking this one step further&amp;#xA0;&amp;#x2014; to limit the script to run on only certain subscribers, a check for HOST_NAME can be performed in the script.&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="brush:tsql"&gt;-- Limit script to Subscriber1, Subscriber2, and Subscriber3
IF HOST_NAME() IN ('Subscriber1', 'Subscriber2', 'Subscriber3')
	-- script goes here&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2&gt;Something to consider&lt;/h2&gt;
&lt;p&gt;A caveat with sp_addscriptexec is that by default, if the script being executed encounters an error at the subscriber, the replication agent will fail and retry on subsequent syncs in an endless loop, be aware of this.&amp;#xA0; This behavior can be overridden by passing a value of 1 for &lt;strong&gt;@skiperror&lt;/strong&gt; which instructs the agent to skip errors.&amp;#xA0; At the very least, SQL scripts should be thoroughly tested at the publisher before calling sp_addscriptexec to apply them to subscribers.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZyXMiBJ-iXFa89Oku2JdrOMC05I/0/da"&gt;&lt;img border="0" ismap src="http://feedads.g.doubleclick.net/~a/ZyXMiBJ-iXFa89Oku2JdrOMC05I/0/di"&gt;&lt;/a&gt;&lt;br&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZyXMiBJ-iXFa89Oku2JdrOMC05I/1/da"&gt;&lt;img border="0" ismap src="http://feedads.g.doubleclick.net/~a/ZyXMiBJ-iXFa89Oku2JdrOMC05I/1/di"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=uCy5em-SFCM:WWV8SwyWhe4:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=uCy5em-SFCM:WWV8SwyWhe4:3QFJfmc7Om4"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=uCy5em-SFCM:WWV8SwyWhe4:dnMXMwOfBR0"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?d=dnMXMwOfBR0"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=uCy5em-SFCM:WWV8SwyWhe4:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=uCy5em-SFCM:WWV8SwyWhe4:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=uCy5em-SFCM:WWV8SwyWhe4:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=uCy5em-SFCM:WWV8SwyWhe4:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=uCy5em-SFCM:WWV8SwyWhe4:gIN9vFwOqvQ"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=uCy5em-SFCM:WWV8SwyWhe4:gIN9vFwOqvQ"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=uCy5em-SFCM:WWV8SwyWhe4:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?d=yIl2AUoC8zA"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/sqlrepl/~4/uCy5em-SFCM" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/pFtfyF49LNQ" height="1" width="1"/&gt;</description><pubDate>Fri, 10 Feb 2012 00:42:47 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/executing-scripts-with-sp_addscriptexec/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/executing-scripts-with-sp_addscriptexec/</feedburner:origLink></item><item><title>SQL SERVER – A Quick Puzzle on JOIN and NULL – SQL Brain Teaser</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/b57Hk_KJ-ps/</link><description>&lt;p&gt;It seems that we all love to solve puzzles. On &lt;a href="http://www.facebook.com/SQLAuth" target="_blank"&gt;&lt;strong&gt;SQLAuthority Page&lt;/strong&gt;&lt;/a&gt;, we have been playing the number game and those who are playing with us know how much fun we are having. Sometimes, the answers are so innovative and informative that they open up those aspects of the technology which I have not thought of.&lt;/p&gt;
&lt;p&gt;Today, I have a very relaxing puzzle for all of you. It is based on my earlier blog post on &lt;a href="http://blog.sqlauthority.com/2012/02/09/sql-server-inner-join-returning-more-records-than-exists-in-table/" target="_blank"&gt;&lt;strong&gt;INNER JOIN and NULL&lt;/strong&gt;&lt;/a&gt;, so I suggest reading the said post first if you want to get the complete idea.&lt;/p&gt;
&lt;p&gt;The puzzle has three parts:&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;Setup&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fill in the blanks &amp;#x2013; T-SQL code&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Query and Resultset&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We will set up the sample table first. We will run the sample query, which will give us some result. You will have to figure out what the missing script will be, which in turn will generate a specific displayed result.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span&gt;USE &lt;/span&gt;&lt;span&gt;TempDB&lt;br&gt;
GO&lt;br&gt;&lt;/span&gt;&lt;span&gt;-- Sample Table&lt;br&gt;&lt;/span&gt;&lt;span&gt;CREATE TABLE &lt;/span&gt;&lt;span&gt;FirstTable &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;Col1 &lt;/span&gt;&lt;span&gt;INT&lt;/span&gt;&lt;span&gt;)&lt;br&gt;&lt;/span&gt;&lt;span&gt;CREATE TABLE &lt;/span&gt;&lt;span&gt;SecondTable &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;Col1 &lt;/span&gt;&lt;span&gt;INT&lt;/span&gt;&lt;span&gt;)&lt;br&gt;&lt;/span&gt;&lt;span&gt;GO&lt;br&gt;&lt;/span&gt;&lt;span&gt;ALTER TABLE &lt;/span&gt;&lt;span&gt;FirstTable &lt;/span&gt;&lt;span&gt;ADD CONSTRAINT&lt;br&gt;&lt;/span&gt;&lt;span&gt;UX_FirstTable &lt;/span&gt;&lt;span&gt;UNIQUE NONCLUSTERED &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;Col1&lt;/span&gt;&lt;span&gt;);&lt;br&gt;&lt;/span&gt;&lt;span&gt;ALTER TABLE &lt;/span&gt;&lt;span&gt;SecondTable &lt;/span&gt;&lt;span&gt;ADD CONSTRAINT&lt;br&gt;&lt;/span&gt;&lt;span&gt;UX_SecondTable &lt;/span&gt;&lt;span&gt;UNIQUE NONCLUSTERED &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;Col1&lt;/span&gt;&lt;span&gt;);&lt;br&gt;&lt;/span&gt;&lt;span&gt;GO&lt;br&gt;&lt;/span&gt;&lt;span&gt;INSERT INTO &lt;/span&gt;&lt;span&gt;FirstTable &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;Col1&lt;/span&gt;&lt;span&gt;)&lt;br&gt;&lt;/span&gt;&lt;span&gt;VALUES &lt;/span&gt;&lt;span&gt;(NULL)&lt;br&gt;&lt;/span&gt;&lt;span&gt;GO&lt;br&gt;&lt;/span&gt;&lt;span&gt;INSERT INTO &lt;/span&gt;&lt;span&gt;SecondTable &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;Col1&lt;/span&gt;&lt;span&gt;)&lt;br&gt;&lt;/span&gt;&lt;span&gt;VALUES &lt;/span&gt;&lt;span&gt;(NULL)&lt;br&gt;&lt;/span&gt;&lt;span&gt;GO&lt;br&gt;&lt;/span&gt;&lt;span&gt;--------------------------------------&lt;br&gt;
-- Missing T-SQL Statement&lt;br&gt;
--------------------------------------&lt;br&gt;
-- SQL Query&lt;br&gt;&lt;/span&gt;&lt;span&gt;SELECT &lt;/span&gt;&lt;span&gt;st.col1&lt;br&gt;&lt;/span&gt;&lt;span&gt;FROM &lt;/span&gt;&lt;span&gt;FirstTable ft&lt;br&gt;&lt;/span&gt;&lt;span&gt;LEFT &lt;/span&gt;&lt;span&gt;JOIN &lt;/span&gt;&lt;span&gt;SecondTable st &lt;/span&gt;&lt;span&gt;ON &lt;/span&gt;&lt;span&gt;st.Col1 &lt;/span&gt;&lt;span&gt;= &lt;/span&gt;&lt;span&gt;ft.Col1&lt;br&gt;
GO&lt;br&gt;&lt;/span&gt;&lt;span&gt;-- Clean up&lt;br&gt;&lt;/span&gt;&lt;span&gt;DROP TABLE &lt;/span&gt;&lt;span&gt;FirstTable&lt;/span&gt;&lt;span&gt;;&lt;br&gt;&lt;/span&gt;&lt;span&gt;DROP TABLE &lt;/span&gt;&lt;span&gt;SecondTable&lt;/span&gt;&lt;span&gt;;&lt;br&gt;&lt;/span&gt;&lt;span&gt;GO&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Current Resultset:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" class="alignnone" height="115" src="http://www.pinaldave.com/bimg/puzcurrent.jpg" width="168"&gt;&lt;/p&gt;
&lt;p&gt;Expected Resultset:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" class="alignnone" height="154" src="http://www.pinaldave.com/bimg/puzexpected.jpg" width="207"&gt;&lt;/p&gt;
&lt;p&gt;Try harder. You will figure it out. If you cannot figure out and you want to give up, &lt;a href="http://facebook.com/SQLAuth" target="_blank"&gt;&lt;strong&gt;here is the answer&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you do not feel like doing SQL any further, try the following image of Mars taken by Viking 1 in 1976.&lt;/p&gt;
&lt;p&gt;Try to find the human face:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" class="alignnone" height="215" src="http://www.pinaldave.com/bimg/facesonmars.gif" width="255"&gt;&lt;/p&gt;
&lt;p&gt;Do let me know if you like this kind of puzzle and we will have many more of &amp;#xA0;these.&lt;/p&gt;
&lt;p&gt;Reference:&amp;#xA0;&lt;strong&gt;Pinal Dave (&lt;a href="http://blog.sqlauthority.com/" target="_blank"&gt;http://blog.sqlauthority.com&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;
&lt;br&gt;Filed under: &lt;a href="http://blog.sqlauthority.com/category/tech/pinal-dave/"&gt;Pinal Dave&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/postaday/"&gt;PostADay&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/readers-question/"&gt;Readers Question&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql/"&gt;SQL&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-authority/"&gt;SQL Authority&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sql-puzzle/"&gt;SQL Puzzle&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-query/"&gt;SQL Query&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/tech/sql-scripts/"&gt;SQL Scripts&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-server/"&gt;SQL Server&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/"&gt;SQL Tips and Tricks&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sqlserver/"&gt;SQLServer&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/t-sql/"&gt;T SQL&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/"&gt;Technology&lt;/a&gt;  &lt;a href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17281/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17281/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;amp;blog=668536&amp;amp;post=17281&amp;amp;subd=sqlauthority&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/b57Hk_KJ-ps" height="1" width="1"/&gt;</description><pubDate>Thu, 09 Feb 2012 19:30:26 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/sql-server-a-quick-puzzle-on-join-and-null-sql-brain-teaser/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/sql-server-a-quick-puzzle-on-join-and-null-sql-brain-teaser/</feedburner:origLink></item><item><title>An open letter to anyone with “SQL Server” on their resume</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/7RZ0ytXeOic/</link><description>&lt;p&gt;Dear Sir or Madam,&lt;/p&gt;
&lt;p&gt;I have your resume here in my hand and couldn&amp;#x2019;t help but notice that you have listed several versions of SQL Server in the experience section.&amp;#xA0; You may be an interviewee for a position in SQL Server, a .NET, or some other IT related discipline.&amp;#xA0; Regardless of which particular job you&amp;#x2019;re going for, I would like you to commit a few things to memory regarding the above-mentioned bullet point on your resume. Take these notes as reminders in the kind and helpful manner in which I mean them.&lt;/p&gt;
&lt;h2&gt;Data Types are Important&lt;/h2&gt;
&lt;p&gt;If you have touched SQL Server enough to warrant a line on page 1 of your resume, you need to know some of the extreme basics, such as &lt;a href="http://msdn.microsoft.com/en-us/library/ms187752.aspx"&gt;data types&lt;/a&gt;.&amp;#xA0; &lt;strong&gt;Data&lt;/strong&gt; types are the fundamental building blocks of &lt;strong&gt;data&lt;/strong&gt;bases, so take a few minutes to familiarize yourself with a few:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms176089.aspx"&gt;char and varchar are slightly different&lt;/a&gt;. char is a fixed-length string type; varchar is a variable-length string type. However many characters you declare your char field or variable to have, that&amp;#x2019;s how many it will have. Set a char(4) equal to &amp;#x2018;a&amp;#x2019;, and the string will actually by &amp;#x2018;a&amp;#xA0;&amp;#xA0; &amp;#x2018;. (Note their comparable Unicode types, &lt;a href="http://msdn.microsoft.com/en-us/library/ms186939.aspx"&gt;nchar and nvarchar&lt;/a&gt;.)&lt;/li&gt;
&lt;li&gt;There are several different &lt;a href="http://msdn.microsoft.com/en-us/library/ms186724.aspx#DateandTimeDataTypes"&gt;date and time types&lt;/a&gt;, each of which have a different precision and date range.&lt;/li&gt;
&lt;li&gt;Briefly familiarize yourself with the &lt;a href="http://msdn.microsoft.com/en-us/library/ms187745.aspx"&gt;integer data types&lt;/a&gt;&amp;#xA0;(part of the family of exact numerics, which also includes &lt;a href="http://msdn.microsoft.com/en-us/library/ms187746.aspx"&gt;decimal&lt;/a&gt; and others).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;SP_ means &lt;em&gt;System &lt;/em&gt;Stored Procedure &amp;#x2013; Don&amp;#x2019;t use it&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms190669.aspx"&gt;Don&amp;#x2019;t begin your stored procedures with sp_&lt;/a&gt;.&amp;#xA0; In addition to the reasons listed behind the link, a stored procedure whose name begins with sp_ will cause SQL Server to look in the &lt;em&gt;master&lt;/em&gt; database for the SP, before it looks in the current database. That&amp;#x2019;s what we call a performance hit.&amp;#xA0; And certainly, don&amp;#x2019;t be like &lt;a href="http://www.midnightdba.com/DBARant/?p=443"&gt;this guy&lt;/a&gt;.&amp;#xA0;&lt;/p&gt;
&lt;h2&gt;Database Objects are Important&lt;/h2&gt;
&lt;p&gt;Again, if your work with SQL Server warrants a&amp;#xA0;page 1 bullet, it&amp;#x2019;d be an awfully good idea to know of a few database objects.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms173393(v=SQL.100).aspx"&gt;Tables&lt;/a&gt; contain rows of data. Each column in a row has a name and a type.&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms188783.aspx"&gt;Indexes&lt;/a&gt; make tables more quickly searchable (for reads). Indexes come at a cost to writes (inserts and updates).&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms187926.aspx"&gt;Stored Procedures&lt;/a&gt; are saved in the database. They can accept input parameters, contain one or more statments, and return a value. Stored procedures can be called manually, or from applications or scheduled jobs.&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms189799.aspx"&gt;Triggers&lt;/a&gt;&amp;#xA0;are similar to stored procedures, but they are event-driven: they are defined to execute when a specific event (such as an insert on a table) occurs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Know What you Know&lt;/h2&gt;
&lt;p&gt;ORMs are not &amp;#x201C;faster&amp;#x201D; than SQL Server. Oracle is not &amp;#x201C;better&amp;#x201D; than SQL Server (or, necessarily, worse).&amp;#xA0; SQL Server 2005 didn&amp;#x2019;t make DTS &amp;#x201C;better&amp;#x201D; than SQL Server 2000. There is no SQL Server 2003. There is no SQL Server 2003. There is no SQL Server 2003. There is no SQL Server 2003. There is no SQL Server 2003. There is no SQL Server 2003. There is no SQL Server 2003.&amp;#xA0;&lt;/p&gt;
&lt;p&gt;There is no SQL Server 2003. &lt;em&gt;Know what you know&lt;/em&gt;, and don&amp;#x2019;t claim to know more.&amp;#xA0;&lt;/p&gt;
&lt;p&gt;If you didn&amp;#x2019;t know most of the above, then you might think about removing SQL Server from your list of skills.&amp;#xA0;&lt;/p&gt;
&lt;p&gt;Helpfully yours,&lt;br&gt;
Jen McCown&lt;br&gt;&lt;a href="http://www.MidnightDBA.com/Jen"&gt;MidnightDBA.com/Jen&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;P.S. To the folks I have interviewed thus far in 2012: None of this is actually directed at you, but you did inspire me (due to remembered interviews).&amp;#xA0; Good job, seriously.&lt;/p&gt;

				
				&lt;div class="mr_social_sharing_wrapper"&gt;
&lt;span class="mr_social_sharing"&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://twitter.com/share?url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F&amp;amp;text=An+open+letter+to+anyone+with+%E2%80%9CSQL+Server%E2%80%9D+on+their+resume&amp;amp;via=MidnightDBA" target="_blank"&gt;&lt;img alt="Share on Twitter" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/twitter.png" title="Share on Twitter"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://www.linkedin.com/shareArticle?mini=true&amp;amp;url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F&amp;amp;title=An+open+letter+to+anyone+with+%E2%80%9CSQL+Server%E2%80%9D+on+their+resume" target="_blank"&gt;&lt;img alt="Share on LinkedIn" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/linkedin.png" title="Share on LinkedIn"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://www.tumblr.com/share/link?url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F&amp;amp;name=An+open+letter+to+anyone+with+%E2%80%9CSQL+Server%E2%80%9D+on+their+resume" target="_blank"&gt;&lt;img alt="Share on Tumblr" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/tumblr.png" title="Share on Tumblr"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F&amp;amp;title=An+open+letter+to+anyone+with+%E2%80%9CSQL+Server%E2%80%9D+on+their+resume" target="_blank"&gt;&lt;img alt="Submit to StumbleUpon" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/stumbleupon.png" title="Submit to StumbleUpon"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F&amp;amp;title=An+open+letter+to+anyone+with+%E2%80%9CSQL+Server%E2%80%9D+on+their+resume" target="_blank"&gt;&lt;img alt="Save on Delicious" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/delicious.png" title="Save on Delicious"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://digg.com/submit?url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F&amp;amp;title=An+open+letter+to+anyone+with+%E2%80%9CSQL+Server%E2%80%9D+on+their+resume" target="_blank"&gt;&lt;img alt="Digg This" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/digg.png" title="Digg This"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="mr_social_sharing"&gt;&lt;a class="mr_social_sharing_popup_link" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.midnightdba.com%2FJen%2F2012%2F02%2Fan-open-letter-to-anyone-with-sql-server-on-their-resume%2F" target="_blank"&gt;&lt;img alt="Submit to reddit" src="http://www.midnightdba.com/Jen/wp-content/plugins/social-sharing-toolkit/images/icons_small/reddit.png" title="Submit to reddit"&gt;&lt;/a&gt;&lt;/span&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/7RZ0ytXeOic" height="1" width="1"/&gt;</description><pubDate>Thu, 09 Feb 2012 15:20:50 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/an-open-letter-to-anyone-with-sql-server-on-their-resume/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/an-open-letter-to-anyone-with-sql-server-on-their-resume/</feedburner:origLink></item><item><title>Is Your Data Being Collected?</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/g62zpJmcw3s/</link><description>&lt;p&gt;For those of you who have read my posts then you will know I am very big on &lt;a href="http://chrisshaw.wordpress.com/presentations/" target="_blank" title="Chris Shaw's Utility Databases"&gt;Utility Databases&lt;/a&gt;. I like them because there is a plethora of information that can be gathered that you can trend, baseline, troubleshoot, etc.&lt;/p&gt;
&lt;p&gt;In browsing some forums and whatnot I came across a good article regarding the data collector within SQL. I decided in some late night reading to study up on it; I found it to be something that in our line of business pretty beneficial. This component of SQL 2008 collects different data sets. I like it for many reasons; one perk that stood out to me was configuring the different types of monitors on a scheduled bases. You may ask what is the difference between this and the Utility Databases I always speak of. I am glad you asked; my&amp;#xA0;&lt;a href="http://chrisshaw.wordpress.com/presentations/" target="_blank" title="Chris Shaw's Utility Databases"&gt;Utility Databases&lt;/a&gt;&amp;#xA0;are custom fitting to me to meet my exact needs; this data collector component comes out of the box you just have to configure it.&lt;/p&gt;
&lt;p&gt;I&amp;#x2019;ve started utilizing both; configuring the data collector takes a matter of minutes and you can set schedules and retention periods of how long you want to keep your data. I basically set up an empty database shell; then the configuration takes care of creating the necessary stored procedures and schema to support it. &amp;#xA0;Another feature that I liked are the 3 reports that come with it out of the box &amp;#x2013; disk usage, query stats history, and server stats history. Granted all these can be gathered via scripts but why not take advantage of something already built for you.&lt;/p&gt;
&lt;p&gt;This &lt;a href="http://www.simple-talk.com/sql/learn-sql-server/sql-server-2008-performance-data-collector/" target="_blank" title="Data Collector Information"&gt;link&lt;/a&gt; by &lt;a href="http://www.bradmcgehee.com/" target="_blank" title="Brad McGehee"&gt;Brad McGehee&lt;/a&gt; provides information on how to set up and configure the Data Collector.&lt;/p&gt;
&lt;p&gt;This &lt;a href="http://msdn.microsoft.com/en-us/library/bb677248.aspx" target="_blank" title="Data Collector"&gt;link&lt;/a&gt; on the &lt;a href="http://msdn.microsoft.com/en-us/ms348103" target="_blank" title="MSDN Site"&gt;MSDN&lt;/a&gt; site will provide a basic understanding of what the Data Collector does.&lt;/p&gt;
&lt;p&gt;After research I found that this resides best on a &lt;a href="http://msdn.microsoft.com/en-us/library/bb895144.aspx" target="_blank" title="CMS Server"&gt;CMS Server&lt;/a&gt; if you have one. If you are unfamiliar with the CMS Server check out &lt;a href="http://johnsterrett.com/" target="_blank" title="John Sterrett"&gt;John Sterret&amp;#x2019;s&lt;/a&gt; blog. I sat on one of his sessions at &lt;a href="http://www.sqlpass.org/summit/2012/" target="_blank" title="Pass Summit"&gt;PASS&lt;/a&gt; and really enjoyed it.&lt;/p&gt;
&lt;p&gt;If you aren&amp;#x2019;t collecting data your missing out; if you are collecting data and aren&amp;#x2019;t using the two methodologies take some time and review them; it might just meet your needs.&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/chrisyatessql.wordpress.com/82/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chrisyatessql.wordpress.com/82/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=chrisyatessql.wordpress.com&amp;amp;blog=26217417&amp;amp;post=82&amp;amp;subd=chrisyatessql&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/g62zpJmcw3s" height="1" width="1"/&gt;</description><pubDate>Thu, 09 Feb 2012 14:44:40 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/is-your-data-being-collected/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/is-your-data-being-collected/</feedburner:origLink></item><item><title>More Interview Questions</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/csCRBxCqK7o/</link><description>&lt;p&gt;I wrote a &lt;a href="http://crankydba.com/2011/06/08/interview-questions/" title="Interview Questions"&gt;post&lt;/a&gt; many months ago with some interview questions for my old boss to use when searching for my replacement. Tomorrow, we have a candidate interviewing to join our team. &amp;#xA0;Here are a few things from the top of my head that I just might ask. You&amp;#x2019;ll need to find your own answers, though.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tell me about VLFs&lt;/li&gt;
&lt;li&gt;Do you have any experience with MSX-TSX relationships in the SQL Server Agent?&lt;/li&gt;
&lt;li&gt;How do you maintain INDEXes and STATISTICS in your environment today? How could you improve that?&lt;/li&gt;
&lt;li&gt;When would you disable auto update of statistics?&lt;/li&gt;
&lt;li&gt;How do you keep your skills current with SQL Server technology?&lt;/li&gt;
&lt;li&gt;What&amp;#x2019;s the most compelling reason to upgrade from SQL 2005 to SQL 2008 R2?&lt;/li&gt;
&lt;li&gt;What&amp;#x2019;s the biggest mistake you see other SQL Server DBAs make?&lt;/li&gt;
&lt;li&gt;What&amp;#x2019;s your worse habit as a DBA?&lt;/li&gt;
&lt;li&gt;Are you familiar with the PASS Summit or local chapters?&lt;/li&gt;
&lt;li&gt;With what trace flags are you familiar?&lt;/li&gt;
&lt;li&gt;What are the two types of authentication? Which is more secure?&lt;/li&gt;
&lt;li&gt;Which will be faster, inserting a million rows of data or updating a million rows of data? (shamelessly stolen from &lt;a href="http://thomaslarock.com/2012/01/the-5-dba-interview-questions-you-have-to-ask/" target="_blank"&gt;Tom LaRock&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/csCRBxCqK7o" height="1" width="1"/&gt;</description><pubDate>Thu, 09 Feb 2012 13:17:27 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/more-interview-questions/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/more-interview-questions/</feedburner:origLink></item><item><title>February #Meme15 Assignment</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/oVJAemnjxH8/</link><description>&lt;p&gt;&lt;a href="http://feeds2.feedburner.com/LINK%20TO%20MEME15%20ANNOUNCEMENT%20HERE" title="meme15 Logo by Matt Velic [CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/us/)] via MattVelic.com"&gt;&lt;img align="right" alt="Logo for meme15" src="http://mattvelic.com/wp-content/uploads/2011/12/meme15new.png"&gt;&lt;/a&gt; It&amp;#x2019;s been a couple months now since a number of us got together to share how we &lt;a href="http://www.jasonstrate.com/2011/12/the-meme15-on-social-networking/"&gt;use social networks to enhance our careers and professional development&lt;/a&gt;.&amp;#xA0; These blog posts will be called &lt;a href="http://twitter.com/#!/search/realtime/%23meme15"&gt;#meme15&lt;/a&gt;.&amp;#xA0; For more on what people talked about talked about in &lt;a href="http://www.jasonstrate.com/2011/12/the-meme15-round-up/"&gt;December &lt;/a&gt;and &lt;a href="http://www.jasonstrate.com/2012/01/february-meme15-round-up/"&gt;January&lt;/a&gt; round-up posts.&lt;/p&gt;
&lt;p&gt;Before we get to the assignment for this month, let&amp;#x2019;s go over a few guidelines for this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Answer the question(s) with as much or as little detail as you wish.&amp;#xA0; Try to stay true to the heart of the question, but answering where it connects to you.&lt;/li&gt;
&lt;li&gt;Watch for the new assignment about 8th, or the Monday after the 8th if it falls on a weekend.&lt;/li&gt;
&lt;li&gt;Post your answer on the 15th, or the Monday after the 15th if it falls on a weekend.&lt;/li&gt;
&lt;li&gt;Include the #meme15 logo your post &lt;em&gt;(courtesy of Matt Velic (&lt;a href="http://mattvelic.com"&gt;Blog&lt;/a&gt; | &lt;a href="http://twitter.com/#!/mvelic"&gt;@mvelic&lt;/a&gt;))&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Comment on the assignment blog post, which seems more reliable, or trackback to it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;#Meme15 Assignment #3&lt;/h1&gt;
&lt;p&gt;The third writing assignment for #meme15 will be on &lt;a href="http://www.linkedin.com/"&gt;Linkedin&lt;/a&gt;.&amp;#xA0; The post should answer the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Why and how you use LinkedIn?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You&amp;#x2019;ve got a week, happy writing.&lt;/p&gt;
&lt;h1&gt;Other SQL Community Memes&lt;/h1&gt;
&lt;p&gt;If you aren&amp;#x2019;t already participating, there are already a few going on in the community &lt;a href="http://twitter.com/#!/search/realtime/%23tsql2sday"&gt;#TSQLTuesday&lt;/a&gt;, &lt;a href="http://twitter.com/#!/search/%23mememonday"&gt;#MemeMonday&lt;/a&gt;, and &lt;a href="http://www.midnightdba.com/Jen/?s=Un-SQL+Friday"&gt;Un-SQL Friday&lt;/a&gt;.&amp;#xA0; Watch for those for opportunities to blog without having to come up with your own topic.&amp;#xA0; Beyond having a easy topic choice, they also provide a window for more people to see what you have to say.&lt;/p&gt;
&lt;p&gt;Related posts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.jasonstrate.com/2012/01/january-meme15-assignment/" rel="bookmark" title="January #Meme15 Assignment"&gt;January #Meme15 Assignment&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jasonstrate.com/2012/01/february-meme15-round-up/" rel="bookmark" title="January #Meme15 Round-Up"&gt;January #Meme15 Round-Up&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jasonstrate.com/2011/12/the-meme15-on-social-networking/" rel="bookmark" title="The #Meme15 On Social Networking"&gt;The #Meme15 On Social Networking&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=sdV2jgfIKsA:4GcbakDgY24:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?i=sdV2jgfIKsA:4GcbakDgY24:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=sdV2jgfIKsA:4GcbakDgY24:clraHZBW0_I"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?d=clraHZBW0_I"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=sdV2jgfIKsA:4GcbakDgY24:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?i=sdV2jgfIKsA:4GcbakDgY24:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=sdV2jgfIKsA:4GcbakDgY24:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=sdV2jgfIKsA:4GcbakDgY24:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/oVJAemnjxH8" height="1" width="1"/&gt;</description><pubDate>Wed, 08 Feb 2012 19:35:00 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/february-meme15-assignment/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/february-meme15-assignment/</feedburner:origLink></item><item><title>DAX Measures, MDX Measures and Type</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/nyxUol8hN9Y/</link><description>&lt;p&gt;One of the strengths of MDX is the fact that calculated measures in MDX are not strongly typed: they return variants. This means that it&amp;#x2019;s possible to create calculations that return values of several different types, such as the example below that returns text in some cases and integers in others:&lt;/p&gt;
&lt;p&gt;WITH   &lt;br&gt;MEMBER MEASURES.DEMO AS    &lt;br&gt;IIF(    &lt;br&gt;[Measures].[Internet Sales Amount]&amp;gt;7000000    &lt;br&gt;, "TOO HIGH!"    &lt;br&gt;, [Measures].[Internet Sales Amount])&lt;/p&gt;
&lt;p&gt;SELECT    &lt;br&gt;{[Measures].[Internet Sales Amount], MEASURES.DEMO}     &lt;br&gt;ON 0,    &lt;br&gt;[Date].[Calendar Year].[Calendar Year].MEMBERS ON 1    &lt;br&gt;FROM [Adventure Works]&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image.png"&gt;&lt;img alt="image" border="0" height="148" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb.png?w=244&amp;amp;h=148" title="image" width="244"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This gives you a lot of flexibility when writing calculations but it also can be a big problem when you want to extract data from a cube into another system, as anyone who has tried to do this will know.&lt;/p&gt;
&lt;p&gt;In DAX and the Tabular model, on the other hand measures, like columns (calculated or otherwise) are strongly typed. Although you can&amp;#x2019;t see the type of a measure in SQL Server Data Tools when you create it, the automatically inferred type can be found in the &lt;a href="http://technet.microsoft.com/en-gb/library/ms126250(SQL.110).aspx"&gt;MDSCHEMA_MEASURES&lt;/a&gt; schema rowset and which be queried as follows:&lt;/p&gt;
&lt;p&gt;select *    &lt;br&gt;from $system.mdschema_measures&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image1.png"&gt;&lt;img alt="image" border="0" height="282" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb1.png?w=533&amp;amp;h=282" title="image" width="533"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you try to use an expression for a measure like this that, as in my first example, could return text or an integer:&lt;/p&gt;
&lt;p&gt;testtype:=IF(SUM(&amp;#x2018;Internet Sales&amp;#x2019;[Sales Amount Value])&amp;gt;1000, 1, "test")   &lt;br&gt;&amp;#xA0; &lt;br&gt;Then you get the error:    &lt;br&gt;&amp;#xA0; &lt;br&gt;&lt;em&gt;Measure &amp;#x2018;Internet Sales&amp;#x2019;[testtype] : The second and third arguments of function IF have different data types. This is not supported.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On balance I think I prefer having measures strongly typed, and for one thing it opens up the possibility of using the Tabular model for certain forms of ETL. I&amp;#x2019;ve already seen one customer of mine replace a CTE in TSQL by loading their data into Tabular and using the &lt;a href="http://www.powerpivotblog.nl/powerpivot-denali-parent-child-using-dax"&gt;PATH functions&lt;/a&gt; instead, getting some significant performance benefits as a result, and I&amp;#x2019;m sure there will be plenty of other scenarios where ETL requires complex calculations to take place that the incredible performance of DAX will make loading all the data into a Tabular model (even if the final destination of the data is a relational data warehouse) a serious option.&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/cwebbbi.wordpress.com/1369/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cwebbbi.wordpress.com/1369/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=cwebbbi.wordpress.com&amp;amp;blog=16411407&amp;amp;post=1369&amp;amp;subd=cwebbbi&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wordpress/Cpjz?a=8RUjCNgu53g:aerlVEmiTbI:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/wordpress/Cpjz?d=yIl2AUoC8zA"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/wordpress/Cpjz/~4/8RUjCNgu53g" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/nyxUol8hN9Y" height="1" width="1"/&gt;</description><pubDate>Wed, 08 Feb 2012 15:39:15 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/dax-measures-mdx-measures-and-type/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/dax-measures-mdx-measures-and-type/</feedburner:origLink></item><item><title>What is Microsoft Connect?</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/bvL6-gJhxk8/</link><description>&lt;p&gt;&lt;a href="http://connect.microsoft.com/"&gt;Microsoft Connect&lt;/a&gt;&amp;#xA0;(&lt;a href="http://blogs.msdn.com/b/connectfeedback/"&gt;blog&lt;/a&gt;, &lt;a href="https://twitter.com/#!/MSConnect"&gt;twitter&lt;/a&gt;) is a site where you can post feedback to improve the quality of many Microsoft products and impact the direction of those products. &amp;#xA0;As of this writing, the site accepts&amp;#xA0;bugs for 51 products and suggestions for 34 products, all from the community. &amp;#xA0;You will need a Microsoft Live ID to submit a bug or suggestion.&lt;/p&gt;
&lt;p&gt;The site has a nice dashboard where you can view feedback you have selected to watch, feedback you have submitted, and feedback you have participated in. &amp;#xA0;Each line in the dashboard shows the number of comments, the number of workarounds, and the status.&lt;/p&gt;
&lt;p&gt;On many occasions I have run into a bug with SQL Server, and have used connect to see if someone else has notified Microsoft of the bug. &amp;#xA0;And many times Microsoft or another community member will have posted a work around. &amp;#xA0;I have also posted suggestions for SQL Server, along with many others, and have seen those suggestions implemented. &amp;#xA0;So if you find a bug, or have an idea to improve a Microsoft product, check out Microsoft Connect.&lt;/p&gt;
&lt;p&gt;More info:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.dynamicscrmtrickbag.com/2011/12/07/use-microsoft-connect-to-drive-product-improvement/"&gt;Use Microsoft Connect to Drive Product Improvement&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.hoegaerden.be/2012/01/04/posting-an-issue-to-microsoft-connect/"&gt;Posting An Issue To Microsoft Connect&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=yyywvaeY_j8:cWIP4tjhXNk:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=yyywvaeY_j8:cWIP4tjhXNk:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=yyywvaeY_j8:cWIP4tjhXNk:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=qj6IDK7rITs"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=yyywvaeY_j8:cWIP4tjhXNk:3QFJfmc7Om4"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=yyywvaeY_j8:cWIP4tjhXNk:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=yyywvaeY_j8:cWIP4tjhXNk:-BTjWOF_DHI"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/JamesSerraSSPedia/~4/yyywvaeY_j8" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/bvL6-gJhxk8" height="1" width="1"/&gt;</description><pubDate>Wed, 08 Feb 2012 10:00:20 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/what-is-microsoft-connect/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/what-is-microsoft-connect/</feedburner:origLink></item><item><title>Going To TechEd? See You There!</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/eCEH_hka5R0/</link><description>&lt;p&gt;If you are planning on attending TechEd this year then you will have a chance to see myself and Denny Cherry (&lt;a href="http://itknowledgeexchange.techtarget.com/sql-server/"&gt;blog&lt;/a&gt;&amp;#xA0;| @&lt;a href="http://twitter.com/mrdenny"&gt;mrdenny&lt;/a&gt;) deliver&amp;#xA0;a&amp;#xA0;&lt;a href="http://northamerica.msteched.com/preconferenceseminars" target="_blank"&gt;precon seminar&lt;/a&gt;.&amp;#xA0;The title is &amp;#x201C;Microsoft SQL Server Performance Tuning and Optimization&amp;#x201D; and we are very excited to have this opportunity.&amp;#xA0;And apparently Microsoft is excited to have us as well, because they are also sending the two of us to Amsterdam to do a&amp;#xA0;&lt;a href="http://europe.msteched.com/PreCons" target="_blank"&gt;repeat performance two weeks later&lt;/a&gt;&amp;#xA0;for TechEd Europe.&lt;/p&gt;
&lt;p&gt;Denny and I have been working on the precon now for a couple of weeks. It&amp;#x2019;s tough since we both have full time jobs and live on opposite ends of the country, but we manage to meet at least once a week over Skype to discuss the session. Here are just a few of the performance tuning items we are planning to discuss:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Table Partitioning&lt;/li&gt;
&lt;li&gt;Filtered Indexes&lt;/li&gt;
&lt;li&gt;Columnstore&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In addition to those items, we are also going to discuss how you can implement AlwaysOn read only replicas to help scale your system for performance as well as walk you through some general&amp;#xA0;troubleshooting&amp;#xA0;techniques with regarding to execution plans.&lt;/p&gt;
&lt;p&gt;The last registration update had our precon in the lead for attendees, in both countries. We&amp;#x2019;d like to keep that trend going.&lt;/p&gt;
&lt;p&gt;Go and get yourself registered for&amp;#xA0;&lt;a href="http://northamerica.msteched.com/registration" target="_blank"&gt;Orlando&lt;/a&gt;,&amp;#xA0;&lt;a href="http://europe.msteched.com/Registration" target="_blank"&gt;Amsterdam&lt;/a&gt;, or both!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;a href="http://thomaslarock.com/2012/02/going-teched/"&gt;Going To TechEd? See You There!&lt;/a&gt; is a post from: &lt;a href="http://thomaslarock.com"&gt;SQLRockstar | Thomas LaRock&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Join Denny Cherry (&lt;a href="http://www.twitter.com/mrdenny"&gt;@mrdenny&lt;/a&gt;) and me for two days of SQL instruction, training, and wine tasting in the California sunshine &lt;a href="http://sqlexcursions.com/napa-2011-sign-up"&gt;this May for $799&lt;/a&gt;.
&lt;p&gt;&lt;/p&gt;

&lt;div class="shr-publisher-7585"&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class="shareaholic-like-buttonset"&gt;
&lt;a class="shareaholic-fblike"&gt;&lt;/a&gt;&lt;a class="shareaholic-googleplusone"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/eCEH_hka5R0" height="1" width="1"/&gt;</description><pubDate>Wed, 08 Feb 2012 10:00:00 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/going-to-teched-see-you-there/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/going-to-teched-see-you-there/</feedburner:origLink></item><item><title>Not enough storage is available to complete this operation</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/cgiht9vVRUM/</link><description>&lt;p&gt;This message appears in the TDP SQL dsmsched file. &amp;#xA0;It&amp;#x2019;s usually associated with low levels of contiguous memory&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;BackupVirtualDeviceSet::SetBufferParms: Request large buffers failure on backup device 'TDPSQL-00001BDC-0000'. Operating system error 0x8007000e(Not enough storage is available to complete this operation.). A nonrecoverable I/O error occurred on file "TDPSQL-00001BDC-0000:" 995(The I/O operation has been aborted because of either a thread exit or an application request.). BACKUP DATABASE is terminating abnormally.
&lt;/pre&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Notes &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;#xA0;1) Likely SQL Server has run out of large memory blocks to allocate to the backup/restore process&lt;/p&gt;
&lt;p&gt;&amp;#xA0;2) Monitor the memory usage pattern over time, with and without SQL Backup running. The numbers to look out for are the 'free' memory values&lt;/p&gt;
&lt;p&gt;3) When a &lt;a href="http://www.sqlserver-dba.com/backup-and-restore/" target="_self" title="SQL Server backup"&gt;SQL Server backup &lt;/a&gt;fails due to the lack of a large enough contiguous block of free memory, SQL Backup automatically retries the backup using smaller MAXTRANSFERSIZE values, until it hits the minimum of 65536 bytes.&amp;#xA0;&lt;/p&gt;
&lt;p&gt;&amp;#xA0;4) Immediate but drastic action may include restart of the SQL Server Instance. Proceed with caution and double check there aren&amp;#x2019;t open transactions .&lt;/p&gt;
&lt;h2&gt;&amp;#xA0;&lt;strong&gt;See Also&lt;/strong&gt;
&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.sqlserver-dba.com/2011/06/sql-server-performance-memory-pressure-and-memory-usage.html" target="_self" title="SQL Server Performance ,memory pressure and memory usage "&gt;SQL Server Performance ,memory pressure and memory usage &lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;strong&gt;Author: Jack Vamvas (&lt;a href="http://www.sqlserver-dba.com"&gt;http://www.sqlserver-dba.com&lt;/a&gt;)&lt;/strong&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/cgiht9vVRUM" height="1" width="1"/&gt;</description><pubDate>Wed, 08 Feb 2012 09:27:40 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/not-enough-storage-is-available-to-complete-this-operation/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/not-enough-storage-is-available-to-complete-this-operation/</feedburner:origLink></item><item><title>SQL SERVER – Convert Subquery to CTE – SQL in Sixty Seconds #001 – Video</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/S_ZInLhYurk/</link><description>&lt;p&gt;&lt;img alt="" class="alignleft" height="108" src="http://www.pinaldave.com/bimg/60.jpg" width="153"&gt;SQL Server is ocean of information.. I believe if one starts learning today after 60 years he/she may be still learning the subject (there are always few exceptions)! Recently I published &lt;strong&gt;&lt;a href="http://bit.ly/sql-qa" target="_blank"&gt;SQL Server Questions and Answers&lt;/a&gt;&lt;/strong&gt; video tutorial, since the course is out, I have been receiving lots of request to share SQL Tips which are small and easy to digest.&lt;/p&gt;
&lt;p&gt;While writing SQL books with my co-authors &lt;a href="http://blogs.extremeexperts.com/" target="_blank"&gt;Vinod Kumar&lt;/a&gt; and &lt;a href="http://joes2pros.com" target="_blank"&gt;Rick Morelan&lt;/a&gt; we often come across very interesting and useful tips which we believe will be helpful to readers. Sometimes the tips are so small that we cannot find appropriate place for it in book. We call them &lt;em&gt;&lt;strong&gt;Sixty Seconds Tips&lt;/strong&gt;&lt;/em&gt;. The tips are so small that sometimes sixty seconds are too big for it. Keeping the notion of quick and easy tips &amp;#x2013; we have decided to come up with new series of SQL in Sixty Seconds. Every week we will post one small but useful video tip. We believe that &lt;em&gt;&lt;strong&gt;Sixty Seconds &lt;/strong&gt;&lt;/em&gt;is metaphor for&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;&lt;strong&gt; quick and easy tip.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I have seen many developers staying away from CTE (Common Table Expression), their excuse is that they do not know how to convert subquery to CTE or they think it is very complicated to do so. In very first episode of &lt;em&gt;&lt;strong&gt;SQL in Sixty Seconds&lt;/strong&gt;&lt;/em&gt; we will see how easily one can convert Subquery to CTE and CTE to Subquery.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://blog.sqlauthority.com/2012/02/08/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/"&gt;&lt;img alt="" src="http://img.youtube.com/vi/Z7VuYBXX2dg/2.jpg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;More on CTE:&lt;/strong&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2008/07/28/sql-server-simple-example-of-recursive-cte/" target="_blank"&gt;Simple Example of Recursive CTE&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2009/08/08/sql-server-multiple-cte-in-one-select-statement-query/" target="_blank"&gt;Multiple CTE in One SELECT Statement Query&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2011/05/10/sql-server-common-table-expression-cte-and-few-observation/" target="_blank"&gt;Common Table Expression (CTE) and Few Observation&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2009/06/23/sql-server-2005-2008-delete-duplicate-rows/" target="_blank"&gt;Delete Duplicate Rows&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2008/07/29/sql-server-sql-server-simple-example-of-recursive-cte-part-2-maxrecursion-prevent-cte-infinite-loop/" target="_blank"&gt;Simple Example of Recursive CTE &amp;#x2013; Part 2 &amp;#x2013; MAXRECURSION &amp;#x2013; Prevent CTE Infinite Loop&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2007/06/11/sql-server-2005-t-sql-paging-query-technique-comparison-over-and-row_number-cte-vs-derived-table/" target="_blank"&gt;T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) &amp;#x2013; CTE vs. Derived Table&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I encourage you to submit your ideas for SQL in Sixty Seconds. We will try to accommodate as many as we can.&lt;/p&gt;
&lt;p&gt;Reference:&amp;#xA0;&lt;strong&gt;Pinal Dave (&lt;a href="http://blog.sqlauthority.com/" target="_blank"&gt;http://blog.sqlauthority.com&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;
&lt;br&gt;Filed under: &lt;a href="http://blog.sqlauthority.com/category/database/"&gt;Database&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/tech/pinal-dave/"&gt;Pinal Dave&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/postaday/"&gt;PostADay&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql/"&gt;SQL&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-authority/"&gt;SQL Authority&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sql-in-sixty-seconds/"&gt;SQL in Sixty Seconds&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/tech/sql-scripts/"&gt;SQL Scripts&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-server/"&gt;SQL Server&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/"&gt;SQL Tips and Tricks&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sqlserver/"&gt;SQLServer&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/t-sql/"&gt;T SQL&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/video/"&gt;Video&lt;/a&gt;  &lt;a href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17245/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17245/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;amp;blog=668536&amp;amp;post=17245&amp;amp;subd=sqlauthority&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/S_ZInLhYurk" height="1" width="1"/&gt;</description><pubDate>Tue, 07 Feb 2012 19:30:58 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/</feedburner:origLink></item><item><title>What is the best Disaster Recovery Plan (DRP)?</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/lhiMl51fXtY/</link><description>&lt;p&gt;I am really surprised at how often that I see questions like this.&amp;#xA0; I have been answering a few questions on a few different forums and I see this more and more often.&amp;#xA0; Here is the quick answer: &amp;#xA0;I don&amp;#x2019;t know. &amp;#xA0;There really is no way to find the book answer to your question.&amp;#xA0; Disaster Recovery Plans (DRP) can be very deep or very cheap. I would hope that most people here have a basic DRP in one fashion or another.&amp;#xA0; This doesn&amp;#x2019;t mean that it will work, though. Heck, it doesn&amp;#x2019;t even mean that it will cover your database other than one or two specific disasters.&amp;#xA0; See, I think that a lot of people don&amp;#x2019;t realize that even RAID 5 can be considered part of your DRP.&amp;#xA0; Let think about this: A disaster is anything that could happen to your server that would cause it to be disrupted.&amp;#xA0; So with looking at this simple definition we can consider anything from a bad hard drive or a power supply going bad to an F-5 tornado ripping through your datacenter to be a disaster.&amp;#xA0; Fair enough?&amp;#xA0; Is the impact to end user of the database any more or any less depending on the cause of the outage?&amp;#xA0; End result is the database is down or it is not down.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&amp;#xA0;When you consider that something as simple as a power supply going bad can be a disaster for your database, your perspective may change.&amp;#xA0; Have you done anything to protect yourself from a bad hard drive or a bad power supply? &amp;#xA0;Consider the server class&amp;#xA0;of the machine that your SQL Server is on;&amp;#xA0;do you have multiple power supplies; do you have your data on some storage that will protect you from a single hard drive going bad?&amp;#xA0; If yes then you have at least started on the right foot.&amp;#xA0; There are levels of disasters. &amp;#xA0;Some are small and are easy to recover from, others are all out life changing events.&amp;#xA0; Yet when I see this question as often as I do I think we may have lost a bit of common sense.&amp;#xA0; If you are being asked to implement a Disaster Recovery Plan then you should have some sort of requirements around it.&amp;#xA0; More often than not, you didn&amp;#x2019;t get any requirements. What you got was a task and the people and or companies that rely on you expect that you are going to make the right decisions, to help them out of a sticky situation.&amp;#xA0; To have a effective DRP, you need to be able to understand what kind of disasters you are being asked to recover the database from so you can make a plan.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Your company needs to define Disaster.&amp;#xA0;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Let&amp;#x2019;s look at an example. Let&amp;#x2019;s say that your company contracts with a disaster recovery company. This hypothetical company (we will call it DR Vendor) charges your company to be &amp;#x201C;on-call&amp;#x201D;, but they provide a location that is different from your datacenter that is ready to be turned up with your data in just a few hours.&amp;#xA0; The only thing that DR Vendor requires is that you show up at the door with an authorized person and you have a backup in your hand.&amp;#xA0; Sounds pretty simple doesn&amp;#x2019;t it? But what happens if you have a internet connection go offline?&amp;#xA0; One would think that this could be really bad for a database that is serving up data to the internet.&amp;#xA0; &amp;#xA0;The website would be down, but is it worth turning up DR Vendor, for something that may be fixed in a short period of time?&amp;#xA0; But then again, how much time is considered a short period of time? &amp;#xA0;A small web store that does a few hundred thousand a year in sales may not have the same finical impact that a huge website like Amazon does if they were offline for an hour.&lt;br&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If your company does not know how to define a disaster than it is your job to ask them.&amp;#xA0; Present them with questions that will get you the information that you need. How long can you be down; how much data can you lose; what is considered down (is users can read, but not write to the database is that considered down)? &amp;#xA0;Then there is the most important question, what is the budget for your DRP?
&lt;/p&gt;
&lt;p&gt;So I present you with the question that we started with: &amp;#xA0;What is the best Disaster Recovery Plan?&amp;#xA0; I don&amp;#x2019;t know &amp;#x2013; you tell me, what do you require? Once you have the requirements you can now start to design the best plan for the disaster.&amp;#xA0; Once you have that documented, the rest becomes a matter of research to understand the potential solutions.&amp;#xA0; A recovery plan can be something as simple as a backup or as complex as a hot standby site. Common answers to most of the previous questions sound like, &amp;#x201C;we can never lose data&amp;#x201D; or &amp;#x201C;99.999 % uptime is the requirement&amp;#x201D;, or &amp;#x201C;we need to be able to bring our site up in seconds if natural disaster destroys our data center&amp;#x201D;.&amp;#xA0; But often those answers are slightly altered when the costs are reviewed. This brings me to the next discussion point.
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Does it meet common business logic?&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Some databases require strict uptime or zero data loss requirements. Think of the implications of a bank losing 15 minutes worth of data. Are these the same requirements that a local convince store has? I was sitting a local coffee store the other day and they were helping one customer about every 3 or 4 min.&amp;#xA0; Let&amp;#x2019;s say the average cup of joe is $4.00, so if there was an endless line of steady customers they would help about 20 people an hour, at $4.00 a coffee, they are looking at losing about $80.00 an hour, and that is if they could not serve any coffee at all. (This crosses the line into business continuation planning.) If they were to try to protect the business from 3 hours worth of down time we are talking about $240.00 worth of sales.&amp;#xA0; Sure they may upset some customers to the point they never come back, or they may miss the one customer that hour that is ordering for everyone in the office, but in general numbers, what is the potential loss to the potential cost?&amp;#xA0; However, what if that coffee shop is a national chain, and the corporate office goes offline and this caused everyone to stop taking orders for 3 hours? &amp;#xA0;At 1,000 stores we are talking almost $250,000.00.&amp;#xA0; Make sure the loss that you want to protect is logical to the business.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;At one point in time I was working with a client who was talking to me about another consultant who recommended a DRP.&amp;#xA0; The total cost was going to be close to $100,000. Well, depending on the company or organization that can be pretty affordable. But, the more I thought about it, I started to have questions.&amp;#xA0; When he told me the requirements were that his 2 gig database could be offline for up to a week without impacting revenue, all the sudden this $100,000 did not meet the business logic rule. The database requirements were light, and so light that a laptop could host the database.&amp;#xA0; This problem was solved by a simple backup schedule with tests that proved the database could be restored.&lt;br&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;SQL Server offers a variety of options to recover your data, or to make another copy of your data somewhere. These options come with different costs, not just financial in nature, and some of these costs are linked directly to performance.&amp;#xA0; The more information that you can supply or the more information you can get as a DBA, the better off you are going to be when you are faced with that disaster. &amp;#xA0;&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/chrisshaw.wordpress.com/768/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chrisshaw.wordpress.com/768/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=chrisshaw.wordpress.com&amp;amp;blog=3127866&amp;amp;post=768&amp;amp;subd=chrisshaw&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?a=ZIjN3WTvK3E:fWBg1syWI0U:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?a=ZIjN3WTvK3E:fWBg1syWI0U:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?i=ZIjN3WTvK3E:fWBg1syWI0U:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?a=ZIjN3WTvK3E:fWBg1syWI0U:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?d=qj6IDK7rITs"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/lhiMl51fXtY" height="1" width="1"/&gt;</description><pubDate>Tue, 07 Feb 2012 17:47:42 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/what-is-the-best-disaster-recovery-plan-drp/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/what-is-the-best-disaster-recovery-plan-drp/</feedburner:origLink></item><item><title>SQLPass Business Intelligence Virtual Chapter References and Slides</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/q5xBZEeCw4g/</link><description>&lt;div dir="ltr"&gt;
&lt;div&gt;&lt;span&gt;Thank you to everyone who attended my &lt;a href="http://bi.sqlpass.org/" target="_blank"&gt;SQLPass Business Intelligence Virtual Chapter webina&lt;/a&gt;r! I have lots of questions to follow up, from both during and after the event. Please watch this space for more responses to questions over the next few days, and I will try to ensure that I answer every question. The slides are at the bottom of this blog post.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I've provided references below to some of the Data Visualisation people and material that I mentioned today. I hope that these are useful to you.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="http://www.cs.umd.edu/~ben/" target="_blank"&gt;Ben Schneiderman&lt;/a&gt; - Ben's &lt;a href="http://faculty.washington.edu/jtenenbg/courses/360/f04/sessions/schneidermanGoldenRules.html" target="_blank"&gt;Eight Golden Rules of Interface Design&lt;/a&gt; is an interesting read. In the presentation, I refer to one of Schneiderman's essays, "&lt;a href="http://www2.sims.berkeley.edu/courses/is247/f05/readings/Shneiderman_EyesHaveIt_VL96.pdf" target="_blank"&gt;The Eyes have it.&lt;/a&gt;" The guideline is &lt;i&gt;summarise &lt;/i&gt;-&amp;gt; &lt;i&gt;zoom and filter&lt;/i&gt; -&amp;gt; &lt;i&gt;details-on-demand&lt;/i&gt;, and is known as the 'Visual Information-Seeking Mantra'.&amp;#xA0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="http://www.perceptualedge.com/about.php" target="_blank"&gt;Stephen Few&lt;/a&gt; - Stephen has written a number of books, which you can &lt;a href="http://www.perceptualedge.com/library.php" target="_blank"&gt;find at his site&lt;/a&gt; - there is a wealth of information there! If you're a fan of data visualisation, then you should consider his blog, &lt;a href="http://www.perceptualedge.com/" target="_blank"&gt;Perceptual Edge&lt;/a&gt;, a must-read. In particular, I'd like to shout out the following books:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.amazon.com/gp/product/0970601980?ie=UTF8&amp;amp;tag=perceedge-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0970601980" target="_blank"&gt;Now You See It&lt;/a&gt;&lt;span&gt;: Simple Visualization Techniques for Quantitative Analysis&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.amazon.com/gp/product/0596100167?ie=UTF8&amp;amp;tag=perceedge-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0596100167" target="_blank"&gt;Information Dashboard Design&lt;/a&gt;&lt;span&gt;&amp;#xA0;&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class="subheading"&gt;&lt;span&gt;&lt;a href="http://gladwell.com/" target="_blank"&gt;Malcolm Gladwell&lt;/a&gt; - Malcolm has a great deal of interesting things to say on a whole range of topics, and I'm never going to be able to introduce him properly.&amp;#xA0;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class="subheading"&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="subheading"&gt;&lt;span&gt;&lt;a href="http://en.wikipedia.org/wiki/Hans_Rosling" target="_blank"&gt;Hans Rosling&lt;/a&gt; - What I love about Rosling's work, is that he highlights health and social factors, poverty and health. This is data visualisation in action, to help people in poor circumstances - the sort of people who cannot always read what is written about them. He promotes a 'fact-based' world view on these issues. The YouTube video of Rosling's data visualisation is below, which was made by BBC4.&amp;#xA0;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span class="subheading"&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span class="subheading"&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span class="subheading"&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="subheading"&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;I should add that I'm not in any way associated with this video - but I get asked about it a lot, so I've embedded it here from YouTube.&amp;#xA0;&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;Here are the slides from today. I look forward to your comments, and I will answer the remaining questions in due course.&lt;/span&gt;&lt;br&gt;&lt;span&gt;&lt;br&gt;&lt;/span&gt;&lt;br&gt;&lt;span&gt;-J&lt;/span&gt;
&lt;/div&gt;
&lt;div id="__ss_11469486"&gt;
&lt;strong&gt;&lt;a href="http://www.slideshare.net/jenstirrup/sql-pass-business-intelligence-chapter-bi-and-data-viz-in-sql-server-2012" title="Sql pass business intelligence chapter bi and data viz in sql server 2012"&gt;Sql pass business intelligence chapter bi and data viz in sql server 2012&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;&lt;div&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/jenstirrup"&gt;Jennifer Stirrup&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img alt="" height="1" src="https://blogger.googleusercontent.com/tracker/414079309540634094-8818751957704686847?l=www.jenstirrup.com" width="1"&gt;&lt;/div&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?a=iiChNUzb5SM:GYhrLk5Y_PM:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?a=iiChNUzb5SM:GYhrLk5Y_PM:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?i=iiChNUzb5SM:GYhrLk5Y_PM:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?a=iiChNUzb5SM:GYhrLk5Y_PM:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?d=qj6IDK7rITs"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?a=iiChNUzb5SM:GYhrLk5Y_PM:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?i=iiChNUzb5SM:GYhrLk5Y_PM:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?a=iiChNUzb5SM:GYhrLk5Y_PM:4cEx4HpKnUU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?i=iiChNUzb5SM:GYhrLk5Y_PM:4cEx4HpKnUU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?a=iiChNUzb5SM:GYhrLk5Y_PM:63t7Ie-LG7Y"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/jenstirrup/FZfr?d=63t7Ie-LG7Y"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/jenstirrup/FZfr/~4/iiChNUzb5SM" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/q5xBZEeCw4g" height="1" width="1"/&gt;</description><pubDate>Tue, 07 Feb 2012 14:41:00 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/sqlpass-business-intelligence-virtual-chapter-references-and-slides/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/sqlpass-business-intelligence-virtual-chapter-references-and-slides/</feedburner:origLink></item><item><title>The Minimalist Guide to Database Administration</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/q2CmILZFSWQ/</link><description>&lt;div class="wp-caption alignleft" id="attachment_7601"&gt;
&lt;img alt="" class="size-medium wp-image-7601" height="187" src="http://thomaslarock.com/wp-content/uploads/2012/02/min-room-1-300x187.jpg?9d7bd4" title="min-room-1" width="300"&gt;&lt;p class="wp-caption-text"&gt;Your office should look like this.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Every great DBA I know is both driven AND lazy. They are driven to be as efficient as possible, so they can do less work. It&amp;#x2019;s a wonderful pair of personality traits to have as a DBA.&lt;/p&gt;
&lt;p&gt;The unfortunate part is that the more driven they are, the more efficient and lazier they get, which often results in their boss looking at them and saying &amp;#x201C;why am I paying you to just sit around?&amp;#x201D;. This results in many DBAs being dragged into administering other applications (like Sharepoint) because, hey, they run on databases too, right? &amp;#xA0;With you were sitting there looking like you weren&amp;#x2019;t doing anything it just made sense to give you extra work.&lt;/p&gt;
&lt;p&gt;I have listed seven items below that I believe are universal for anyone that has the letters &amp;#x201C;DBA&amp;#x201D; in their job description. Some DBAs need to be a part-time SAN admin, or VM admin, or know all about security, or Active Directory, or .NET. It differs from one shop to another. Whether it is day one or one hundred in your career as a DBA you need a guide that helps you stay focused on your core duties. That&amp;#x2019;s what I have created here. It is the Minimalist Guide to Database Administration, and my goal is to make sure that no matter what your level of efficiency and laziness you are able to focus on the bare essentials (the minimum) necessary to be&amp;#xA0;a rockstar DBA.&lt;/p&gt;
&lt;h3&gt;1. Backups&lt;/h3&gt;
&lt;p&gt;It&amp;#x2019;s simple, really: get them done.&lt;/p&gt;
&lt;p&gt;There really isn&amp;#x2019;t a lot to say here, but as a DBA your number one job is to ensure that you can recover data. You cannot recover data without having configured your database backups to happen. And while it is surprisingly easy to configure database backups and yet a shocking number of people &lt;a href="http://www.sqlservercentral.com/Forums/Topic560688-357-1.aspx"&gt;never bother&lt;/a&gt;. You can use custom scripts or maintenance plans to get the job done, just make sure you are getting them done. Grant Fritchey has an &lt;a href="http://www.simple-talk.com/sql/database-administration/sql-server-backup-and-restore-for-the-accidental-dba/"&gt;excellent article over at&amp;#xA0;Simple-Talk&lt;/a&gt; that I would recommend you read.&lt;/p&gt;
&lt;p&gt;In order to keep with the minimalist theme I am going to tell you to use backup compression (depends on your version). You can enable this at the instance level or as an option included within the backup command. This will help keep disk space to a minimum. Also, you need to talk with your business users to find out how often you need to do full backups, differential, and transaction log backups as well. My default choices were weekly full backups, nightly differential backups, and hourly transaction log backups. This was a good place to start and I could adjust as needed.&lt;/p&gt;
&lt;h3&gt;2. Only Be Alerted When Necessary&lt;/h3&gt;
&lt;p&gt;I&amp;#x2019;ve never been one to want to be alerted just for the sake of being alerted. It makes no sense to me to be paged at 11PM just to know that something successfully happened. I expect success, and would prefer to only be told about when something has failed. As far as failures go, I only want to be told about them when it is something for me to fix.&lt;/p&gt;
&lt;p&gt;&lt;img alt="" class="alignleft size-full wp-image-7603" height="216" src="http://thomaslarock.com/wp-content/uploads/2012/02/false-alarm.jpg?9d7bd4" title="false-alarm" width="214"&gt;When I only had a handful of servers under my care I had alerts for all sorts of things. I was even alerted to when a session had been blocked for more than five minutes. Sounds good, right? Sure, except then I would call the end user to inform them of the situation and ask them what they wanted me to do and I would usually get told &amp;#x201C;I dunno&amp;#x201D;. Well, OK then. If you don&amp;#x2019;t want, or know, what action I should take when you have such blocking, then why would I continue to want to alert myself about this activity?&lt;/p&gt;
&lt;p&gt;I wouldn&amp;#x2019;t. Neither should you. Only be alerted to the things you can take action upon immediately. Knowing your server CPU utilization is at 80% might sound like a nice thing, but tell me exactly what actions do you plan to take as a result? Now&amp;#x2026;tell me what actions you will take if you had over a dozen servers at the same time reporting more than 80% CPU utilization?&lt;/p&gt;
&lt;p&gt;At some point your reach is greater than all your available hands. Split out your alerts into those that are informational versus those that are actionable.&amp;#xA0;If they are not actionable then at some point you will simply turn a deaf ear to all alerts. That is not going to be good for anyone.&lt;/p&gt;
&lt;h3&gt;3. Automate&lt;/h3&gt;
&lt;p&gt;If you haven&amp;#x2019;t been automating any of your processes, get started. As you get more and more servers shoved your way you will find that automation will be your BFF. In my case I dove into &lt;a href="http://www.microsoft.com/en-us/server-cloud/system-center/operations-manager.aspx"&gt;Systems Center Operations Manager&lt;/a&gt;&amp;#xA0;(OpsMgr) as a way to automate a lot of the things I needed done. Once OpsMgr recognized that an instance of SQL was running on a server it would simply execute all the scripts I needed done for me. I could use OpsMgr for just about anything I dreamed up, including having it alert me if I had not taken a backup recently.&lt;/p&gt;
&lt;p&gt;There are many other ways to automate your systems, including the use of &lt;a href="http://technet.microsoft.com/en-us/scriptcenter/dd742419"&gt;Powershell&lt;/a&gt;, &lt;a href="http://thomaslarock.com/2010/05/sql-2008-central-management-server/"&gt;Central Management Servers and policy-based management&lt;/a&gt;, and even old-school &lt;a href="http://msdn.microsoft.com/en-us/library/ms162773.aspx"&gt;SQLCMD&lt;/a&gt;. Use whatever works best for you, but use something and get your stuff automated. Don&amp;#x2019;t wait until you have too many servers to manage before you start automating your processes. If you have more than one server under your care you should be automating things right now.&lt;/p&gt;
&lt;h3&gt;4. A DBA Has Got to Have Standards&lt;/h3&gt;
&lt;p&gt;You want to have a standard build and configuration for your database servers. It makes troubleshooting much easier when you know that each server is essentially similar to all the others. The fewer of those servers classified as &amp;#x201C;one offs&amp;#x201D;, the better it is for you and ultimately for your end users that need you to solve problems quickly.&lt;/p&gt;
&lt;p&gt;Some of the things you want to have standard would include (but not limited to) the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;data and logs on&amp;#xA0;separate&amp;#xA0;disks&lt;/li&gt;
&lt;li&gt;authentication mode (pick one and use it everywhere, consistency is key)&lt;/li&gt;
&lt;li&gt;version level/patching&lt;/li&gt;
&lt;li&gt;naming standards&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;Those are just a few examples to get started. Your shop may focus in some particular area and you will probably want to have standards specific to that need. Whatever the standards you want, just get them written down and agreed upon and then make sure they are adhered to at all times. This is where automation comes in to help as well, you can build a set of scripts/policies to quickly check to see if any particular instance is not adhering to a defined standard.&lt;/div&gt;
&lt;h3&gt;5. Only Install What You Need&lt;/h3&gt;
&lt;p&gt;Another way to reduce your surface area of administration and troubleshooting is to only install the minimum services needed for your database servers. This has an added benefit of also&lt;/p&gt;
&lt;div class="wp-caption alignleft" id="attachment_7605"&gt;
&lt;img alt="" class="size-medium wp-image-7605" height="256" src="http://thomaslarock.com/wp-content/uploads/2012/02/core_installation-300x256.jpg?9d7bd4" title="core_installation" width="300"&gt;&lt;p class="wp-caption-text"&gt;Get used to these screens.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;reducing the surface area for an attacker, something your security folks would appreciate. A great way to get this done for SQL 2012 is to utilize &lt;a href="http://msdn.microsoft.com/en-us/library/hh231669(v=sql.110).aspx" target="_blank"&gt;Server Core&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What Server Core does for you is it&amp;#xA0;allows for you to have a &amp;#x201C;low-maintenance&amp;#x201D; environment. What that essentially means is that your server isn&amp;#x2019;t running any unnecessary software, including a GUI for you to use. That&amp;#x2019;s right, when you go Core you end up doing everything from a command line. It&amp;#x2019;s as if Microsoft looked at everyone and said &amp;#x201C;You like the Linux? Fine, here you go, enjoy!&amp;#x201D;&lt;/p&gt;
&lt;p&gt;As a DBA (for any platform), this makes perfect sense for you as it reduces the number of things you need to be an expert in and examine while troubleshooting. Don&amp;#x2019;t install&amp;#xA0;unnecessary&amp;#xA0;services and you won&amp;#x2019;t have to worry about them interfering with your database engine.&lt;/p&gt;
&lt;h3&gt;6. Restores&lt;/h3&gt;
&lt;p&gt;I told you that your number one job is to recover data, right? And you are doing your backups, right? OK, quick question for you: how do you know you can restore those backups? Is there a way for you to verify that your backup can be restored?&lt;/p&gt;
&lt;p&gt;Yes, there is, it is called a restore.&lt;/p&gt;
&lt;p&gt;That&amp;#x2019;s right. The only way to truly know if your backup can be restored is to actually perform a restore. This may not be practical for you, doing restores of thousands of databases each day in order to verify that they are valid. That&amp;#x2019;s why I wrote a post on how to &lt;a href="http://www.simple-talk.com/sql/database-administration/statistical-sampling-for-verifying-database-backups/" target="_blank"&gt;get the job done in an efficient, minimalist style&lt;/a&gt;. Turns out you may not need to do all of them after all, but you certainly do need to be testing &lt;em&gt;some&lt;/em&gt;&amp;#xA0;of them.&lt;/p&gt;
&lt;h3&gt;7. Moment of zen&lt;/h3&gt;
&lt;p&gt;Any time you hear about &amp;#x201C;minimalist&amp;#x201D; it is usually accompanied with the word &amp;#x201C;zen&amp;#x201D;. There&amp;#x2019;s something to be said for that with regards to being a DBA.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Don&amp;#x2019;t panic.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#x2019;s right, stay calm. Breathe deep. You don&amp;#x2019;t know everything. You will constantly be learning on the job. Never panic, no matter what. When everyone about you is losing their composure they will need someone to be a steady influence. Let that be you.&lt;/p&gt;
&lt;p&gt;In your career as a DBA you are going to be subjected to a lot of&amp;#xA0;stress&amp;#xA0;by others. Don&amp;#x2019;t let their negative energy become your burden.&lt;/p&gt;
&lt;p&gt;It will serve you well to remember that life is an experience, and there is much for everyone to learn.&lt;/p&gt;
&lt;p&gt;Also, stabbing people with a paper clip in the neck just annoys them more.&lt;/p&gt;
&lt;p&gt;Those are my seven bare essentials for any DBA, my &amp;#x201C;minimalist&amp;#x201D; guide. What would be in your guide? What tips and tricks have you learned to help yourself scale as a DBA, to be able to take on more and more responsibilities as you get more and more efficient? Start writing down your own guide and compare your list to mine. Did I capture the essentials? Did I include something that shouldn&amp;#x2019;t be there? Leave a comment.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;a href="http://thomaslarock.com/2012/02/the-minimalist-guide-to-database-administration/"&gt;The Minimalist Guide to Database Administration&lt;/a&gt; is a post from: &lt;a href="http://thomaslarock.com"&gt;SQLRockstar | Thomas LaRock&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Join Denny Cherry (&lt;a href="http://www.twitter.com/mrdenny"&gt;@mrdenny&lt;/a&gt;) and me for two days of SQL instruction, training, and wine tasting in the California sunshine &lt;a href="http://sqlexcursions.com/napa-2011-sign-up"&gt;this May for $799&lt;/a&gt;.
&lt;p&gt;&lt;/p&gt;

&lt;div class="shr-publisher-7561"&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div class="shareaholic-like-buttonset"&gt;
&lt;a class="shareaholic-fblike"&gt;&lt;/a&gt;&lt;a class="shareaholic-googleplusone"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/q2CmILZFSWQ" height="1" width="1"/&gt;</description><pubDate>Tue, 07 Feb 2012 12:00:00 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/the-minimalist-guide-to-database-administration/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/the-minimalist-guide-to-database-administration/</feedburner:origLink></item><item><title>Send email from Powershell with attachment</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/VNk3_M4zRsQ/</link><description>&lt;div&gt;
&lt;p&gt;This post&amp;#xA0; describes how to call&amp;#xA0; to add an email attachment using Powershell.&lt;/p&gt;
&lt;p&gt;In an earlier post - SQL Server &amp;#x2013; &lt;a href="http://www.sqlserver-dba.com/2012/01/sql-server-send-email-using-powershell.html" target="_self" title="SQL Server &amp;#x2013; Send email using Powershell"&gt;Send email using Powershell &lt;/a&gt;&amp;#x2013; the new-object Net.Mail.SmtpClient() Class was used.&lt;/p&gt;
&lt;p&gt;To add an email attachment , use New-Object System.Net.Mail.MailMessage and New-Object System.Net.Mail.Attachment, which are part of the .Net Framework&lt;/p&gt;
&lt;p&gt;The example script includes creating the variables, the function and calling the function .&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;$emailFrom = "jvamvas@sqlserver-dba.com"
$emailTo = "jvamvas@sqlserver-dba.com"
$subject = "SQLServer-DBA.com: Powershell Function calling an SMTP server with attachment"
$body = "SQLServer-DBA.com : Send an email through SMTP in Powershell with attachment "
$smtpServer = "mysmtpserver"
$filePath = "C:\sql_server_health_sqlserver_jobs_2012-02.html"


Function sendEmail([string]$emailFrom, [string]$emailTo, [string]$subject,[string]$body,[string]$smtpServer,[string]$filePath)
{
#initate message
$email = New-Object System.Net.Mail.MailMessage 
$email.From = $emailFrom
$email.To.Add($emailTo)
$email.Subject = $subject
$email.Body = $body
# initiate email attachment 
$emailAttach = New-Object System.Net.Mail.Attachment $filePath
$email.Attachments.Add($emailAttach) 
#initiate sending email 
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($email)
}

#Call Function 
sendEmail $emailFrom $emailTo $subject $body $smtpServer $filePath

&lt;/pre&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;
&lt;p&gt;See Also&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sqlserver-dba.com/2011/07/powershell-run-script-on-all-sql-servers.html" target="_self" title="Send email from Powershell with attachment "&gt;Powershell - run script on all sql servers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Author: Jack Vamvas (&lt;a href="http://www.sqlserver-dba.com"&gt;http://www.sqlserver-dba.com&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/VNk3_M4zRsQ" height="1" width="1"/&gt;</description><pubDate>Tue, 07 Feb 2012 09:10:07 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/send-email-from-powershell-with-attachment/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/send-email-from-powershell-with-attachment/</feedburner:origLink></item><item><title>Arithmetic Overflow in sp_MSarticle_validation</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/j8BLWMpuCqs/</link><description>&lt;p&gt;This is probably a rare occurrence&amp;#xA0;&amp;#x2014; but I've noticed that data validation for an article with 10 billion or more rows will fail due to an arithmetic overflow error in &lt;a href="http://www.g-productions.nl/index.php?name=sp_MSarticle_validation&amp;amp;version=2008RTM" rel="nofollow" target="_blank" title="sp_MSarticle_validation"&gt;&lt;em&gt;sp_MSarticle_validation&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Performing data validation for a specific article in a transactional publication is done using &lt;em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms177511.aspx" rel="nofollow" target="_blank" title="sp_article_validation"&gt;sp_article_validation&lt;/a&gt;&lt;/em&gt; which in turn calls &lt;em&gt;sp_MSarticle_validation&lt;/em&gt;.&amp;#xA0; In the definition of &lt;em&gt;sp_MSarticle_validation&lt;/em&gt;, a local variable named &lt;strong&gt;@actual_rowcount&lt;/strong&gt; is defined which is of the type &lt;strong&gt;bigint&lt;/strong&gt;.&amp;#xA0; Later on in &lt;em&gt;sp_MSarticle_validation&lt;/em&gt;, a command is built to execute &lt;em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms176092.aspx" rel="nofollow" target="_blank" title="sp_table_validation"&gt;sp_table_validation&lt;/a&gt;&lt;/em&gt; and the &lt;strong&gt;@expected_rowcount&lt;/strong&gt; parameter passed in is derived by converting &lt;strong&gt;@actual_rowcount&lt;/strong&gt; to a &lt;strong&gt;varchar(10)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The offending statement can be observed in the following code snippet from &lt;em&gt;sp_MSarticle_validation&lt;/em&gt;:&lt;/p&gt;

&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="brush:tsql"&gt;select @command = 'exec dbo.sp_table_validation @table = ''' + replace(@destination_table, '''', '''''')  + ''', @expected_rowcount = ' +
	        convert(varchar(10), @actual_rowcount) + ', @expected_checksum = ' +
	        convert(varchar(100), @actual_checksum) + ', @rowcount_only = ' + convert(varchar(5),@rowcount_only) +
	        ', @full_or_fast = ' + convert(varchar(10), @full_or_fast) +
	        ', @shutdown_agent = ' + convert(varchar(10), @shutdown_agent)&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&amp;#xA0;&lt;br&gt;
Considering &lt;strong&gt;@actual_rowcount&lt;/strong&gt; is a &lt;strong&gt;bigint&lt;/strong&gt;, it should be converted to a &lt;strong&gt;varchar(19)&lt;/strong&gt;, rather than a &lt;strong&gt;varchar(10)&lt;/strong&gt;.&amp;#xA0; This is where an arithmetic overflow error occurs when validating an article that has 10 billion or more rows, causing validation to fail.&lt;/p&gt;
&lt;p&gt;If you find yourself needing to validate an article with 10 billion or more rows, please &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/723133/arithmetic-overflow-in-sp-msarticle-validation" rel="nofollow" target="_blank" title="Microsoft Connect"&gt;vote this item as important&lt;/a&gt; to expedite a fix.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SAsfwCKaaMzKYsbwmUgbs_6rZGc/0/da"&gt;&lt;img border="0" ismap src="http://feedads.g.doubleclick.net/~a/SAsfwCKaaMzKYsbwmUgbs_6rZGc/0/di"&gt;&lt;/a&gt;&lt;br&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SAsfwCKaaMzKYsbwmUgbs_6rZGc/1/da"&gt;&lt;img border="0" ismap src="http://feedads.g.doubleclick.net/~a/SAsfwCKaaMzKYsbwmUgbs_6rZGc/1/di"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=2aKkxGBu-x4:Th5Ch6REjTk:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=2aKkxGBu-x4:Th5Ch6REjTk:3QFJfmc7Om4"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=2aKkxGBu-x4:Th5Ch6REjTk:dnMXMwOfBR0"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?d=dnMXMwOfBR0"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=2aKkxGBu-x4:Th5Ch6REjTk:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=2aKkxGBu-x4:Th5Ch6REjTk:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=2aKkxGBu-x4:Th5Ch6REjTk:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=2aKkxGBu-x4:Th5Ch6REjTk:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=2aKkxGBu-x4:Th5Ch6REjTk:gIN9vFwOqvQ"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?i=2aKkxGBu-x4:Th5Ch6REjTk:gIN9vFwOqvQ"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/sqlrepl?a=2aKkxGBu-x4:Th5Ch6REjTk:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/sqlrepl?d=yIl2AUoC8zA"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/sqlrepl/~4/2aKkxGBu-x4" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/j8BLWMpuCqs" height="1" width="1"/&gt;</description><pubDate>Mon, 06 Feb 2012 23:49:31 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/arithmetic-overflow-in-sp_msarticle_validation/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/arithmetic-overflow-in-sp_msarticle_validation/</feedburner:origLink></item><item><title>February 2012 – Monthly SQL Server Checklist</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/x6N6fORiJQ8/</link><description>&lt;p&gt;&lt;a href="http://www.flickr.com/photos/alancleaver/4439276478/"&gt;&lt;img align="right" alt="4439276478_8bb7a50ab8_m" border="0" height="164" src="http://www.jasonstrate.com/wp-content/uploads/2011/06/4439276478_8bb7a50ab8_m.jpg" title="4439276478_8bb7a50ab8_m" width="244"&gt;&lt;/a&gt; It&amp;#x2019;s the first Monday of February, mostly, it&amp;#x2019;s a short month, but there&amp;#x2019;s no reason to skirt on checking out your SQL Servers.&amp;#xA0; &lt;/p&gt;
&lt;p&gt;If you made a resolution to check up on your servers for new years, are you keeping up?&amp;#xA0; Did you find the time in January?&amp;#xA0; If not, make the time today and find out the state of the state for your environment.&amp;#xA0; &lt;/p&gt;
&lt;p&gt;As &lt;a href="http://www.jasonstrate.com/2011/06/june-monthly-sql-server-checklist/"&gt;has been said before&lt;/a&gt;, the premise of these posts is to help DBAs maintain their environments by getting together a monthly checklist for their environments.&amp;#xA0; Followed by going through and evaluating the SQL Server environment. There aren&amp;#x2019;t many any changes to this month&amp;#x2019;s list, there haven&amp;#x2019;t been &lt;a href="http://blogs.msdn.com/b/sqlreleaseservices/"&gt;any CUs or SPs since last year&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Monthly Checklist&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Backup Validation: &lt;/strong&gt;Check everything involved in the backup process.&amp;#xA0; Are your backups executing as desired?&amp;#xA0; Are the monitoring jobs properly alerting to failures?&amp;#xA0; Have their been any unexpected failures?&amp;#xA0; Have backup duration times changed? &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery Validation: &lt;/strong&gt;Is everything for your recovery collected and being backed up?&amp;#xA0; Have you practiced restoring at least one of your SQL Server databases from production in the last month? &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQL Server Updates:&lt;/strong&gt; Is your SQL Server environment up-to-date?&amp;#xA0; Check each of your instances and review the most recent &lt;a href="http://blogs.msdn.com/b/sqlreleaseservices/"&gt;releases of SQL Server&lt;/a&gt;.&amp;#xA0; Make a plan to determine when the most recent updates will be applied.&amp;#xA0; Also, be aware that &lt;a href="http://support.microsoft.com/lifecycle/search/default.aspx?sort=PN&amp;amp;alpha=SQL+Server&amp;amp;Filter=FilterNO"&gt;support for SQL Server&lt;/a&gt; releases do end at some point.&amp;#xA0; Support for the version of SQL Server that you are currently using may no longer be supported.
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=28145"&gt;SQL Server 2012 RC0&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://support.microsoft.com/kb/2591748"&gt;SQL Server 2008 R2 SP 1 CU3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=26727"&gt;SQL Server 2008 R2 SP 1&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://support.microsoft.com/kb/2591746"&gt;SQL Server 2008 R2 CU 10&lt;/a&gt; &amp;#x2013; &lt;strong&gt;&lt;span&gt;Support ends 7/10/2012&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://blogs.msdn.com/b/sqlreleaseservices/archive/2011/11/21/cumulative-update-2-for-sql-server-2008-service-pack-3.aspx"&gt;SQL Server 2008 SP 3 CU 2&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=27594"&gt;SQL Server 2008 SP 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://support.microsoft.com/kb/2617148"&gt;SQL Server 2008 SP 2 CU 7&lt;/a&gt;- &lt;strong&gt;&lt;span&gt;Support ends 10/9/2012&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=12548"&gt;SQL Server 2008 SP 2&lt;/a&gt; &amp;#x2013; &lt;strong&gt;&lt;span&gt;Support ends 10/9/2012&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://blogs.msdn.com/b/sqlreleaseservices/archive/2011/09/19/cumulative-update-16-for-sql-server-2008-service-pack-1.aspx"&gt;SQL Server 2008 SP 1 CU 16&lt;/a&gt; &amp;#x2013; &lt;strong&gt;&lt;span&gt;Support ends 10/11/2011&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=20302"&gt;SQL Server 2008 SP 1&lt;/a&gt; &amp;#x2013; &lt;strong&gt;&lt;span&gt;Support ends 10/11/2011&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://support.microsoft.com/kb/979064"&gt;SQL Server 2008 CU 10&lt;/a&gt; &amp;#x2013; &lt;strong&gt;&lt;span&gt;Support ended 4/13/2010&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://support.microsoft.com/kb/2507769"&gt;SQL Server 2005 SP 4 CU 3&lt;/a&gt; &amp;#x2013; &lt;strong&gt;&lt;span&gt;Mainstream support ended 4/12/2011&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;
&lt;span&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=7218"&gt;SQL Server 2005 SP 4&lt;/a&gt; &amp;#x2013; &lt;strong&gt;Mainstream support ended 4/12/2011&lt;/strong&gt;&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server Health:&lt;/strong&gt; Check the performance statistics for your server(s).&amp;#xA0; Were there any unexpected items in your event log?&amp;#xA0; How does everything compare to the last baseline? &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database Health:&lt;/strong&gt;Check the performance statistics for your database(s). Were there any unexpected items in your SQL Server logs?
&lt;ol&gt;
&lt;li&gt;Check &lt;a href="http://www.jasonstrate.com/tag/wait-stat/"&gt;wait stats&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.jasonstrate.com/2010/11/return-of-the-index-analysis-report/"&gt;Analyze your indexes&lt;/a&gt; (via &lt;a href="http://indexanalysis.codeplex.com/"&gt;IndexAnalysis&lt;/a&gt;) &lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check Baselines: &lt;/strong&gt;Are there any variances on the performance counters off of the baseline?&amp;#xA0; Is the baseline still valid? &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validate Capacity Plan: &lt;/strong&gt;If you have a capacity plan in place for your environment, check to see that what you had planned for June matches the actuals.&amp;#xA0; Any threshold violations that may require adding capacity? &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Status Report: &lt;/strong&gt;What do you need to get done before next month?&amp;#xA0; What did you get done this month?&amp;#xA0; After the other tasks, write this all down and send it to your manager. &lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Something Missing?&lt;/h1&gt;
&lt;p&gt; Is there something missing in this list that you think should be included?&amp;#xA0; Leave a comment and I&amp;#x2019;ll add it in for next month.&amp;#xA0; I&amp;#x2019;ll follow-up next month on the first Monday of the month and we&amp;#x2019;ll see how everyone that reads this is doing.&lt;/p&gt;
&lt;p&gt;Related posts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.jasonstrate.com/2012/01/january-2012-monthly-sql-server-checklist/" rel="bookmark" title="January 2012 &amp;#x2013; Monthly SQL Server Checklist"&gt;January 2012 &amp;#x2013; Monthly SQL Server Checklist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jasonstrate.com/2011/12/december-monthly-sql-server-checklist/" rel="bookmark" title="December Monthly SQL Server Checklist"&gt;December Monthly SQL Server Checklist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jasonstrate.com/2011/09/september-monthly-sql-server-checklist/" rel="bookmark" title="September Monthly SQL Server Checklist"&gt;September Monthly SQL Server Checklist&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=hDqDpDZ4Ps4:-_AliEGO_UQ:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?i=hDqDpDZ4Ps4:-_AliEGO_UQ:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=hDqDpDZ4Ps4:-_AliEGO_UQ:clraHZBW0_I"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?d=clraHZBW0_I"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=hDqDpDZ4Ps4:-_AliEGO_UQ:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?i=hDqDpDZ4Ps4:-_AliEGO_UQ:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=hDqDpDZ4Ps4:-_AliEGO_UQ:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/StrateSqlSyndication?a=hDqDpDZ4Ps4:-_AliEGO_UQ:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/StrateSqlSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/x6N6fORiJQ8" height="1" width="1"/&gt;</description><pubDate>Mon, 06 Feb 2012 22:00:00 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/february-2012-monthly-sql-server-checklist/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/february-2012-monthly-sql-server-checklist/</feedburner:origLink></item><item><title>Workaround for “Could not update a list of fields for the query” error in SSRS</title><link>http://feedproxy.google.com/~r/sqlserverpedia/~3/7Bfrs7AUbig/</link><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Summary:&lt;/em&gt;&lt;/strong&gt;&amp;#xA0; A quick workaround for an intermittent SQL Server Reporting Services error.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Level:&lt;/em&gt;&lt;/strong&gt;&amp;#xA0; 101&lt;/p&gt;
&lt;h2&gt;Reporting Services Error&lt;/h2&gt;
&lt;p&gt;The error I received is:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Could not update a list of fields for the query.&amp;#xA0; Verify that you can connect to the data source and that your query syntax is correct.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I received this error sometimes after updating the dataset (with the preview of the query running fine), at the point when I clicked OK to save the dataset changes.&amp;#xA0; In my situation the data source was an Analysis Services cube (SQL Server 2008 R2).&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; &lt;a href="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450842" rel="lightbox"&gt;&lt;img alt="image" border="0" height="267" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450844" title="image" width="521"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;Since I started using this method, I haven&amp;#x2019;t seen the error.&lt;/p&gt;
&lt;p&gt;1.&amp;#xA0; Go to &lt;strong&gt;Dataset Properties&lt;/strong&gt;.&amp;#xA0; (Specifically&amp;#x2026;do &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt;&amp;#xA0; jump directly to the Query.)&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; &lt;a href="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450845" rel="lightbox"&gt;&lt;img alt="image" border="0" height="279" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450846" title="image" width="300"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;#xA0; Select the &lt;strong&gt;Query Designer&lt;/strong&gt; button.&amp;#xA0; (Yes, it&amp;#x2019;s an extra click, I know.)&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; &lt;a href="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450847" rel="lightbox"&gt;&lt;img alt="image" border="0" height="568" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450848" title="image" width="482"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;#xA0; Update your query.&amp;#xA0; Click OK within the Query Designer.&lt;/p&gt;
&lt;p&gt;4.&amp;#xA0; Click the&lt;strong&gt; Refresh Fields&lt;/strong&gt; button, and then OK.&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; &lt;a href="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450849" rel="lightbox"&gt;&lt;img alt="image" border="0" height="573" src="http://www.sqlchick.com/resource/Windows-Live-Writer-Workaround-for-Could-not-update-a-list-o_11D27-?fileId=16450851" title="image" width="486"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#x2019;s it.&amp;#xA0; I haven&amp;#x2019;t had any trouble since I started accessing and saving the query &amp;#x201C;the long way&amp;#x201D; and now it&amp;#x2019;s just habit.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=-fmrj82BB7Y:-rbULORVJAs:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=-fmrj82BB7Y:-rbULORVJAs:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?i=-fmrj82BB7Y:-rbULORVJAs:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?a=-fmrj82BB7Y:-rbULORVJAs:7Q72WNTAKBA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlChick-MelissaCoates?d=7Q72WNTAKBA"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/SqlChick-MelissaCoates/~4/-fmrj82BB7Y" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/sqlserverpedia/~4/7Bfrs7AUbig" height="1" width="1"/&gt;</description><pubDate>Mon, 06 Feb 2012 19:29:16 -0600</pubDate><guid isPermaLink="false">http://pulse.sqlserverpedia.com/blog/workaround-for-could-not-update-a-list-of-fields-for-the-query-error-in-ssrs/</guid><feedburner:origLink>http://pulse.sqlserverpedia.com/blog/workaround-for-could-not-update-a-list-of-fields-for-the-query-error-in-ssrs/</feedburner:origLink></item></channel></rss>

