<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Journey to SQL Authority with Pinal Dave</title>
	<atom:link href="http://blog.sqlauthority.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 01:30:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blog.sqlauthority.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com</link>
	</image>
			<item>
		<title>SQLAuthority News &#8211; SQL Server 2008 for Oracle DBA</title>
		<link>http://blog.sqlauthority.com/2009/11/21/sqlauthority-news-sql-server-2008-for-oracle-dba/</link>
		<comments>http://blog.sqlauthority.com/2009/11/21/sqlauthority-news-sql-server-2008-for-oracle-dba/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:30:19 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7187</guid>
		<description><![CDATA[This 15 modules, level 300 course provides students with the knowledge and skills to capitalize on their skills and experience as an Oracle DBA to manage a Microsoft SQL Server 2008 system. This workshop provides a quick start for the Oracle DBA to map, compare, and contrast the realm of Oracle database management to SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7187&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">This 15 modules, level 300 course provides students with the knowledge and skills to capitalize on their skills and experience as an Oracle DBA to manage a Microsoft SQL Server 2008 system. This workshop provides a quick start for the Oracle DBA to map, compare, and contrast the realm of Oracle database management to SQL Server database management.</p>
<p style="text-align:justify;"><a id="ctl00_mainContentContainer_ctl02" href="http://technet.microsoft.com/en-us/sqlserver/dd535524.aspx">Module 1: Database and Instance</a><br />
<a id="ctl00_mainContentContainer_ctl03" href="http://technet.microsoft.com/en-us/sqlserver/dd537577.aspx">Module 2: Database Architecture</a><br />
<a id="ctl00_mainContentContainer_ctl04" href="http://technet.microsoft.com/en-us/sqlserver/dd542622.aspx">Module 3: Instance Architecture</a><br />
<a id="ctl00_mainContentContainer_ctl05" href="http://technet.microsoft.com/en-us/sqlserver/dd542624.aspx">Module 4: Data Objects</a><br />
<a id="ctl00_mainContentContainer_ctl06" href="http://technet.microsoft.com/en-us/sqlserver/dd542626.aspx">Module 5: Data Access</a><br />
<a id="ctl00_mainContentContainer_ctl07" href="http://technet.microsoft.com/en-us/sqlserver/dd542627.aspx">Module 6: Data Protection</a><br />
<a id="ctl00_mainContentContainer_ctl08" href="http://technet.microsoft.com/en-us/sqlserver/dd547093.aspx">Module 7: Basic Administration</a><br />
<a id="ctl00_mainContentContainer_ctl09" href="http://technet.microsoft.com/en-us/sqlserver/dd547406.aspx">Module 8: Server Management</a><br />
<a id="ctl00_mainContentContainer_ctl10" href="http://technet.microsoft.com/en-us/sqlserver/dd547109.aspx">Module 9: Managing Schema Objects</a><br />
<a id="ctl00_mainContentContainer_ctl11" href="http://technet.microsoft.com/en-us/sqlserver/dd547407.aspx">Module 10: Database Security</a><br />
<a id="ctl00_mainContentContainer_ctl12" href="http://technet.microsoft.com/en-us/sqlserver/dd547418.aspx">Module 11: Data Transport</a><br />
<a id="ctl00_mainContentContainer_ctl13" href="http://technet.microsoft.com/en-us/sqlserver/dd547419.aspx">Module 12: Backup and Recovery</a><br />
<a id="ctl00_mainContentContainer_ctl14" href="http://technet.microsoft.com/en-us/sqlserver/dd547420.aspx">Module 13: Performance Tuning</a><br />
<a id="ctl00_mainContentContainer_ctl15" href="http://technet.microsoft.com/en-us/sqlserver/dd547424.aspx">Module 14: Scalability and High Availability</a><br />
<a id="ctl00_mainContentContainer_ctl16" href="http://technet.microsoft.com/en-us/sqlserver/dd547425.aspx">Module 15: Monitoring</a></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>),</strong></p>
Posted in Database, DBA, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority News, T SQL, Technology Tagged: Learning, MySQL, Oracle <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7187&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/21/sqlauthority-news-sql-server-2008-for-oracle-dba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Book Review &#8211; Expert SQL Server 2008 Encryption by Michael Coles</title>
		<link>http://blog.sqlauthority.com/2009/11/20/sqlauthority-news-book-review-expert-sql-server-2008-encryption-by-michael-coles/</link>
		<comments>http://blog.sqlauthority.com/2009/11/20/sqlauthority-news-book-review-expert-sql-server-2008-encryption-by-michael-coles/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 01:30:03 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Book Review]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Server Encryption]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7382</guid>
		<description><![CDATA[Expert SQL Server 2008 Encryption (Paperback)
Michael Coles (Author), Rodney Landrum (Author)


Link to Amazon
“What is your opinion on encryption? What I mean is: In a world filled with data, how do you see encryption?” This is the precise question Michael Coles posed to me on March 3rd of this year, while we were heading to Starbucks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7382&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;"><strong>Expert SQL Server 2008 Encryption (Paperback)</strong><br />
<em>Michael Coles (Author), Rodney Landrum (Author)</em></p>
<p style="text-align:justify;"><em><img class="alignnone" src="http://www.pinaldave.com/bimg/encryptionbook.gif" alt="" width="272" height="359" /><br />
</em></p>
<p style="text-align:justify;"><strong><a href="http://www.amazon.com/dp/1430224649/" target="_blank">Link to Amazon</a></strong></p>
<p style="text-align:justify;">“What is your opinion on encryption? What I mean is: In a world filled with data, how do you see encryption?” This is the precise question Michael Coles posed to me on March 3<sup>rd</sup> of this year, while we were heading to Starbucks in Seattle. We were both attending the Microsoft MVP Summit there.</p>
<p style="text-align:justify;">In the information era, security has become one of the most vital aspects of life. Although the topic may seem a little mundane, its importance cannot be overemphasized. It is the pillar of the information age and I shudder to think where we would be without it. We don’t leave our houses unlocked and risk thieves or opportunists taking off with our valuables. We also often take precautions, not only to preserve the precious, but also to avoid the sheer hassle of replacement and misuse. So too it should be with our information.</p>
<p style="text-align:justify;">Encryption’s roots are extremely old and it has resolved numerous security problems over the years. In days gone by, couriers were entrusted with letters sealed with a royal wax stamp. If on delivery, the seal was broken, it was obvious that there had been a security breach. This very concept evolved as CRC checksum and developed into a complex algorithm.  While CRC checksum alerted the end user to the fact that content had been modified, its limitation was that it allowed manipulation of the content to occur in the first place. With encryption, only the authenticated owner can access and modify content.</p>
<p style="text-align:justify;">In response to Michael’s question, I began to tell him what I knew about public and private keys. He looked at me doubtfully and asked me directly if I had ever used encryption in my career. My reluctant answer to this was “No”. He strongly suggested that I not underestimate its capabilities and explore its possibilities. I took his advice and have since implemented encryption for many of my clients, who are now far safer from unauthorized access to data.</p>
<p style="text-align:justify;">To be very honest, in my experience, not many people know much about the subject beyond a little about public and private keys.  You do not often find experts discussing symmetric and asymmetric keys, which are just the tip of the iceberg. SQL Server has come a long way with regard to security. Encryption has taken on a whole new meaning in SQL Server 2008. There are many new features such as Extensible Key Management, Transparent Data Encryption, not to mention the pre-2008 ones such as cryptographic hashing, SQL CLR and many more. In performance terms, these are great enhancements.</p>
<p style="text-align:justify;">The one exception is Transparent Data Encryption, where the whole database is encrypted. This can considerably reduce performance if the SQL Server box is not sufficiently powerful. It this is the case, it is a good time to offload all the encryption and decryption to third-party hardware. SQL Server allows third-party management of encryption and decryption through Extensible Key Management.</p>
<p style="text-align:justify;">Extending the earlier courier analogy, consider the fact that even if our letter is secure and safe in our hands, as soon as we hand it to the courier it is exposed to risk and can be compromised. SQL Server 2008 has many new features, which secure data while it is being communicated between applications. A number of features were introduced that check whether data is manipulated during transmission.</p>
<p style="text-align:justify;">Data is everywhere and taking in terms of Terra Bytes (TB) is the current reality. When a large amount of data needs to be handled, there are two major challenges. The first challenge is the actual encryption process and the resources needed to perform it. The second challenge is how to use the data once it has been encrypted.  In a regular database searching through TBs of data can take a very long time. Imagine how long this could take in and encrypted database?</p>
<p style="text-align:justify;">In Seattle, Michael and I discussed these challenges and a few more subjects. The discussion lasted more than four hours. I have always known Michael to be an excellent author. He is renowned in the industry for his expertise of XML and Full Text Search. To my mind, he is an expert who has the extraordinary ability of relating complex concepts in simple terms. No matter how long, boring or complicated the topic, his delivery is always sweet, like chocolate that melts in the mouth.</p>
<p style="text-align:justify;">Michael always addresses uncommon subjects. Perhaps his experience as a Sergeant in the army has given him the spirit to explore the unexplored.  I have never before encountered a single book on the subject of encryption for SQL Server and Michael’s will a “first”.</p>
<p style="text-align:justify;">I recently had the pleasure of reading it and especially like the manner in which he and his co-author, Rodney, explain the significance of encryption. While many of the concepts covered are domain-specific, quite a few topics are common to all and the appendix is a “must read” for anyone planning a security strategy. One thing that really makes this book special is the fact that each module is written independently and you can find solutions by simply reading the relevant one.</p>
<p style="text-align:justify;">I am a hands-on developer and only like books that have a lot of workable examples. With the exception of the first chapter, the book is filled with examples and hands-on experiments. The first chapter in itself is quite unique, as it not only provides a introduction to encryption, but also the very interesting history of encryption.  Even non-technical readers will enjoy this.</p>
<p style="text-align:justify;"><strong>Summary:</strong><br />
It is my great pleasure to welcome this one-of-a- kind book to the SQL Server world. There is no doubt that this book is exceptional and will inspire anyone one who is ready to take their current security mechanism to the next level using encryption.</p>
<p style="text-align:justify;"><strong>Stars : 5 Stars</strong></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority Book Review, SQLAuthority News, SQLServer, T SQL, Technology Tagged: SQL Server Encryption <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7382&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/20/sqlauthority-news-book-review-expert-sql-server-2008-encryption-by-michael-coles/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/encryptionbook.gif" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Understanding Table Hints with Examples</title>
		<link>http://blog.sqlauthority.com/2009/11/19/sql-server-understanding-table-hints-with-examples/</link>
		<comments>http://blog.sqlauthority.com/2009/11/19/sql-server-understanding-table-hints-with-examples/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 01:30:41 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Joins]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7113</guid>
		<description><![CDATA[Introduction
Today we have a very interesting subject to look at. I tried to look for help online but have not found any other documentation besides what we have from the Book Online.
Let us try to understand what are the different kinds of hints available in SQL Server and how they are helpful.
What is a Hint?
Hints [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7113&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3 style="text-align:justify;">Introduction</h3>
<p style="text-align:justify;">Today we have a very interesting subject to look at. I tried to look for help online but have not found any other documentation besides what we have from the Book Online.</p>
<p style="text-align:justify;">Let us try to understand what are the different kinds of hints available in SQL Server and how they are helpful.</p>
<h3 style="text-align:justify;">What is a Hint?</h3>
<p style="text-align:justify;"><em>Hints </em> are options and strong suggestions specified for enforcement by the SQL Server query processor on DML statements. The hints override any execution plan the query optimizer might select for a query.</p>
<p style="text-align:justify;">Before we continue to explore this subject, we need to consider one very important fact and say some words of caution. SQL Server Query optimizer is a very smart tool and it makes a best selection of execution plan. Suggesting hints to the Query Optimizer should be attempted when absolutely necessary and by experienced developers who know exactly what they are doing (or in development as a way to experiment and learn).</p>
<p style="text-align:justify;">There are three different kinds of hints. Let us understand the basics of each of them separately.</p>
<h4 style="text-align:justify;">Join Hint</h4>
<p style="text-align:justify;">This hint is used when more than one table is used in a query. Two or more tables can be joined using different kinds of joins. This hint forces the type of join algorithm that is used. Joins can be used in <code>SELECT</code>, <code>UPDATE </code> and <code>DELETE </code> statements.</p>
<h4 style="text-align:justify;">Query Hint</h4>
<p style="text-align:justify;">This hint is used when certain kind of logic has to be applied to a whole query. Any hint used in the query is applied to the complete query, as opposed to part of it. There is no way to specify that only a certain part of a query should be used with the hint. After any query, the <code>OPTION </code> clause is specified to apply the logic to this query. A query always has any of the following statements: <code>SELECT</code>, <code>UPDATE</code>, <code>DELETE</code>, <code>INSERT </code> or <code>MERGE </code> (SQL 2K8); and this hint can be applied to all of them.</p>
<h4 style="text-align:justify;">Table Hint</h4>
<p style="text-align:justify;">This hint is used when certain kind of locking mechanism of tables has to be controlled. SQL Server query optimizer always puts the appropriate kind of lock on tables, when any of the Transact SQL operations <code>SELECT</code>, <code>UPDATE</code>, <code>DELETE</code>, <code>INSERT </code> or <code>MERGE </code> are used. There are certain cases when the developer knows when and where to override the default behavior of the locking algorithm and these hints are useful in those scenarios.</p>
<p style="text-align:justify;">Let us run the following simple query with different kinds of query hints and observe the actual execution plan. The analysis of execution plan is not part of this article and will be covered in future.</p>
<div id="highlighter_563028" style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">/* No Query Hint */<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Production.Product </span><span style="color:blue;">AS </span><span style="color:black;">p<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">Sales.SalesOrderDetail </span><span style="color:blue;">AS </span><span style="color:black;">sod </span><span style="color:blue;">ON </span><span style="color:black;">p.ProductID </span><span style="color:blue;">= </span><span style="color:black;">sod.ProductID<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">Weight </span><span style="color:blue;">= </span><span style="color:black;">20.77<br />
GO<br />
</span><span style="color:green;">/* Merge Join Query Hint */<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Production.Product </span><span style="color:blue;">AS </span><span style="color:black;">p<br />
</span><span style="color:blue;">INNER </span><span style="color:black;">MERGE </span><span style="color:blue;">JOIN </span><span style="color:black;">Sales.SalesOrderDetail </span><span style="color:blue;">AS </span><span style="color:black;">sod </span><span style="color:blue;">ON </span><span style="color:black;">p.ProductID </span><span style="color:blue;">= </span><span style="color:black;">sod.ProductID<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">Weight </span><span style="color:blue;">= </span><span style="color:black;">20.77<br />
GO<br />
</span><span style="color:green;">/* Hash Join Query Hint */<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Production.Product </span><span style="color:blue;">AS </span><span style="color:black;">p<br />
</span><span style="color:blue;">INNER </span><span style="color:black;">HASH </span><span style="color:blue;">JOIN </span><span style="color:black;">Sales.SalesOrderDetail </span><span style="color:blue;">AS </span><span style="color:black;">sod </span><span style="color:blue;">ON </span><span style="color:black;">p.ProductID </span><span style="color:blue;">= </span><span style="color:black;">sod.ProductID<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">Weight </span><span style="color:blue;">= </span><span style="color:black;">20.77<br />
GO<br />
</span><span style="color:green;">/* Loop Join Query Hint */<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Production.Product </span><span style="color:blue;">AS </span><span style="color:black;">p<br />
</span><span style="color:blue;">INNER </span><span style="color:black;">LOOP </span><span style="color:blue;">JOIN </span><span style="color:black;">Sales.SalesOrderDetail </span><span style="color:blue;">AS </span><span style="color:black;">sod </span><span style="color:blue;">ON </span><span style="color:black;">p.ProductID </span><span style="color:blue;">= </span><span style="color:black;">sod.ProductID<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">Weight </span><span style="color:blue;">= </span><span style="color:black;">20.77<br />
GO<br />
</span><span style="color:green;">/* Remote Join Query Hint */<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Production.Product </span><span style="color:blue;">AS </span><span style="color:black;">p<br />
</span><span style="color:blue;">INNER </span><span style="color:black;">REMOTE </span><span style="color:blue;">JOIN </span><span style="color:black;">Sales.SalesOrderDetail </span><span style="color:blue;">AS </span><span style="color:black;">sod </span><span style="color:blue;">ON </span><span style="color:black;">p.ProductID </span><span style="color:blue;">= </span><span style="color:black;">sod.ProductID<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">Weight </span><span style="color:blue;">= </span><span style="color:black;">20.77<br />
GO </span></code></div>
<p style="text-align:justify;">The above query will produce the following query execution plan.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-join.png" alt="" width="550" height="557" /></p>
<p style="text-align:justify;">In this article we will focus mainly on Join Hints. We will discuss other kinds of hints and their usage in a different article. There are a total of four kinds of join hints available.</p>
<h3 style="text-align:justify;">Loop Join</h3>
<p style="text-align:justify;">This join is also commonly known as <em>nested iteration</em>. This kind of join is composed by an outer loop and an inner loop. When the query runs for each row of the outer loop, the inner loop is executed completely. This join is effective only when the outer loop query is small and the inner loop query has all the proper optimizations applied. This join method is very useful with small transactions.</p>
<h3 style="text-align:justify;">Merge Join</h3>
<p style="text-align:justify;">This join has the unique requirement for tables involved in the operation to be sorted. This join keeps both of the tables sorted in parallel and compares each table row by row simultaneously with each other. It compares one row of the first table with one row of the second table. If they are equal, that row qualifies; otherwise, this join determines which row of each table has the lower value. Once the lowest value of the table is figured out, it moves on to next row of that table and compares that to the original row. This operation keeps going on until all rows from each table are completely examined. This operation can be very expensive when tables are not sorted and it’s required to sort them before they are joined. If tables have non clustered indexes over them and joins are using the same conditions, there are pretty good chances that this join performs better than other kinds of joins.</p>
<h3 style="text-align:justify;">Hash Join</h3>
<p style="text-align:justify;">This is the most complex of all the other joins. There are two major components of this kind of join &#8211; build query and probe query. First, a smaller table is assigned as build query and a hash table for the same is created. This hash table is compared with the probe table. This comparison of input table and probe table is done one row at a time. One row of the probe table is hashed and compared against the other row, and qualifying rows are checked.</p>
<p style="text-align:justify;">There are three different kinds of hash joins:  in-memory hash join, grace hash join, and recursive hash join. Let us look in more detail at these three kinds of joins.</p>
<h4 style="text-align:justify;">In-Memory Hash Join</h4>
<p style="text-align:justify;">This kind of hash join is used when tables are very small and a complete table can be hashed and loaded in memory.</p>
<h4 style="text-align:justify;">Grace Hash Join</h4>
<p style="text-align:justify;">This kind of hash join is used when tables are comparatively large and don’t fit in memory. Tables will be partitioned at input levels and processed in steps.</p>
<h4 style="text-align:justify;">Recursive Hash Join</h4>
<p style="text-align:justify;">This kind of join is used for complex tables and for tables which are very large and require multilevel of table partitions.</p>
<p style="text-align:justify;">SQL Server query optimizer is a smart tool and it knows when to use the right kind of join. When it comes to hash join, the query optimizer starts conservatively with in-memory hash join. If join is larger than in-memory it moves up to Grace hash join or Recursive hash join. Sometimes the optimizer makes a mistake in identifying a smaller table and it reverses the role of the build and probe table: this is called <em>role reversal</em>.</p>
<h4 style="text-align:justify;">Remote Join</h4>
<p style="text-align:justify;">This is least-used tabled join ever. There is no example for it given in Book On Line. Every Join has two tables associated with it: Left Table and Right Table. The join usually happens on the Left Table. When Remote close is used, joins are performed on the site of Right Join. This join can only be performed on INNER JOIN as in case of OUTER join there may be NULL values on the right table which makes concept of joining on right table logically incorrect.</p>
<h3 style="text-align:justify;">Summary</h3>
<p style="text-align:justify;">We have closely observed different kinds of Join Hints in this article. We will cover the remaining concepts in another article.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>), </strong><a href="http://dotnetslackers.com/articles/sql/SQL-Server-Understanding-Table-Hints-with-examples.aspx" target="_blank">DNS</a></p>
<p style="text-align:justify;">
Posted in Pinal Dave, SQL, SQL Authority, SQL Joins, SQL Performance, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7113&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/19/sql-server-understanding-table-hints-with-examples/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sql-join.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Size of Index Table &#8211; A Puzzle to Find Index Size for Each Index on Table</title>
		<link>http://blog.sqlauthority.com/2009/11/18/sql-server-size-of-index-table-a-puzzle-to-find-index-size-for-each-index-on-table/</link>
		<comments>http://blog.sqlauthority.com/2009/11/18/sql-server-size-of-index-table-a-puzzle-to-find-index-size-for-each-index-on-table/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 01:30:16 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Puzzle]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Stored Procedure]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7388</guid>
		<description><![CDATA[It is very easy to find out some basic details of any table using the following Stored Procedure.
USE AdventureWorks
GO
EXEC sp_spaceused [HumanResources.Shift]
GO
Above query will return following resultset

The above SP provides basic details such as rows, data size in table, and Index size of all the indexes on the table.
If we look at this carefully, a total [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7388&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">It is very easy to find out some basic details of any table using the following Stored Procedure.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:blue;">EXEC </span><span style="color:darkred;">sp_spaceused </span><span style="color:black;">[HumanResources.Shift]<br />
GO</span></code></p>
<p style="text-align:justify;">Above query will return following resultset</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sp_spaceused1.jpg" alt="" width="369" height="153" /></p>
<p style="text-align:justify;">The above SP provides basic details such as rows, data size in table, and Index size of all the indexes on the table.</p>
<p style="text-align:justify;">If we look at this carefully, a total of three indexes can be found on the table HumanResources.Shift.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.indexes<br />
</span><span style="color:blue;">WHERE </span><span style="color:magenta;">OBJECT_ID </span><span style="color:blue;">= </span><span style="color:magenta;">OBJECT_ID</span><span style="color:gray;">(</span><span style="color:red;">'HumanResources.Shift'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">The above query will give result with query listing all the index on the table.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/indexspace.jpg" alt="" width="500" height="248" /></p>
<p style="text-align:justify;">There is a small puzzle for all of you here. The puzzle is to write a query that will return the size for each index that is listed in above query. We need a query that will return an additional column in the above listed query and it should contain the size of the index. In our case, we will have three different sizes, which should add up to a total of 40 KB as shown in earlier query, where the total size is displayed.</p>
<p style="text-align:justify;">I will publish the solution with due credit on this blog.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, Readers Question, SQL, SQL Authority, SQL Index, SQL Puzzle, SQL Query, SQL Scripts, SQL Server, SQL Stored Procedure, SQL Tips and Tricks, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7388/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7388/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7388/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7388&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/18/sql-server-size-of-index-table-a-puzzle-to-find-index-size-for-each-index-on-table/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sp_spaceused1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/indexspace.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2005 2008 &#8211; Backup, Integrity Check and Index Optimization By Ola Hallengren</title>
		<link>http://blog.sqlauthority.com/2009/11/17/sql-server-2005-2008-backup-integrity-check-and-index-optimization-by-ola-hallengren/</link>
		<comments>http://blog.sqlauthority.com/2009/11/17/sql-server-2005-2008-backup-integrity-check-and-index-optimization-by-ola-hallengren/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 01:30:27 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLAuthority Website Review]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7410</guid>
		<description><![CDATA[Script of Backup, Integrity Check and Index Optimization are the most important scripts for any developer. SQL Expert and true SQL enthusiast Ola Hallengren is known for his excellent scripts.
Please try it out and let me  know what you think. The documentation is available on http://ola.hallengren.com/Documentation.html and the script can be downloaded from http://ola.hallengren.com.
Here [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7410&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Script of Backup, Integrity Check and Index Optimization are the most important scripts for any developer. SQL Expert and true SQL enthusiast Ola Hallengren is known for his excellent scripts.</p>
<p style="text-align:justify;">Please try it out and let me  know what you think. The documentation is available on <a href="http://ola.hallengren.com/Documentation.html" target="_blank">http://ola.hallengren.com/Documentation.html</a> and the script can be downloaded from <a href="http://ola.hallengren.com/" target="_blank">http://ola.hallengren.com</a>.</p>
<p style="text-align:justify;">Here is brief documentation sent by Ola himself for his script in his own words.</p>
<h2 style="text-align:justify;">Backup Maintenance</h2>
<p style="text-align:justify;">I  think that most of you have experienced the error messages &#8220;BACKUP  LOG cannot be performed because there is no current database backup.&#8221;  and &#8220;Cannot perform a differential backup for database &#8220;&#8221;,  because a current database backup does not exist.&#8221;.</p>
<p style="text-align:justify;">This usually happens when you  have created a new database or when you have changed recovery model  of a database from Simple to Full.</p>
<p style="text-align:justify;">The consequence is that the  database is not getting backed up, until a full backup (or a differential  backup for the BACKUP LOG error message if that can be done) has been  performed. It will also create some noise in your monitoring system.</p>
<p style="text-align:justify;">The solution is to check if  a differential or transaction log backup can be performed before doing  the backup. This can be done by checking sys.master_files.differential_base_lsn  and sys.database_recovery_status.last_log_backup_lsn.</p>
<p style="text-align:justify;">The backup solution that I  have developed has a parameter called @ChangeBackupType.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">EXECUTE </span><span style="color:black;">dbo.DatabaseBackup </span><span style="color:#434343;">@Databases </span><span style="color:blue;">= </span><span style="color:red;">'USER_DATABASES'</span><span style="color:gray;">, </span><span style="color:#434343;">@Directory </span><span style="color:blue;">= </span><span style="color:red;">'C:\Backup'</span><span style="color:gray;">, </span><span style="color:#434343;">@BackupType </span><span style="color:blue;">= </span><span style="color:red;">'LOG'</span><span style="color:gray;">, </span><span style="color:#434343;">@ChangeBackupType </span><span style="color:blue;">= </span><span style="color:red;">'Y'</span></code></p>
<p style="text-align:justify;">If it&#8217;s a new database in Full  recovery model, the backup type for that database and job run will be  changed to full. If it&#8217;s a database that was newly changed to Full recovery  model, then the backup type for that database and job run will be changed  to differential. The next time the job runs a transaction log backup  will be performed for that database.</p>
<p style="text-align:justify;">New databases start getting  backed up quickly and no more &#8220;BACKUP LOG cannot be performed because  there is no current database backup.&#8221; and &#8220;Cannot perform  a differential backup for database &#8220;&#8221;, because a current database  backup does not exist.&#8221;.</p>
<h2 style="text-align:justify;">Index Optimization</h2>
<p style="text-align:justify;">The design idea is categorize all indexes based on their fragmentation level (High, Medium or Low) and whether there are columns with LOB (Large Object) data types. For each category you can define an action. The possible actions are to rebuild indexes online or offline, reorganize indexes, update statistics, reorganize indexes and update statistics or to do nothing.</p>
<p style="text-align:justify;">Here’s an example.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">EXECUTE </span><span style="color:black;">dbo.IndexOptimize<br />
</span><span style="color:#434343;">@Databases </span><span style="color:blue;">= </span><span style="color:red;">'USER_DATABASES'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationHigh_LOB </span><span style="color:blue;">= </span><span style="color:red;">'INDEX_REBUILD_OFFLINE'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationHigh_NonLOB </span><span style="color:blue;">= </span><span style="color:red;">'INDEX_REBUILD_ONLINE'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationMedium_LOB </span><span style="color:blue;">= </span><span style="color:red;">'INDEX_REORGANIZE'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationMedium_NonLOB </span><span style="color:blue;">= </span><span style="color:red;">'INDEX_REORGANIZE'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationLow_LOB </span><span style="color:blue;">= </span><span style="color:red;">'NOTHING'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationLow_NonLOB </span><span style="color:blue;">= </span><span style="color:red;">'NOTHING'</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationLevel1 </span><span style="color:blue;">= </span><span style="color:black;">5</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@FragmentationLevel2 </span><span style="color:blue;">= </span><span style="color:black;">30</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@PageCountLevel </span><span style="color:blue;">= </span><span style="color:black;">1000<br />
</span></code></p>
<p style="text-align:justify;">Indexes with a fragmentation above 30% are to be rebuilt, online if possible (no LOB columns), otherwise offline (LOB columns). Indexes with a fragmentation between 5% and 30% are to be reorganized. Indexes with a fragmentation below 5% or a size below 1000 pages are not to be touched.</p>
<p style="text-align:justify;">If you are using partitioning IndexOptimize has a parameter, @PartitionLevel to do index rebuilds and reorganizations on the partition level. If you prefer to do sort operations in tempdb you can do that with the parameter @SortInTempdb and if you would like to set a fillfactor you can do that with the parameter @FillFactor.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:0;width:1px;height:1px;text-align:justify;"><span style="font-family:Times New Roman;font-size:small;">Please try it out and let me  know what you think. The documentation is available on <a href="http://ola.hallengren.com/Documentation.html" target="_blank">http://ola.hallengren.com/Documentation.html</a> and the script can be downloaded from <a href="http://ola.hallengren.com/" target="_blank">http://ola.hallengren.com</a>.</span></div>
Posted in Pinal Dave, SQL, SQL Authority, SQL Documentation, SQL Index, SQL Optimization, SQL Performance, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority News, SQLAuthority Website Review, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7410/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7410/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7410/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7410&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/17/sql-server-2005-2008-backup-integrity-check-and-index-optimization-by-ola-hallengren/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Notes of Excellent Experience at SQL PASS 2009 Summit, Seattle</title>
		<link>http://blog.sqlauthority.com/2009/11/16/sqlauthority-news-notes-of-excellent-experience-at-sql-pass-2009-summit-seattle/</link>
		<comments>http://blog.sqlauthority.com/2009/11/16/sqlauthority-news-notes-of-excellent-experience-at-sql-pass-2009-summit-seattle/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 01:30:59 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL PASS]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7360</guid>
		<description><![CDATA[Update: Do not forget to checkout last three photos and follow me on twitter (of course!)
I have previously documented my four-day experience of SQL PASS 2009 Summit at Seattle. There were many reasons for SQL enthusiasts to attend the SQL PASS event; I am listing my own reasons here in order of importance to me.

Networking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7360&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;"><span style="color:#ff0000;"><span style="text-decoration:underline;"><strong>Update:</strong></span></span> Do not forget to checkout <em><strong>last three photos</strong></em> and follow me on <a href="http://twitter.com/pinaldave" target="_blank">twitter </a>(of course!)</p>
<p style="text-align:justify;">I have previously documented my four-day experience of SQL PASS 2009 Summit at Seattle. There were many reasons for SQL enthusiasts to attend the SQL PASS event; I am listing my own reasons here in order of importance to me.</p>
<ul style="text-align:justify;">
<li>Networking      with SQL fellows and experts</li>
<li>Putting      face to the name or avatar</li>
<li>Learning      and improving my SQL skills</li>
<li>Understanding      the structure of the largest SQL Server Professional Association</li>
<li>Attending      my favorite training sessions</li>
</ul>
<p style="text-align:justify;">During these four days, there was so much happening that it is difficult to document everything. I had tried to cover this event briefly on a daily basis in the following blog posts:</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/11/03/sqlauthority-news-sql-pass-summit-seattle-2009-day-1/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 1</a><br />
<a href="http://blog.sqlauthority.com/2009/11/04/sqlauthority-news-sql-pass-summit-seattle-2009-day-2/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 2</a><br />
<a href="http://blog.sqlauthority.com/2009/11/05/sqlauthority-news-sql-pass-summit-seattle-2009-day-3/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 3</a><br />
<a href="http://blog.sqlauthority.com/2009/11/06/sqlauthority-news-sql-pass-summit-seattle-2009-day-4/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 4</a></p>
<p style="text-align:justify;">I will list a few of the additional details that I have not included in the earlier post. Keynotes were the best part of the event, and I have covered major points of the keynote in above mentioned posts. I had met many SQL Legends during this event and included information regarding them. However, there were few things I still missed and I am listing them here. Seattle is great city, and I am visiting it the second time. This time I got an opportunity to take the Underground city tour and I had really enjoyed.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Washington Convention Center" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS514.jpg" alt="Washington Convention Center" width="500" height="666" /></dt>
<dd class="wp-caption-dd">Washington Convention Center</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Undergroud Tour 1" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS502.jpg" alt="Undergroud Tour 1" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Undergroud Tour 1</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Undergroup Tour 2" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS503.jpg" alt="Undergroup Tour 2" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Undergroup Tour 2</dd>
</dl>
</div>
<p style="text-align:justify;">It was great to meet SQL Server MVP Glenn Berry at the MVP Summit. He is a very kind and friendly person. You will always find him hanging around with people from different organizations and countries. If you try to eavesdrop his conversation, you will hear terms like &#8216;dmv&#8217;, &#8216;performance&#8217;, and &#8216;optimized query&#8217; very often. He is very much known for his excellent optimization script known as &#8220;<a href="http://glennberrysqlperformance.spaces.live.com/blog/cns%2145041418ECCAA960%212015.entry" target="_blank"><strong><em>SQL Server 2008 Diagnostic Information Queries</em></strong></a>&#8220;. If you have never taken a look at that, I urge you to go there and check this out. I believe that even if he blogs once a year only with this script, his fans will not complain. I have previously published his <a href="http://blog.sqlauthority.com/2009/08/09/sqlauthority-news-interview-with-sql-server-mvp-glenn-berry/" target="_blank"><strong>interview on my blog</strong></a>. Please note that he is the only person ever featured in an interview on this blog.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Glenn Berry and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS505.jpg" alt="Glenn Berry and Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Glenn Berry and Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;"><strong><em>It depends!</em></strong> This is one most loved (or hated) phrase in the world of programmers or DBA. It is quite common to start answering question using this phrase. Mostly, this phrase initiates humor but rarely, people take this as offence. Again the intent of speaker is not always conveyed properly, <strong><em>it depends</em></strong> on how the phrase is used (I could not resist to use this phrase as well :P). I had very interesting discussion with <a href="http://sqlfool.com/" target="_blank">Michelle Ufford</a> and <a href="http://stratesql.com/" target="_blank">Jason Strate</a> when we were waiting for coffee at one afternoon. We discussed both the sides of this phrase. Michelle suggested many good points when and why this phrase is valid. Jason also suggested that this phrase is commonly used a) when the presenter does not have sufficient information to answer or b) when the presenter does not know the answer. We discussed that it would be really interesting to start the conversation answering the most possible answer and then talking about special cases (for which <strong><em>it depends</em></strong> is quite commonly used.) Let us see one example.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Michelle Ufford, Jason Strate, Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS508.jpg" alt="Michelle Ufford, Jason Strate, Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Michelle Ufford, Jason Strate, Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;">Q: Does index improve performance?<br />
A1: It depends on query and data you have.<br />
A2: Usually YES; however, there are cases when it reduces performance, for which the query and data needs to be examined carefully.</p>
<p style="text-align:justify;">There are times when <strong><em>it depends</em></strong> totally make sense. I use it several times; I love the blog of Andy Warren which talks is branded as it depends. This discussion between three of us was just a friendly discussion, and if you think we are talking about you, it is wrong!</p>
<p style="text-align:justify;">During this event, I had great conversation with SQL Legend <a href="http://blogs.msdn.com/buckwoody/" target="_blank">Buck Woody</a>. This man is full of energy and may be the most loved person in this summit. His session was the funniest session I have ever attended. At the end of his session, I had more than 2 pages of my notebook filled with notes. If I have wrote down how many times, I have laughed loudly, I would have no time to do anything else. Buck had a good hour of discussion with me. We discussed many different topics, ranging from Community to Microsoft and Collage Students to SQL. I am very thankful to Buck for spending his valuable time with me – I am honored.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Buck Woody and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS504.jpg" alt="Buck Woody and Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Buck Woody and Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;"><strong>Joe Celko</strong> – this name is very popular in SQL world, and I admit that I was always afraid of him. Every time I see his photo, I just felt nervous. I never thought that I should meet him. Honestly, for the same reason, I did not attend his session. <em><strong>I was absolutely wrong. </strong></em>I met him right after his session was over. He is one of the most friendly people I have met in my life. He is very soft spoken. He gauges the level and understanding of other person and speaks at the same level. He made me laugh and taught many good techniques for how to become good speaker and presenter. When I said I was sorry that I was scared of him, he laughed and said that he knows this. Boy, what a mistake I did!! I should have attended his session. Well, at least I am accepting my mistake here. He is indeed a very friendly soul. He promised me that one time he will come to India.</p>
<p style="text-align:justify;"><strong>Brian Moran</strong> is the newly elected board member; I would like to call him as &#8216;<strong><em>the Man with 1000 successful ideas</em></strong>&#8216;. You have to come across him to know what I am talking about. I had the great opportunity to meet him and discuss few things, besides SQL. Brian had many excellent ideas about how to build the community, how to help SQL PASS and few excellent ideas about how to take PASS to the next level. I am glad that he is one of the board members for PASS. PASS is all about passion, and Brian clearly demonstrates the same.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class="  " title="Pinal Dave, Joe Celko, Brian Moran" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS515.jpg" alt="Pinal Dave, Joe Celko, Brian Moran" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Pinal Dave, Joe Celko, Brian Moran</dd>
</dl>
</div>
<p style="text-align:justify;">I met all of them and had a great conversation with them. It was great to meet <strong>Ed Hackney</strong>; he is a wonderful person and very easily approachable. He talked about SQL community in India and how any community cannot be restrained within geographical boundaries.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Ed Hackney and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS509.jpg" alt="Ed Hackney and Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Ed Hackney and Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;">I was waiting to meet <a href="http://thomaslarock.com/" target="_blank">Thomas LaRock</a>. He is an excellent SQL Master, and he talked in detail about outsourcing SQL technology and SQL community. I really enjoyed meeting him and spending some time with him during the summit. I plan to learn more from him when I meet him next time.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Thomas LaRock and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS513.jpg" alt="Thomas LaRock and Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Thomas LaRock and Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;"><a href="http://arcanecode.com/" target="_blank">Robert Cain</a>, he is one of the very few SQL masters, who have expertise in .net and Business Intelligence at the same time. I have previously wrote about him in <a href="http://blog.sqlauthority.com/2009/07/12/sqlauthority-news-big-thinkers-robert-cain/" target="_blank"><strong>Big Thinkers – Robert Cain</strong></a>. He has given approval that I can write about his BI presentation on this blog. I will write about it soon.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class=" " title="Chris Massey, Robert Cain, Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS517.jpg" alt="Chris Massy, Robert Cain, Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Chris Massey, Robert Cain, Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;">I have previously written a lot about Greg Low on this blog. However, I just can not resist to put this excellent photo once again here. He has great respect for the international community; and he had spent some quality time with me discussing how to enhance and grow the global community. Greg gave his insight and few plan cache tips as well. You can read my review of his book &#8216;<a href="http://blog.sqlauthority.com/2009/07/03/sqlauthority-news-book-review-the-rational-guide-to-building-technical-user-communities-rational-guides/" target="_blank">Book Review – The Rational Guide to Building Technical User Communities (Rational Guides)</a>&#8216;. You can also read our discussion on plan cache &#8216;<a href="http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/" target="_blank">SQL SERVER – Plan Caching and Schema Change – An Interesting Observation</a>&#8216;.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Greg Low and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS510.jpg" alt="Greg Low and Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Greg Low and Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;">Following image is for sure very interesting! Can you recognize the person? Well, just <a href="http://itknowledgeexchange.techtarget.com/sql-server/sharp-sqlpass-hair-color-voting-ends-tonight-cast-your-vote-before-its-too-late/" target="_blank">go here</a> and read about <a href="http://itknowledgeexchange.techtarget.com/sql-server/" target="_blank">Mr. Denny</a>. And I do have permission from him to publish this photo!</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Mr. Danny" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS511.jpg" alt="Mr. Danny" width="500" height="666" /></dt>
<dd class="wp-caption-dd">Mr. Danny</dd>
</dl>
</div>
<p style="text-align:justify;">PASS 2010 dates are announced; this event will take place between 8 and 12 November 2010.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="PASS 2010" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS507.jpg" alt="PASS 2010" width="500" height="375" /></dt>
<dd class="wp-caption-dd">PASS 2010</dd>
</dl>
</div>
<p style="text-align:justify;">Following image is my favorite as it brings the future and past of PASS together. Kevin Kline, a hero of PASS summit, (as he dedicated 10 years of his life to serve PASS board) is in same frame with Rushabh Mehta, who is President Elect for 2010.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class=" " title="Past President Kevin Kline and Future President Rushabh Mehta" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS506.jpg" alt="Past President Kevin Kline and Future President Rushabh Mehta" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Past President Kevin Kline and Future President Rushabh Mehta</dd>
</dl>
</div>
<p style="text-align:justify;">Now I am coming to the most interesting part of my experience. I want to introduce to all of you the youngest SQL PASS fan and follower. Her name is <a href="http://blog.sqlauthority.com/2009/09/08/sqlauthority-news-shaivi-dave-baby-sqlauthority/" target="_blank"><strong>Shaivi Dave</strong></a>, and she is big fan of SQL PASS! Shaivi suggests that save your money and register right away for PASS. There is no other conference which is as valuable as SQL PASS.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Nupur Dave and Shaivi Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS501.jpg" alt="Nupur Dave and Shaivi Dave" width="500" height="666" /></dt>
<dd class="wp-caption-dd">Nupur Dave and Shaivi Dave</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Pinal Dave and Shaivi Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS500.jpg" alt="Pinal Dave and Shaivi Dave" width="500" height="666" /></dt>
<dd class="wp-caption-dd">Pinal Dave and Shaivi Dave</dd>
</dl>
</div>
<p style="text-align:justify;">She had conveyed her wish to SQL PASS President Elect Rushabh Mehta when she was just 19 days old. May be one of following years, we will see her at summit.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Rushabh Mehta, Shaivi Dave, Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/Rushabh_Shaivi_Pinal.jpg" alt="Rushabh Mehta, Shaivi Dave, Pinal Dave" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Rushabh Mehta, Shaivi Dave, Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;">This is note is addendum to my four original posts. I strongly suggest you all to read my earlier posts for details on keynote and other SQL legends.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/11/03/sqlauthority-news-sql-pass-summit-seattle-2009-day-1/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 1</a><br />
<a href="http://blog.sqlauthority.com/2009/11/04/sqlauthority-news-sql-pass-summit-seattle-2009-day-2/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 2</a><br />
<a href="http://blog.sqlauthority.com/2009/11/05/sqlauthority-news-sql-pass-summit-seattle-2009-day-3/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 3</a><br />
<a href="http://blog.sqlauthority.com/2009/11/06/sqlauthority-news-sql-pass-summit-seattle-2009-day-4/" target="_blank">SQLAuthority News – SQL PASS Summit, Seattle 2009 – Day 4</a></p>
<p style="text-align:justify;">If you have visited this event and have something more to add to what I have written, please feel free to add it here as a comment. I am looking forward for you all to add more details and information here. <strong><a href="http://twitter.com/pinaldave" target="_blank">Follow me on twitter</a></strong>.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:0;width:1px;height:1px;text-align:justify;"><span id="ctl00_MainContentPlaceholder_ctl01_ctl00_lblEntry"> </span></p>
<h4 id="subjcns!45041418ECCAA960!2015" class="beTitle">SQL Server 2008 Diagnostic Information Queries</h4>
</div>
Posted in Database, DBA, MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority News, SQLServer, T SQL, Technology Tagged: PASS, SQL PASS <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7360/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7360&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/16/sqlauthority-news-notes-of-excellent-experience-at-sql-pass-2009-summit-seattle/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS514.jpg" medium="image">
			<media:title type="html">Washington Convention Center</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS502.jpg" medium="image">
			<media:title type="html">Undergroud Tour 1</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS503.jpg" medium="image">
			<media:title type="html">Undergroup Tour 2</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS505.jpg" medium="image">
			<media:title type="html">Glenn Berry and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS508.jpg" medium="image">
			<media:title type="html">Michelle Ufford, Jason Strate, Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS504.jpg" medium="image">
			<media:title type="html">Buck Woody and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS515.jpg" medium="image">
			<media:title type="html">Pinal Dave, Joe Celko, Brian Moran</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS509.jpg" medium="image">
			<media:title type="html">Ed Hackney and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS513.jpg" medium="image">
			<media:title type="html">Thomas LaRock and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS517.jpg" medium="image">
			<media:title type="html">Chris Massey, Robert Cain, Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS510.jpg" medium="image">
			<media:title type="html">Greg Low and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS511.jpg" medium="image">
			<media:title type="html">Mr. Danny</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS507.jpg" medium="image">
			<media:title type="html">PASS 2010</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS506.jpg" medium="image">
			<media:title type="html">Past President Kevin Kline and Future President Rushabh Mehta</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS501.jpg" medium="image">
			<media:title type="html">Nupur Dave and Shaivi Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS500.jpg" medium="image">
			<media:title type="html">Pinal Dave and Shaivi Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/Rushabh_Shaivi_Pinal.jpg" medium="image">
			<media:title type="html">Rushabh Mehta, Shaivi Dave, Pinal Dave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Whitepaper Consolidation Using SQL Server 2008</title>
		<link>http://blog.sqlauthority.com/2009/11/15/sql-server-whitepaper-consolidation-using-sql-server-2008/</link>
		<comments>http://blog.sqlauthority.com/2009/11/15/sql-server-whitepaper-consolidation-using-sql-server-2008/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:30:35 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL White Papers]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7225</guid>
		<description><![CDATA[Many companies are considering or have already implemented consolidation of computing resources, including Microsoft SQL Server instances and databases, in their organization. A consolidation effort is a complex task that requires information, a detailed plan and timeline for success, and a strategy for administering the consolidated environment. This white paper walks through the journey of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7225&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Many companies are considering or have already implemented consolidation of computing resources, including Microsoft SQL Server instances and databases, in their organization. A consolidation effort is a complex task that requires information, a detailed plan and timeline for success, and a strategy for administering the consolidated environment. This white paper walks through the journey of gathering and analyzing the information to base all planning and implementation decisions on; how to plan, architect, and implement consolidation; and finally, the considerations for administering a consolidated SQL Server environment.</p>
<p style="text-align:justify;">This white paper is based on the <a href="http://technet.microsoft.com/en-us/library/cc506049.aspx">Microsoft Operations Framework</a> (MOF). MOF is an iterative approach to the IT lifecycle, and it is designed to bring together both the technical and nontechnical sides of implementation and administration.</p>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/ee692366.aspx" target="_blank">Download Whitepaper Consolidation Using SQL Server 2008</a></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
Posted in SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQL White Papers, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7225&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/15/sql-server-whitepaper-consolidation-using-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Disk Partition Alignment Best Practices for SQL Server</title>
		<link>http://blog.sqlauthority.com/2009/11/14/sqlauthority-news-disk-partition-alignment-best-practices-for-sql-server/</link>
		<comments>http://blog.sqlauthority.com/2009/11/14/sqlauthority-news-disk-partition-alignment-best-practices-for-sql-server/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 01:30:12 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL White Papers]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7124</guid>
		<description><![CDATA[Disk partition alignment is a powerful tool for improving SQL Server performance. Configuring optimal disk performance is often viewed as much art as science. A best practice that is essential yet often overlooked is disk partition alignment. Windows Server 2008 attempts to align new partitions out-of-the-box, yet disk partition alignment remains a relevant technology for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7124&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Disk partition alignment is a powerful tool for improving SQL Server performance. Configuring optimal disk performance is often viewed as much art as science. A best practice that is essential yet often overlooked is disk partition alignment. Windows Server 2008 attempts to align new partitions out-of-the-box, yet disk partition alignment remains a relevant technology for partitions created on prior versions of Windows.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/diskpart.jpg" alt="" width="500" height="367" /></p>
<p style="text-align:justify;">This paper documents performance for aligned and nonaligned storage and why nonaligned partitions can negatively impact I/O performance; it explains disk partition alignment for storage configured on Windows Server 2003, including analysis, diagnosis, and remediation; and it describes how Windows Server 2008 attempts to remedy challenges related to partition alignment for new partitions yet does not correct the configuration of preexisting partitions.</p>
<p style="text-align:justify;">The following topics are also included: background information, implementation, vendor considerations, two essential correlations, valid starting partition offsets, and the simple protocol to align partitions, define file allocation unit size, and assign drive letters. It includes results from tests that show how partition alignment can affect performance for SQL Server 2008.</p>
<p style="text-align:justify;">The following topics are also included:</p>
<ul style="text-align:justify;">
<li>Background information</li>
<li>Implementation</li>
<li>Vendor considerations</li>
<li>Two essential correlations</li>
<li>Valid starting partition offsets</li>
</ul>
<p style="text-align:justify;">The paper also covers the simple protocol to align partitions, define file allocation unit size, and assign drive letters.</p>
<p style="text-align:justify;"><strong><a href="http://technet.microsoft.com/en-us/library/dd758814.aspx" target="_blank">Disk Partition Alignment Best Practices for SQL Server</a></strong></p>
<p style="text-align:justify;">
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
Posted in Best Practices, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQL White Papers, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7124&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/14/sqlauthority-news-disk-partition-alignment-best-practices-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/diskpart.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Policy Based Management &#8211; Create, Evaluate and Fix Policies</title>
		<link>http://blog.sqlauthority.com/2009/11/13/sql-server-policy-based-management-create-evaluate-and-fix-policies/</link>
		<comments>http://blog.sqlauthority.com/2009/11/13/sql-server-policy-based-management-create-evaluate-and-fix-policies/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 01:30:10 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Policy Management]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7118</guid>
		<description><![CDATA[Introduction
This article will cover the most spectacular feature of SQL 2008 &#8211; Policy-based management and how the configuration of SQL Server with policy-based management architecture can make a powerful difference. Policy based management is loaded with several advantages. It can help you implement various policies for reliable configuration of the system. It also provides additional [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7118&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3 style="text-align:justify;">Introduction</h3>
<p style="text-align:justify;">This article will cover the most spectacular feature of SQL 2008 &#8211; Policy-based management and how the configuration of SQL Server with policy-based management architecture can make a powerful difference. Policy based management is loaded with several advantages. It can help you implement various policies for reliable configuration of the system. It also provides additional administration assistance to DBAs and helps them effortlessly manage various tasks of SQL Server across the enterprise.</p>
<h3 style="text-align:justify;">Basics of Policy Management</h3>
<p style="text-align:justify;">SQL server 2008 has introduced policy management framework, which is the latest technique for SQL server database engine. SQL policy administrator uses SQL Server Management Studio to create policies that can handle entities on the server side like the SQL Server objects and the instance of SQL Server databases. It consists of three components: policy administrators (who create policies), policy management, and explicit administration. Policy-based management in SQL Server assists the database administrators in defining and enforcing policies that tie to database objects and instances. These policies allow the administrator to configure and manage SQL server across the enterprise.</p>
<p style="text-align:justify;">The following advantages can be achieved by appropriate administration of policy management system.</p>
<ul style="text-align:justify;">
<li>It interacts with various policies for successful system configuration.</li>
<li>It handles the changes in the systems that are the result of configuration against authoring policies.</li>
<li>It reduces the cost of ownership with simple elaboration of administration tasks.</li>
<li>It detects various compliance issues in SQL Server Management Studio.</li>
</ul>
<h3 style="text-align:justify;">Policy Management Terms</h3>
<p style="text-align:justify;">To have a better grip on the concept of Policy-based management there are some key terms you need to understand.</p>
<ul style="text-align:justify;">
<li><strong>Target </strong> – A type of entity that is appropriately managed by Policy-based management. For example, a table, database and index, to name a few.</li>
<li><strong>Facet </strong> -A property that can be managed in policy-based management. A clear example of facet is the name of Trigger or the Auto Shrink Property of database.</li>
<li><strong>Conditions </strong> – Criteria that specifies the state of facet to true or false. For example, you can adjust the state of a facet that gives you clear specifications of all stored procedures in the Schema “Banking”.</li>
<li><strong>Policy </strong> &#8211; A set of rules specified for the server objects or the properties of database.</li>
</ul>
<h3 style="text-align:justify;">Practical Example of Policy Management</h3>
<h4 style="text-align:justify;">Exploring of Facets</h4>
<p style="text-align:justify;">Facets are database objects and each of them is a container of one or more database object. First, you need to navigate the object explorer and expand the policy-based management node and the management node. You will see conditions, policies and facets nodes. SQL Server 2008 has many different facets available to use.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement1.jpg" alt="" /></p>
<p style="text-align:justify;">To view the list of facets, expand the facet node</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement2.jpg" alt="" /></p>
<p style="text-align:justify;">Double click on each of these facets to the list of the facet properties.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement3.jpg" alt="" /></p>
<p style="text-align:justify;">Let us understand the two next elements of creating condition and creating policy with real life example of Statistics. We will try to create statistic property of the database. We have property of statistic <code>IsAutoCreated</code>. We can set that using database property window under option tab. This property takes two values <code>True </code> or <code>False</code>.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement3a.jpg" alt="" width="0" height="0" /></p>
<p style="text-align:justify;">We will follow up on this property in different steps. We will first create condition and right after we will use the same condition in a policy. That policy will be evaluated by user. User will have to two options either let us evaluated by scheduled task or fix non complaining policy manually.</p>
<h4 style="text-align:justify;">Create a Condition</h4>
<p style="text-align:justify;"><em>Creation of condition </em> in Policy-based management is the next thing after identifying the problem. In our case, we want to make sure that everywhere <code>IsAutoCreate </code> is set to <code>True </code> everywhere.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement4.jpg" alt="" /></p>
<p style="text-align:justify;">Each facet displays different kinds of properties. As we are interested in the <code>IsAutoCreated </code> property of the statistics we have to select facet as Statistic.</p>
<h4 style="text-align:justify;">Create a Policy</h4>
<p style="text-align:justify;">Creating a policy is the next important task after creating a condition. The condition has to be created to select the proper property of the object. However, a policy is created to specify the location where the condition has to be applied.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement5.jpg" alt="" /></p>
<p style="text-align:justify;">Please follow the instructions given in the above image. Make sure to select all target databases. In given example I have two database installed on my server that brings up two different targets servers.</p>
<p style="text-align:justify;">This brings up an interesting concept of targets. Targets are database objects. They can be whole database or single parts of the database. It may be possible that they are different kind of objects but have same kind of properties.</p>
<p style="text-align:justify;">While creating a policy we have kept the evaluation mode as “on demand”, which means that we will be running this policy manually, instead of scheduled job. Scheduled job is good idea to run policy.</p>
<h4 style="text-align:justify;">Evaluate a Policy</h4>
<p style="text-align:justify;">As in the previous step, we have selected to evaluate the policy manually; we will evaluate that using SSMS. Right click on policy brings up with lots of options. Select Evaluate from the menu, this will bring up the following image.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement8.jpg" alt="" /></p>
<p style="text-align:justify;">On the screen of Evaluate Policies there is a button which suggests evaluating the policies. Once clicked it will give the following kind of screen with a status.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement8a.jpg" alt="" /></p>
<p style="text-align:justify;">You will see a green icon in the image. This icon indicates the policy evaluated the status to <code>True</code>. If you notice you will find that in our example all the policies are complied with.</p>
<h4 style="text-align:justify;">Fix Non-complying Policy</h4>
<p style="text-align:justify;">Now, let us change the <code>IsAutoCreate </code> policy of one of test databases to <code>true </code> and run the evaluation all over again. If you observe you will notice that one of the statuses is marked as <code>false </code> with a little red image on the left.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement9.jpg" alt="" /></p>
<p style="text-align:justify;">Furthermore, once you select the checkbox and clicked on the Apply button you will find an additional checkbox on the side. This Apply button will raise a popup confirming that the property of the target has been changed to comply with the policy. Next, click Ok to confirm. This will change the properties of the Test database to comply with the new policy on all of our targets specified earlier.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement9a.jpg" alt="" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/PolicyManagement9b.jpg" alt="" /></p>
<p style="text-align:justify;">In our example, we have manually evaluated the policy and fixed its noncompliance. With powershell you can perform the same using SQL Server Agent.</p>
<h3 style="text-align:justify;">Summary</h3>
<p style="text-align:justify;">Policy-Based Management empowers you with greater control over the procedures of database as a Database Administrator. It provides you the ability to enforce paper policies at database level. Paper polices are used as guidelines for understanding database standards. However, it necessitates some skills, time and efforts to enforce these polices. You need to go with a fine toothed comb to enforce these policies. Policy-based management system helps you define these polices and ensure that they will be enforced appropriately.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong>, <a href="http://dotnetslackers.com/articles/sql/Policy-Based-Management-Create-Evaluate-and-Fix-Policies.aspx" target="_blank">DNS</a></p>
Posted in Database, Pinal Dave, Software Development, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T SQL, Technology Tagged: Policy Management <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7118&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/13/sql-server-policy-based-management-create-evaluate-and-fix-policies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement3a.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement8.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement8a.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement9.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement9a.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/PolicyManagement9b.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Disable CHECK Constraint &#8211; Enable CHECK Constraint</title>
		<link>http://blog.sqlauthority.com/2009/11/12/sql-server-disable-check-constraint-enable-check-constraint/</link>
		<comments>http://blog.sqlauthority.com/2009/11/12/sql-server-disable-check-constraint-enable-check-constraint/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 01:30:14 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Constraint and Keys]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7198</guid>
		<description><![CDATA[Foreign Key and Check Constraints are two types of constraints that can be disabled or enabled when required. This type of operation is needed when bulk loading operations are required or when there is no need to validate the constraint. The T-SQL Script that does the same is very simple.
USE AdventureWorks
GO
-- Disable the constraint
ALTER TABLE HumanResources.Employee
NOCHECK CONSTRAINT CK_Employee_BirthDate
GO
-- Enable the constraint
ALTER TABLE HumanResources.Employee
WITH CHECK CHECK CONSTRAINT CK_Employee_BirthDate
GO
It [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7198&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Foreign Key and Check Constraints are two types of constraints that can be disabled or enabled when required. This type of operation is needed when bulk loading operations are required or when there is no need to validate the constraint. The T-SQL Script that does the same is very simple.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">-- Disable the constraint<br />
</span><span style="color:blue;">ALTER TABLE </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">NOCHECK CONSTRAINT </span><span style="color:black;">CK_Employee_BirthDate<br />
GO<br />
</span><span style="color:green;">-- Enable the constraint<br />
</span><span style="color:blue;">ALTER TABLE </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WITH CHECK CHECK CONSTRAINT </span><span style="color:black;">CK_Employee_BirthDate<br />
GO</span></code></p>
<p style="text-align:justify;">It is very interesting that when the constraint is enabled, the world CHECK is used twice – WITH CHECK CHECK CONSTRAINT. I often ask those to find the mistake in this script when they claim to know the syntax very well.</p>
<p style="text-align:justify;">Have you ever disabled and enabled constraints in your production environment? I would like to know why you did so.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/">http://blog.sqlauthority.com</a>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Constraint and Keys, SQL Index, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7198&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/12/sql-server-disable-check-constraint-enable-check-constraint/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Sharepoint Resource Available for SQL Server</title>
		<link>http://blog.sqlauthority.com/2009/11/11/sql-server-sharepoint-resource-available-for-sql-server/</link>
		<comments>http://blog.sqlauthority.com/2009/11/11/sql-server-sharepoint-resource-available-for-sql-server/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 01:30:09 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL White Papers]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7253</guid>
		<description><![CDATA[Here is quick list of the tools which are available for SQL Server and Sharepoint. These are recently updated resources from Microsoft.
External Collaboration Toolkit for SharePoint
This solution allows users to create collaboration environments that use the familiar SharePoito deploy a SharePoint-based environment for collaboration with people outside your firewall. The accelerator allows users to create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7253&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Here is quick list of the tools which are available for SQL Server and Sharepoint. These are recently updated resources from Microsoft.</p>
<p style="text-align:justify;"><a title="External Collaboration Toolkit for SharePoint" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=d9af2c25-989c-45c4-8008-1f15722190ed">External Collaboration Toolkit for SharePoint</a><br />
This solution allows users to create collaboration environments that use the familiar SharePoito deploy a SharePoint-based environment for collaboration with people outside your firewall. The accelerator allows users to create collaboration environments that use the familiar SharePoint interface. Because the solution is easy to use, end users are more likely to use it rather than revert to e-mail.</p>
<p style="text-align:justify;"><a title="SQL Server Reporting Services Add-in for SharePoint Technologies" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=648766ac-2a35-4238-a3f4-c26d7077f2a9">SQL Server Reporting Services Add-in for SharePoint Technologies</a><br />
The Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies is a Web download that provides features for running a report server within a larger deployment of Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007.</p>
<p style="text-align:justify;"><a title="Microsoft SQL Server 2008 Reporting Services August 2009 CTP Add-In For Microsoft Sharepoint Technologies" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=f5b64160-5b2b-4da3-a96c-fff95b84c89e">Microsoft SQL Server 2008 Reporting Services August 2009 CTP Add-In For Microsoft Sharepoint Technologies</a><br />
The Microsoft® SQL Server® 2008 Reporting Services August CTP Add-in for Microsoft SharePoint® Products allows you to take advantage of new SQL Server 2008 R2 Reporting Services report processing and management capabilities in SharePoint integrated mode.</p>
<p style="text-align:justify;"><a title="High Availability of SharePoint Server Using Virtualized Environments and Database Mirroring" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=f68022ce-36c9-4229-a816-066c029989da">High Availability of SharePoint Server Using Virtualized Environments and Database Mirroring</a><br />
This paper highlights the lessons learned from a proof of concept configuration of Microsoft Office SharePoint Server 2007 across two data centers that included database mirroring.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
Posted in SQL, SQL Authority, SQL Documentation, SQL Query, SQL Server, SQL Tips and Tricks, SQL White Papers, SQLAuthority News, T SQL, Technology Tagged: SharePoint <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7253&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/11/sql-server-sharepoint-resource-available-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Authority News &#8211; Training MS SQL Server 2005/2008 Query Optimization And Performance Tuning</title>
		<link>http://blog.sqlauthority.com/2009/11/10/sql-authority-news-training-ms-sql-server-20052008-query-optimization-and-performance-tuning/</link>
		<comments>http://blog.sqlauthority.com/2009/11/10/sql-authority-news-training-ms-sql-server-20052008-query-optimization-and-performance-tuning/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 01:30:30 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7357</guid>
		<description><![CDATA[This is very short note announcing details about my course details for &#8216;MS SQL Server 2005/2008 Query Optimization And Performance Tuning&#8216;.
The course is scheduled to be delivered from 19th Nov, 2009 and 21st Nov, 2009 in Pune, India.
This three day course is an intensive course designed to give attendees an in-depth look at the query [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7357&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">This is very short note announcing details about my course details for &#8216;<strong>MS SQL Server 2005/2008 Query Optimization And Performance Tuning</strong>&#8216;.</p>
<p style="text-align:justify;">The course is scheduled to be delivered from <strong><em>19th Nov, 2009 and 21st Nov, 2009</em></strong> in <em><strong>Pune, India</strong></em>.</p>
<p style="text-align:justify;">This three day course is an intensive course designed to give attendees an in-depth look at the query optimization and performance tuning concepts and methods found in SQL Server 2005/2008. This course is designed to prepare the SQL Server developers and administrators for a transition to SQL Server 2005/2008 while discussing best practices for a variety of topics.</p>
<p style="text-align:justify;"><strong>Day 1 : Strengthen the basics along with SQL Server 2005/2008 New Features</strong></p>
<p style="padding-left:30px;text-align:justify;">Module 01: Subqueries, Ranking Functions, Joins and Set Operations<br />
Module 02: Table Expressions<br />
Module 03: TOP and APPLY<br />
Module 04: SQL Server 2008 Enhancements</p>
<p style="text-align:justify;"><strong>Day 2: Query Optimization &amp; Performance Tuning 1</strong></p>
<p style="padding-left:30px;text-align:justify;">Module 05: Logical Query Processing<br />
Module 06: Query Tuning<br />
Module 07:  Introduction to the Query Processor<br />
Module 08:  Review of common query coding which causes poor performance</p>
<p style="text-align:justify;"><strong>Day 3: Query Optimization &amp; Performance Tuning 2</strong></p>
<p style="padding-left:30px;text-align:justify;">Module 09:  SQL Server Indexing and index maintenance<br />
Module 10:  Plan Guides, query hints, UDFs, and Computed Columns<br />
Module 11:  Understanding SQL Server Execution Plans<br />
Module 12: Real World Index and Optimization Tips</p>
<p style="text-align:justify;">The space are limited and I encourage you to register as soon as possible.</p>
<p style="text-align:justify;"><strong>Call to register</strong> &#8211; +91 98817 95739, +91 98508 43664, +91 99229 33319</p>
<p style="text-align:justify;"><strong>Email to register</strong> &#8211; workshop &#8220;at&#8221; seedinfotech.com</p>
<p style="text-align:justify;">If due to any reason, you can not attend this course, please call or email on details above for future schedule for the course and location.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.pinaldave.com/bimg/MSQOPT.jpg"><img title="Click to Enlarge" src="http://www.pinaldave.com/bimg/MSQOPT.jpg" alt="" width="500" height="955" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Index, SQL Optimization, SQL Performance, SQL Query, SQL Server, SQL Tips and Tricks, SQL Training, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7357/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7357&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/10/sql-authority-news-training-ms-sql-server-20052008-query-optimization-and-performance-tuning/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/MSQOPT.jpg" medium="image">
			<media:title type="html">Click to Enlarge</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Removing Key Lookup &#8211; Seek Predicate &#8211; Predicate &#8211; An Interesting Observation Related to Datatypes</title>
		<link>http://blog.sqlauthority.com/2009/11/09/sql-server-removing-key-lookup-seek-predicate-predicate-an-interesting-observation-related-to-datatypes/</link>
		<comments>http://blog.sqlauthority.com/2009/11/09/sql-server-removing-key-lookup-seek-predicate-predicate-an-interesting-observation-related-to-datatypes/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 01:30:12 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7088</guid>
		<description><![CDATA[Recently, I have been working on Query Optimization project. While working on it, I found the following interesting observation. This entire concept may appear very simple, but if you are working in the area of query optimization and server tuning, you will find such useful hints.
Before we start, let us understand the difference between Seek [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7088&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Recently, I have been working on Query Optimization project. While working on it, I found the following interesting observation. This entire concept may appear very simple, but if you are working in the area of query optimization and server tuning, you will find such useful hints.</p>
<p style="text-align:justify;">Before we start, let us understand the difference between Seek Predicate and Predicate. Seek Predicate is the operation that describes the b-tree portion of the Seek. Predicate is the operation that describes the additional filter using non-key columns. Based on the description, it is very clear that Seek Predicate is better than Predicate as it searches indexes whereas in Predicate, the search is on non-key columns – which implies that the search is on the data in page files itself.</p>
<p style="text-align:justify;">Earlier, I had posted regarding how to remove key lookup and bookmark lookup in the following:</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/10/07/sql-server-query-optimization-remove-bookmark-lookup-remove-rid-lookup-remove-key-lookup/" target="_blank">SQL SERVER – Query Optimization – Remove Bookmark Lookup – Remove RID Lookup – Remove Key Lookup</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/10/08/sql-server-query-optimization-remove-bookmark-lookup-remove-rid-lookup-remove-key-lookup-part-2/" target="_blank">SQL SERVER – Query Optimization – Remove Bookmark Lookup – Remove RID Lookup – Remove Key Lookup – Part 2</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/10/12/sql-server-query-optimization-remove-bookmark-lookup-remove-rid-lookup-remove-key-lookup-part-3" target="_blank">SQL SERVER &#8211; Query Optimization &#8211; Remove Bookmark Lookup &#8211; Remove RID Lookup – Remove Key Lookup &#8211; Part 3</a></p>
<p style="text-align:justify;">Let us see an example where we will remove the bookmark lookup first using the covering index. On removing the bookmark lookup, it resulted in Index Scan, which is not good for performance. When Index Scan is converted to Index Seek, it provides  a significant improvement in performance.</p>
<p style="text-align:justify;">Run following SELECT, which is based on the database AdventureWorks.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">-- CTRL + M Enforces Key Lookup<br />
-- Try 1<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:black;">14417807<br />
GO</span></code></p>
<p style="text-align:justify;">Let us check the execution plan for the same. The execution plan consists of the key lookup because there are columns that we are trying to retrieve in SELECT as well in WHERE clause.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseek1.jpg" alt="" width="500" height="217" /></p>
<p style="text-align:justify;">Let us create a covering index on this table HumanResources.Employee.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Create Non clustered Index<br />
</span><span style="color:blue;">CREATE NONCLUSTERED INDEX </span><span style="color:black;">[IX_HumanResources_Employee_Example] </span><span style="color:blue;">ON </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:gray;">(<br />
</span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">ASC</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:gray;">) </span><span style="color:blue;">ON </span><span style="color:black;">[PRIMARY]<br />
GO</span></code></p>
<p style="text-align:justify;">After creating above index, let us run the same SELECT statement again.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- CTRL + M Removes Key Lookup, but it still enforces Index Scan<br />
-- Try 2<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:black;">14417807<br />
GO</span></code></p>
<p style="text-align:justify;">Due to non-clustered index, Key Lookup is removed along with Nested Loops but <em>Index Scan</em> still remains, and this is not good for performance.<span style="color:black;"> </span></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseek2.jpg" alt="" width="500" height="131" /></p>
<p style="text-align:justify;">I tried to remove the scan, but my attempts were unsuccessful. I finally looked at the datatype of the NationalIDNumber. All this time, I was assuming that this datatype is INT, but on a careful check, I found that the datatype of NationalIDNumber is nvarchar(15).</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseekdt.jpg" alt="" width="327" height="175" /></p>
<p style="text-align:justify;">In the SELECT statement, we were comparing the datatype of NVARCHAR to INT, and this was forcing the <strong>predicate </strong>operation while executing the query.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseekpre.jpg" alt="" width="492" height="668" /></p>
<p style="text-align:justify;">As discussed earlier, due to predicate operation, there has to be explicit conversion on the side of NationalIDNumber, which forces the query optimizer to not use the index and instead it has to scan the complete data in table to get the necessary data. This is not the desired solution. Index Scan reduces performance. The reason for this conversion is because I am using INT value in WHERE clause instead of NVARCHAR.</p>
<p style="text-align:justify;">I changed my WHERE clause and passed STRING as the parameter instead of INT.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- CTRL + M Removes Key Lookup and it enforces Index Seek<br />
-- Try 3<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:red;">'14417807'<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">After running the query with the changed WHERE clause, the Index Scan is now converted into Index Seek.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseek3.jpg" alt="" width="500" height="145" /></p>
<p style="text-align:justify;">Index Seek is definitely the most optimal solution in this particular scenario.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseekpre1.jpg" alt="" width="510" height="584" /></p>
<p style="text-align:justify;">When the detail execution plan was checked, I found the following two notable points. First, the predicate is converted to seek predicate, which is the reason for performance improvement, as described earlier. Instead of scanning data in the table, Index Seek is performed. Second, as the datatype of the NationalIDNumber is NVARCHAR and the parameters are passed as VARCHAR, the conversion happens on the parameters instead of NationalIDNumber column, and this forces Index Scan to Index Seek.</p>
<p style="text-align:justify;">If we pass the parameter as NVARCHAR instead of VARCHAR, the execution plan will remain the same, but CONVERT_IMPLICIT will not be required any more. Let us run the following query, which has NVARCHAR as the parameter.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- CTRL + M Removes Key Lookup and it enforces Index Seek and no CONVERT_IMPLICIT<br />
-- Try 4<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:red;">N'14417807'<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">The execution plan of the above query is very similar to that in which we had passed the parameter as VARCHAR.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/klseek3.jpg" alt="" width="500" height="145" /></p>
<p style="text-align:justify;">Now let us check the execution plan for the same.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseekpre2.jpg" alt="" width="502" height="675" /></p>
<p style="text-align:justify;">In the WHERE condition, the operators we have on both the sides of &#8220;=&#8221; are of NVARCHAR. NationalIDNumber and parameter passed – both are NVARCHAR, which has removed CONVERT_IMPLICIT. However, there are no changes in the execution plan.</p>
<p style="text-align:justify;"><strong>In summary, when Key Lookup is removed and index seek replaces index scan, the performance is tuned up. </strong>Let us quickly compare the execution plan of the above four options. I have included the complete code here for easy reference.</p>
<p><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">-- CTRL + M Enforces Key Lookup<br />
-- Try 1<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:black;">14417807<br />
GO<br />
</span><span style="color:green;">-- Create Non clustered Index<br />
</span><span style="color:blue;">CREATE NONCLUSTERED INDEX </span><span style="color:black;">[IX_HumanResources_Employee_Example] </span><span style="color:blue;">ON </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:gray;">(<br />
</span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">ASC</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:gray;">) </span><span style="color:blue;">ON </span><span style="color:black;">[PRIMARY]<br />
GO<br />
</span><span style="color:green;">--WAITFOR DELAY '00:00:30'<br />
-- CTRL + M Removes Key Lookup, but it still enforces Index Scan<br />
-- Try 2<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:black;">14417807<br />
GO<br />
</span><span style="color:green;">-- CTRL + M Removes Key Lookup and it enforces Index Seek<br />
-- Try 3<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:red;">'14417807'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- CTRL + M Removes Key Lookup and it enforces Index Seek and no CONVERT_IMPLICIT<br />
-- Try 4<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">NationalIDNumber</span><span style="color:gray;">, </span><span style="color:black;">HireDate</span><span style="color:gray;">, </span><span style="color:black;">MaritalStatus<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Employee<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">NationalIDNumber </span><span style="color:blue;">= </span><span style="color:red;">N'14417807'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">/* What is the reason for difference between Try 2 and Try 3?<br />
Check the exeuction plan<br />
*/<br />
-- Drop Index<br />
</span><span style="color:blue;">DROP INDEX </span><span style="color:black;">[IX_HumanResources_Employee_Example] </span><span style="color:blue;">ON </span><span style="color:black;">HumanResources.Employee </span><span style="color:blue;">WITH </span><span style="color:gray;">( </span><span style="color:black;">ONLINE </span><span style="color:blue;">= OFF </span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">Let us look at the execution plan.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/klseek.jpg" alt="" width="500" height="521" /></p>
<p style="text-align:justify;">Summary points:</p>
<ul style="text-align:justify;">
<li>In      general, Index Seek is better than Index Scan (I am not talking about it      depends conditions)</li>
<li>Understand      Predicates and Seek Predicates and see if you have only Seek Predicates.</li>
<li>In      case of key lookup or bookmark lookup, see if you can create a covering      index or included column index.</li>
<li>Use      the datatype wisely even though there is no change in the resultset.</li>
</ul>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Index, SQL Optimization, SQL Performance, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7088/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7088&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/09/sql-server-removing-key-lookup-seek-predicate-predicate-an-interesting-observation-related-to-datatypes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/klseek1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseek2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseekdt.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseekpre.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseek3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseekpre1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseek3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseekpre2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/klseek.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Stored Procedure are Compiled on First Run &#8211; SP taking Longer to Run First Time</title>
		<link>http://blog.sqlauthority.com/2009/11/08/sql-server-stored-procedure-are-compiled-on-first-run-sp-taking-longer-to-run-first-time/</link>
		<comments>http://blog.sqlauthority.com/2009/11/08/sql-server-stored-procedure-are-compiled-on-first-run-sp-taking-longer-to-run-first-time/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 01:30:34 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Stored Procedure]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Cache]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7164</guid>
		<description><![CDATA[During the PASS summit, one of the attendees asked me the following question.
Why the Stored Procedure takes long time to run for first time?
The reason for the same is because Stored Procedures are compiled when it runs first time. When I answered the same, he replied that Stored Procedures are pre-compiled, and this should not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7164&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">During the PASS summit, one of the attendees asked me the following question.</p>
<p style="text-align:justify;"><strong><em>Why the Stored Procedure takes long time to run for first time?</em></strong></p>
<p style="text-align:justify;"><strong>The reason for the same is because Stored Procedures are compiled when it runs first time. </strong>When I answered the same, he replied that Stored Procedures are pre-compiled, and this should not be the case. In fact, Stored Procedures are not pre-compiled; they compile only during their first time execution.</p>
<p style="text-align:justify;">There is a misconception that stored procedures are pre-compiled. They are not pre-compiled, but compiled only during the first run. For every subsequent runs, it is for sure pre-compiled.</p>
<p style="text-align:justify;">If you create any SP, you will find that there is no cache entry for the execution of that SP.</p>
<p style="text-align:justify;">After running the SP for the first time, the entry for the cache is made in the system.</p>
<p style="text-align:justify;">If we see the following script, we can notice the different of cache when SP was created and SP was executed.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">/* Exeercise to verify if stored procedure pre-compiled */<br />
</span><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">-- Clean Cache<br />
</span><span style="color:blue;">DBCC </span><span style="color:black;">FREEPROCCACHE<br />
GO<br />
</span><span style="color:blue;">IF </span><span style="color:gray;">EXISTS (</span><span style="color:blue;">SELECT </span><span style="color:gray;">* </span><span style="color:blue;">FROM </span><span style="color:black;">sys.objects </span><span style="color:blue;">WHERE </span><span style="color:magenta;">OBJECT_ID </span><span style="color:blue;">= </span><span style="color:magenta;">OBJECT_ID</span><span style="color:gray;">(</span><span style="color:red;">N'[dbo].[CompSP]'</span><span style="color:gray;">) AND </span><span style="color:black;">type </span><span style="color:blue;">IN </span><span style="color:gray;">(</span><span style="color:red;">N'P'</span><span style="color:gray;">, </span><span style="color:red;">N'PC'</span><span style="color:gray;">))<br />
</span><span style="color:blue;">DROP PROCEDURE </span><span style="color:black;">[dbo].[CompSP]<br />
GO<br />
</span><span style="color:green;">-- Create New Stored Procedure<br />
</span><span style="color:blue;">CREATE PROCEDURE </span><span style="color:black;">CompSP<br />
</span><span style="color:blue;">AS<br />
SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Department<br />
GO<br />
</span><span style="color:green;">-- Check the Query Plan for SQL Batch<br />
-- You will find that there is no ObjectName with CompSP<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">cp.objtype </span><span style="color:blue;">AS </span><span style="color:black;">PlanType</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">OBJECT_NAME</span><span style="color:gray;">(</span><span style="color:black;">st.objectid</span><span style="color:gray;">,</span><span style="color:black;">st.dbid</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ObjectName</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.refcounts </span><span style="color:blue;">AS </span><span style="color:black;">ReferenceCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.usecounts </span><span style="color:blue;">AS </span><span style="color:black;">UseCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">st.</span><span style="color:blue;">TEXT AS </span><span style="color:black;">SQLBatch</span><span style="color:gray;">,<br />
</span><span style="color:black;">qp.query_plan </span><span style="color:blue;">AS </span><span style="color:black;">QueryPlan<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_exec_cached_plans </span><span style="color:blue;">AS </span><span style="color:black;">cp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_query_plan</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">qp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">st</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">/* Execute Stored Procedure */<br />
</span><span style="color:blue;">EXEC </span><span style="color:black;">CompSP<br />
GO<br />
</span><span style="color:green;">-- Check the Query Plan for SQL Batch<br />
-- You will find that there is one entry with name ObjectName with name CompSP<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">cp.objtype </span><span style="color:blue;">AS </span><span style="color:black;">PlanType</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">OBJECT_NAME</span><span style="color:gray;">(</span><span style="color:black;">st.objectid</span><span style="color:gray;">,</span><span style="color:black;">st.dbid</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ObjectName</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.refcounts </span><span style="color:blue;">AS </span><span style="color:black;">ReferenceCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.usecounts </span><span style="color:blue;">AS </span><span style="color:black;">UseCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">st.</span><span style="color:blue;">TEXT AS </span><span style="color:black;">SQLBatch</span><span style="color:gray;">,<br />
</span><span style="color:black;">qp.query_plan </span><span style="color:blue;">AS </span><span style="color:black;">QueryPlan<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_exec_cached_plans </span><span style="color:blue;">AS </span><span style="color:black;">cp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_query_plan</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">qp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">st</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">The result set of above query is as following.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SPComp.jpg" alt="" width="500" height="396" /></p>
<p style="text-align:justify;">The above script to find out the cache is taken from the white paper <a href="http://blog.sqlauthority.com/2009/08/29/sql-server-plan-caching-in-sql-server-2008-by-greg-low/" target="_blank"><strong>SQL SERVER – Plan Caching in SQL Server 2008 by Greg Low</strong></a>. You can also read my follow up article <a href="http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/" target="_blank"><strong>SQL SERVER – Plan Caching and Schema Change – An Interesting Observation</strong></a>, where I have given an interesting conversation with Greg Low.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Interview Questions and Answers, SQL Query, SQL Scripts, SQL Server, SQL Stored Procedure, SQL Tips and Tricks, T SQL, Technology Tagged: SQL Cache <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7164&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/08/sql-server-stored-procedure-are-compiled-on-first-run-sp-taking-longer-to-run-first-time/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SPComp.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Data Compression Strategy Capacity Planning and Best Practices</title>
		<link>http://blog.sqlauthority.com/2009/11/07/sqlauthority-news-data-compression-strategy-capacity-planning-and-best-practices/</link>
		<comments>http://blog.sqlauthority.com/2009/11/07/sqlauthority-news-data-compression-strategy-capacity-planning-and-best-practices/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 01:30:34 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Data Storage]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL White Papers]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Compression]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7162</guid>
		<description><![CDATA[The data compression feature in SQL Server 2008 helps compress the data inside a database, and it can help reduce the size of the database. Apart from the space savings, data compression provides another benefit: Because compressed data is stored in fewer pages, queries need to read fewer pages from the disk, thereby improving the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7162&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">The data compression feature in SQL Server 2008 helps compress the data inside a database, and it can help reduce the size of the database. Apart from the space savings, data compression provides another benefit: Because compressed data is stored in fewer pages, queries need to read fewer pages from the disk, thereby improving the performance of I/O intensive workloads. However, extra CPU resources are required on the database server to compress and decompress the data, while data is exchanged with the application. Therefore, it is important to understand the workload characteristics when deciding which tables to compress.</p>
<p style="text-align:justify;">This white paper provides guidance on the following:</p>
<ul style="text-align:justify;">
<li>How to decide which tables and indexes to compress</li>
<li>How to estimate the resources required to compress a      table</li>
<li>How to reclaim space released by data compression</li>
<li>The performance impacts of data compression on      typical workloads</li>
</ul>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/datatde.jpg" alt="" width="598" height="293" /></p>
<p style="text-align:justify;"><strong><a href="http://technet.microsoft.com/en-us/library/dd894051.aspx" target="_blank">Read Whitepaper: Data Compression Strategy Capacity Planning and Best Practices</a></strong></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Data Storage, SQL Query, SQL Server, SQL Tips and Tricks, SQL White Papers, SQLAuthority News, T SQL, Technology Tagged: Compression <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7162&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/07/sqlauthority-news-data-compression-strategy-capacity-planning-and-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/datatde.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL PASS Summit, Seattle 2009 &#8211; Day 4</title>
		<link>http://blog.sqlauthority.com/2009/11/06/sqlauthority-news-sql-pass-summit-seattle-2009-day-4/</link>
		<comments>http://blog.sqlauthority.com/2009/11/06/sqlauthority-news-sql-pass-summit-seattle-2009-day-4/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL PASS]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7159</guid>
		<description><![CDATA[Fourth day was awesome! I had scheduled nearly 8 meetings with different groups of people today. It was really great fun. Let us see the keypoints for the same.

PASS      President Wayne Snyder honored and thanked Kevin Kline for his 10 YEARS of      service.
Kevin   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7159&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Fourth day was awesome! I had scheduled nearly 8 meetings with different groups of people today. It was really great fun. Let us see the keypoints for the same.</p>
<ul style="text-align:justify;">
<li>PASS      President Wayne Snyder honored and thanked Kevin Kline for his 10 YEARS of      service.</li>
<li>Kevin      then gets a well-deserved standing ovation from the entire audience.</li>
<li>Next      year’s PASS Summit will be in Seattle from November 8 to 11, 2010.</li>
<li>Dell      Key note was little flat in delivery. Dell was primary sponsor for the      event.</li>
<li>Dr.      David DeWitt, Technical Fellow, Data &amp; Storage Platform Division at      Microsoft starts presentation entitled “From 1 to 1000 MIPS.” One of the      best sessions I ever had in my life.</li>
</ul>
<p style="text-align:justify;">The keynote was followed by several meetings. There was lot of food, drinks and entertainment all around. I received so much swag that I had to get brand new bag to contain the same. I will post the photos of the stuff that received once I reach home. I will be heading towards airport in next 15 minutes. So, I will be disconnected from the Internet for 36 hours once I board the flight. I am uploading only 2–3 photos at this moment. Check here again as I have nearly 30 more photos to share.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS404.jpg" alt="" width="500" height="375" /></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Buck Woody Presenting Excellent Funny Session" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS410.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Buck Woody Presenting Excellent Funny Session</dd>
</dl>
</div>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS407.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">I really enjoyed the summit. I will post the in-depth summary of my whole trip to USA once I reach home. Thank you PASS; I will come here next year!</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
Posted in MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: PASS, SQL PASS <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7159&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/06/sqlauthority-news-sql-pass-summit-seattle-2009-day-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS404.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS410.jpg" medium="image">
			<media:title type="html">Buck Woody Presenting Excellent Funny Session</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS407.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL PASS Summit, Seattle 2009 &#8211; Day 3</title>
		<link>http://blog.sqlauthority.com/2009/11/05/sqlauthority-news-sql-pass-summit-seattle-2009-day-3/</link>
		<comments>http://blog.sqlauthority.com/2009/11/05/sqlauthority-news-sql-pass-summit-seattle-2009-day-3/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL PASS]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7156</guid>
		<description><![CDATA[The third day at SQL PASS Summit was education + entertainment day for me. During the last 10 days, I woke up at 4:00 AM regularly. However, as I had way too much fun yesterday at various parties earlier, I did not get up till 7:30 AM. By the time I woke up, I realized [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7156&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">The third day at SQL PASS Summit was education + entertainment day for me. During the last 10 days, I woke up at 4:00 AM regularly. However, as I had way too much fun yesterday at various parties earlier, I did not get up till 7:30 AM. By the time I woke up, I realized that I was late for my early breakfast meeting with Solid Quality Global Mentors. I somehow managed to reach there at 8:00 AM and we talked for nearly an hour. After the meeting, I headed to Keynote. Keynote is the best time of the day and wanton one wants to miss it.</p>
<p style="text-align:justify;">I actively cover all my activities on twitter. So do<a href="http://twitter.com/pinaldave" target="_blank"><strong> follow me</strong></a> on <a href="http://twitter.com/pinaldave" target="_blank">twitter</a> for the updates!</p>
<p style="text-align:justify;">Today&#8217;s Keynote was extremely entertaining and educating. Audience was seen having a great time at various demos. I wished that all our technical sessions should be like this session as it was one of the excellent demos. Let us see few quick notes from the Keynote.</p>
<ul style="text-align:justify;">
<li>Rushabh Mehta &#8211; President Elect started the keynote asking      humorous question why there is no free drink at PASS and explained the      budget</li>
<li>Projected revenues in FY 2010 are $3.2 million, a 15% drop in      revenues, while there was a 40% increase in community spending. There was      67% reduction in IT expenses</li>
<li>Jacob Sebastian, the PASS Outreach Program leader, was      recognized for his excellent leadership</li>
<li>Charley Hanania and Allen Kinsel won PASSion Award</li>
<li>Tom Casey, GM, Business Intelligence and Amir Netz presented      excellent demos and future vision</li>
<li>Power pivot demos were excellent and warmly welcomed by community</li>
<li>Touchscreen Powerpivot demo was the major highlight of the Keynote</li>
</ul>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Keynote at SQLPASS" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS301.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Keynote at SQLPASS</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Keynote at SQLPASS" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS309.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Keynote at SQLPASS</dd>
</dl>
</div>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS310.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">I attended technical session of <a href="http://www.solidq.in/" target="_blank"><strong>Rushabh Mehta</strong></a> (President Elect for PASS, SQL Server MVP and CEO, Solid Quality India). He talked about &#8216;Overcome SSIS Deployment and Configuration Challenges&#8217;. Now, who knew that it would be very humorous session? Rushabh started the session with reference to the movie &#8216;What About Bob?&#8217; and kept the whole session as story line of the movie. Many of us will agree that subjects like SSIS, deployment issues and configuration complexity are very dry subjects. However, with audience interaction and the presentation of this technically complex subject in simple words, the whole session was the highlight of the day. I confess that I am expert in BI, but not someone who knew it inside out. In fact, I am intrigued to learn more about this particular subject after attending this excellent session. I have requested Rushabh to spend some time with me and explain the extension of this subject.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Rushabh Mehta Presenting" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS306.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Rushabh Mehta Presenting</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Rushabh Mehta Presenting" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS307.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Rushabh Mehta Presenting</dd>
</dl>
</div>
<p style="text-align:justify;">I had many different meetings scheduled today. All of them were successful. I managed to run around the exhibition hall and meet many different MS vendors. I really enjoyed meeting them and I also learned about the upcoming technology. One of the vendors really impressed me with an excellent demo; I have requested the full evaluation version for their software. If they provide me the same, I will try that out and post my review here soon. If their software meets my expectations I have built after seeing the demo, I will sincerely wish to see them go mainstream with that product.<img title="Steven Jones in Kilt" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS302.jpg" alt="" width="500" height="666" /></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dd class="wp-caption-dd">Steven Jones in Kilt</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Jacob, Pinal and Jean Rene Roy" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS303.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Jacob, Pinal and Jean Rene Roy</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Microsoft Learning Center" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS305.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Microsoft Learning Center</dd>
</dl>
</div>
<p style="text-align:justify;">During evening, I had two different parties to attend and both party were rockstar party. It is so interesting that no matter how many different parties we go, we usually find the same people walking around. I found very strong presence of Microsoft in both the parties. Party hosted by Solid Quality Mentors had excellent food and drinks. I met many different SQL Experts there and we did NOT talk SQL. It was party and time to relax! As there was such a fun, I was late to attend the party of Microsoft which was hosted at Gameworks. Everybody went crazy with the games. Lots of game, food and drinks again here as well.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Gameworks party" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS308.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Gameworks party</dd>
</dl>
</div>
<p style="text-align:justify;">In the evening, I attended two different parties and both the parties were rocking to the fullest. It is so interesting that no matter how many different parties we go, we usually find the same people walking around. I found a strong presence of Microsoft in both the parties. Party hosted by Solid Quality Mentors had excellent food and drinks. I met many different SQL Experts there and we did NOT talk SQL! It was party and time to relax! As there was so much fun, I was almost late to attend the party of Microsoft, which was hosted at Gameworks. Everybody went crazy with lots of games, food, and drinks.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS304.jpg" alt="" width="500" height="666" /></p>
<p style="text-align:justify;">I just enjoyed the third day of the summit. Just one more day to go – I just wish this summit never ends. However, I strongly miss my family and especially my 2-month old daughter (and wife! – i know its clichéd but its true!!).</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: PASS, SQL PASS <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7156&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/05/sqlauthority-news-sql-pass-summit-seattle-2009-day-3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS301.jpg" medium="image">
			<media:title type="html">Keynote at SQLPASS</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS309.jpg" medium="image">
			<media:title type="html">Keynote at SQLPASS</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS310.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS306.jpg" medium="image">
			<media:title type="html">Rushabh Mehta Presenting</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS307.jpg" medium="image">
			<media:title type="html">Rushabh Mehta Presenting</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS302.jpg" medium="image">
			<media:title type="html">Steven Jones in Kilt</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS303.jpg" medium="image">
			<media:title type="html">Jacob, Pinal and Jean Rene Roy</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS305.jpg" medium="image">
			<media:title type="html">Microsoft Learning Center</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS308.jpg" medium="image">
			<media:title type="html">Gameworks party</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS304.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL PASS Summit, Seattle 2009 &#8211; Day 2</title>
		<link>http://blog.sqlauthority.com/2009/11/04/sqlauthority-news-sql-pass-summit-seattle-2009-day-2/</link>
		<comments>http://blog.sqlauthority.com/2009/11/04/sqlauthority-news-sql-pass-summit-seattle-2009-day-2/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 01:30:50 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL PASS]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7154</guid>
		<description><![CDATA[The second day of PASS started with very engaging and it started with an original game invented by Stuart Ainsworth. This game involves finding twitter people in real life. As I was not one of the square in bingo, I had decided to participate in game myself and try to win if I can. During [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7154&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">The second day of PASS started with very engaging and it started with an original game invented by <a href="http://bradmcgehee.com/2009/11/tuesday-at-the-pass-community-summit/" target="_blank">Stuart Ainsworth</a>. This game involves finding twitter people in real life. As I was not one of the square in bingo, I had decided to participate in game myself and try to win if I can. During this process, I felt guilty that I borrowed a pen from Stuart and did not return it back. In fact, after a while someone took the pen from me and never returned it. It is true that karma pays off! I should have returned it right away.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Keynote at SQLPASS" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS201.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Keynote at SQLPASS</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Keynote" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS202.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Keynote</dd>
</dl>
</div>
<p style="text-align:justify;">Well one very first thing in the day was having breakfast with SQL friends. I met few more celebrities and Arnie Rowland again, who is a genius and very friendly. We all headed towards Keynote at around at 10 PM. The Keynote was great; it started with very interesting details. The current PASS President presented few photos before starting the session. They are as follows:</p>
<ul style="text-align:justify;">
<li>Year      2009 PASS registration is 2,200 for the full day event</li>
<li>24      hours of PASS had 50,123 session registrations from 3,524 people of 70+      countries</li>
<li>SQL      Server Standard is coming back</li>
<li>Microsoft’s      Bob Muglia talked about SQL Server on the very first day and its future,      and he covered few interesting demos as well</li>
<li>Microsoft&#8217;s      Ted Kummert talked about PASS and reasons to attend PASS. He also      presented few testimonies from the customers and interesting demos</li>
</ul>
<p style="text-align:justify;">Once the session was over, I headed to SQLFool aka <a href="http://sqlfool.com/" target="_blank">Michelle Ufford</a>&#8217;s session on Index Optimization session. As I mentioned earlier, she is one expert who should be respected for her extraordinary skills for index optimization.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Michelle Ufford" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS203.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Michelle Ufford</dd>
</dl>
</div>
<p style="text-align:justify;">During lunch we had wonderful event called Features of Birds MVP Lunch. During this event, I talked about <a href="http://blog.sqlauthority.com/2009/09/01/sql-server-download-script-of-change-data-capture-cdc/" target="_blank">Change Data Capture (CDC)</a>. I was very fortunate that many people showed up at my table. I really hoped that I could have accommodated everybody; however, the table capacity was only 10. I promise to all of those who missed that I will do special online session.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Pinal on table of Change Data Capture" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS206.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Pinal on table of Change Data Capture</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="At Lunch - Birds of Feathers" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS207.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">At Lunch &#8211; Birds of Feathers</dd>
</dl>
</div>
<p style="text-align:justify;">Michelle&#8217;s session was followed up by <a href="http://beyondrelational.com/blogs/jacob/" target="_blank">Jacob Sebastian</a>&#8217;s session. This session was attended by a large group of XML fans. Just like any other session of Jacob, this session was very well received, and he got a lot of good feedback. Jacob is officially the human XML.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Jacob Sebastian" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS209.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Jacob Sebastian</dd>
</dl>
</div>
<p style="text-align:justify;">After these two back–to-back sessions, I felt that I have learned quite a lot for one day. With that confidence, I went to exhibition hall. In the hall, I met so many really cool people whom I always wanted to meet. I also received a lot of giveaways at the expo – 9 T-Shirts, 3 candy boxes, 1 tote bag, and 2 sweet little ducks. I am sure Shaivi (my two-month-old daughter) is going to love those little ducks.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Little Ducks" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS211.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Little Ducks</dd>
</dl>
</div>
<p style="text-align:justify;">In the evening, Microsoft threw a very interesting party for all the Microsoft MVPs and it was great fun. Jacob and I were almost lost our way to the party location. We had to hire taxi to reach the location. The taxi driver asked us so many questions that we felt like we were at the prison interrogation location. However, the journey (which seemed a year long) was less than a mile! I met many friends and MS employees there. It was a very great place for interacting with everyone.</p>
<p style="text-align:justify;"><img title="Party Evening" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS210.jpg" alt="" width="500" height="375" /></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dd class="wp-caption-dd">Party Evening</dd>
</dl>
</div>
<p style="text-align:justify;">Overall, today went great at SQL PASS; I am eagerly looking forward to the upcoming events in the following two days.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Jonathan Kehayias and Pinal Dave" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS200.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Jonathan Kehayias and Pinal Dave</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Ross Mistry and Pinal Dave" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS205.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Ross Mistry and Pinal Dave</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Pinal Dave presenting at PASS" src="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS208.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Pinal Dave at PASS</dd>
</dl>
</div>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: PASS, SQL PASS <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7154&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/04/sqlauthority-news-sql-pass-summit-seattle-2009-day-2/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS201.jpg" medium="image">
			<media:title type="html">Keynote at SQLPASS</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS202.jpg" medium="image">
			<media:title type="html">Keynote</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS203.jpg" medium="image">
			<media:title type="html">Michelle Ufford</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS206.jpg" medium="image">
			<media:title type="html">Pinal on table of Change Data Capture</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS207.jpg" medium="image">
			<media:title type="html">At Lunch - Birds of Feathers</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS209.jpg" medium="image">
			<media:title type="html">Jacob Sebastian</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS211.jpg" medium="image">
			<media:title type="html">Little Ducks</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS210.jpg" medium="image">
			<media:title type="html">Party Evening</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS200.jpg" medium="image">
			<media:title type="html">Jonathan Kehayias and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS205.jpg" medium="image">
			<media:title type="html">Ross Mistry and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SQLPASS2009/SQLPASS208.jpg" medium="image">
			<media:title type="html">Pinal Dave presenting at PASS</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL PASS Summit, Seattle 2009 &#8211; Day 1</title>
		<link>http://blog.sqlauthority.com/2009/11/03/sqlauthority-news-sql-pass-summit-seattle-2009-day-1/</link>
		<comments>http://blog.sqlauthority.com/2009/11/03/sqlauthority-news-sql-pass-summit-seattle-2009-day-1/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 01:30:06 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL PASS]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7152</guid>
		<description><![CDATA[Day 1 at PASS was awesome. I usually write everything in detail when I have to cover any project. This time, I have decided to cover this event little bit differently and with lots of images. For day 1, I have more than 90 photos taken with many SQL celebrities and different sessions. I will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7152&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Day 1 at PASS was awesome. I usually write everything in detail when I have to cover any project. This time, I have decided to cover this event little bit differently and with lots of images. For day 1, I have more than <strong>90 photos</strong> taken with many SQL celebrities and different sessions. I will be not able to cover all the photos taken today in this post. I will gradually post all the photos as I will do follow up posts. In this post, I will cover my activities on day 1 as well few of the photos that give you a visual tour of the spot that I have covered in one day.</p>
<p style="text-align:justify;">Yesterday I went to city tour where I had walked on the streets of Seattle and had lots of fun. I went on an underground tour in Seattle and then got back to registration desk for registration. Day 1 started great; while I was going to checkout the venue, I had meet Blythe Morrow on my way to Seattle Convention Center. I consider this as great start of SQL PASS event as she has put in considerable work to make this event a success.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Bill, Blythe, Pinal" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (3).jpg" alt="" width="375" height="500" /></dt>
<dd class="wp-caption-dd">Bill, Blythe, Pinal</dd>
</dl>
</div>
<p style="text-align:justify;">Being a vegetarian, thus far I have never faced any difficulties finding good food in USA.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Veg Maxican Meal" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (2).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Veg Maxican Meal</dd>
</dl>
</div>
<p style="text-align:justify;">Not every one know that the name “Seattle”is native American name, and it was taken from the name of the Native American tribe chief, Seattle. Please visit this wiki article to read further on <a href="http://en.wikipedia.org/wiki/Seattle" target="_blank">Seattle City</a>.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Chief Seattle" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (5).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Chief Seattle</dd>
</dl>
</div>
<p style="text-align:justify;">I was also mesmerized with the set up at SQL Pass Summit. SQL PASS Head Quarter has put in considerable efforts in making this event successful.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="SQL PASS Summit 2009" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (4).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">SQL PASS Summit 2009</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="PASS Registration" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (14).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">PASS Registration</dd>
</dl>
</div>
<p style="text-align:justify;">I met many of the SQL celebrities during my very first day. As I mentioned earlier, I managed to click around 80 photos of the legends. I will share all of them soon.</p>
<p style="text-align:justify;">PASS event is a community event, and the community is heavily encouraged. I was very fortunate to meet two of the very active community leaders in my meeting. They amaze me with their dedication to help the SQL Server Community: Joe Webb and Arnie Rowland.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Community Leads - Joe Webb, Pinal Dave and Arnie Rowland" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (12).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Community Leads &#8211; Joe Webb, Pinal Dave and Arnie Rowland</dd>
</dl>
</div>
<p style="text-align:justify;">I have previously mentioned that if I want to be like someone in SQL Community, it would be <a href="http://www.sqlservercentral.com/Authors/Articles/Steve_Jones" target="_blank">Steve Jones</a>. He is the founder and current manager for the extremely popular site SQLServerCentral.com. The reason I aspire to be like him is that he is a very nice down-to-earth person who is always smiling. I also attended his SSC Party on day 1.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class=" " title="Pinal Dave and Good Old Friend Steve Jones" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (13).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Pinal Dave and Good Old Friend Steve Jones</dd>
</dl>
</div>
<p style="text-align:justify;">I have mentioned about <a href="http://www.brentozar.com/" target="_blank">Brent Ozar</a> several times on our blog. He is the only person with spectacles besides me in following image. I have been very eager to meet him for many years and early morning, I got the opportunity to have breakfast with him and many other SQL Celebrities. I will write in detail about other members in the image in a separate blog post.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Brent Ozar (very left) and Excellet Fellow SQL Enthusiast" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (10).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Brent Ozar (very left) and Excellet Fellow SQL Enthusiast</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Midnight DBAs - (Sean and Jen) and Pinal" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (7).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Midnight DBAs &#8211; (Sean and Jen) and Pinal</dd>
</dl>
</div>
<p style="text-align:justify;">I have previously blogged about SQLFool for her excellent<a href="http://blog.sqlauthority.com/2009/04/04/sql-server-automated-index-defragmentation-script/" target="_blank"> Automated Index Defrag Script</a>, and I was very lucky to meet her on the very first day.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Pinal Dave and Michelle Ufford (SQLFool)" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (8).jpg" alt="" width="500" height="375" /> </dt>
<dd class="wp-caption-dd">Pinal Dave and Michelle Ufford (SQLFool)</dd>
</dl>
</div>
<p style="text-align:justify;">During evening I had delicious dinner along with PASS Regional Mentors. New President Elect<a href="http://blog.sqlauthority.com/2009/10/31/sqlauthority-news-new-pass-president-rushabh-mehta/" target="_blank"> Rushabh Mehta</a> was also present the event to encourage our efforts.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="SQL Server Regional Mentor Team and Rushabh Mehta" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (9).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">SQL Server Regional Mentor Team and Rushabh Mehta</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Allen White (with his wife), Jacob Sebastian and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (6).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Allen White (with his wife), Jacob Sebastian and Pinal Dave</dd>
</dl>
</div>
<p style="text-align:justify;">Overall, the first day went pretty well, I met many more experts and learned a lot of new tricks. I am looking forward to the second day of the event.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="SQL PASS Summit 2009 and Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (11).jpg" alt="" width="500" height="666" /></dt>
<dd class="wp-caption-dd">SQL PASS Summit 2009 and Pinal Dave</dd>
</dl>
</div>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="PASS Quizbowl" src="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (15).jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">PASS Quizbowl</dd>
</dl>
</div>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: PASS, SQL PASS <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7152&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/03/sqlauthority-news-sql-pass-summit-seattle-2009-day-1/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (3).jpg" medium="image">
			<media:title type="html">Bill, Blythe, Pinal</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (2).jpg" medium="image">
			<media:title type="html">Veg Maxican Meal</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (5).jpg" medium="image">
			<media:title type="html">Chief Seattle</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (4).jpg" medium="image">
			<media:title type="html">SQL PASS Summit 2009</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (14).jpg" medium="image">
			<media:title type="html">PASS Registration</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (12).jpg" medium="image">
			<media:title type="html">Community Leads - Joe Webb, Pinal Dave and Arnie Rowland</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (13).jpg" medium="image">
			<media:title type="html">Pinal Dave and Good Old Friend Steve Jones</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (10).jpg" medium="image">
			<media:title type="html">Brent Ozar (very left) and Excellet Fellow SQL Enthusiast</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (7).jpg" medium="image">
			<media:title type="html">Midnight DBAs - (Sean and Jen) and Pinal</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (8).jpg" medium="image">
			<media:title type="html">Pinal Dave and Michelle Ufford (SQLFool)</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (9).jpg" medium="image">
			<media:title type="html">SQL Server Regional Mentor Team and Rushabh Mehta</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (6).jpg" medium="image">
			<media:title type="html">Allen White (with his wife), Jacob Sebastian and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (11).jpg" medium="image">
			<media:title type="html">SQL PASS Summit 2009 and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/sqlpass1 (15).jpg" medium="image">
			<media:title type="html">PASS Quizbowl</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; 3 Year Old Blog &#8211; PASS Summit 2009 &#8211; 10.5 Million Views</title>
		<link>http://blog.sqlauthority.com/2009/11/02/sqlauthority-news-3-year-old-blog-pass-summit-2009-10-5-million-views/</link>
		<comments>http://blog.sqlauthority.com/2009/11/02/sqlauthority-news-3-year-old-blog-pass-summit-2009-10-5-million-views/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 01:30:48 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[SQL Milestone]]></category>
		<category><![CDATA[SQL PASS]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7147</guid>
		<description><![CDATA[This blog has reached a remarkable milestone. It is 3 years old today. So far, there have been more than 10.5 million views on this blog and more than 1140 articles. It is really exciting that on this very important day, I am attending my very first SQL PASS in Seattle. The feeling and excitement [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7147&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">This blog has reached a remarkable milestone. It is <strong>3 years</strong> old today. So far, there have been more than <strong>10.5 million</strong> views on this blog and more than<strong> 1140 articles</strong>. It is really exciting that on this very important day, I am attending my very first SQL PASS in Seattle. The feeling and excitement to attend the very first summit cannot be put into words. I have been waiting to attend this summit for almost a year now, and today this dream is materializing with my blog’s “<strong>birthday</strong>.”</p>
<p style="text-align:justify;">You can read <strong><a href="http://blog.sqlauthority.com/best_top_sql_server_blog_all_post/" target="_blank">all of my articles</a></strong> written thus far here. I will keep you updated with my daily activities at SQL PASS. You can follow me on <strong><a href="http://www.twitter.com/pinaldave" target="_blank">twitter </a></strong>as well, where I update my status on the same.</p>
<p style="text-align:justify;">Thanks again for staying with me to make this blog a community event as well. Surprisingly, first November has always been a significant day in my life. In fact, three years ago when I started writing, I never thought of reaching this milestone.</p>
<p style="text-align:left;"><span style="color:#003366;">1st Nov <strong>2009 </strong>– At my very first SQL PASS Summit, Seattle 2009<br />
1st Nov <strong>2008 </strong>– Ended my 1 year Outsourcing Manager contract and planned to join SolidQ<br />
1st Nov <strong>2007 </strong>– Left USA after 7 years and headed back to India as a permanent resident<br />
1st Nov <strong>2006 </strong>– Birth of  SQLAuthority.com</span></p>
<p style="text-align:justify;">My humble and sincere thanks to the almighty and my family for their unconditional support.</p>
<p style="text-align:justify;">I have got lots of request for photos of <strong>Shaivi Pinal Dave</strong> (my daughter). Here are few photos.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Nupur, Shaivi and Pinal" src="http://www.pinaldave.com/bimg/Shaivi1.jpg" alt="" width="500" height="375" /><p class="wp-caption-text">Nupur, Shaivi and Pinal</p></div>
<div class="wp-caption alignnone" style="width: 510px"><img title="Shaivi Dave" src="http://www.pinaldave.com/bimg/Shaivi2.jpg" alt="" width="500" height="375" /><p class="wp-caption-text">Shaivi Dave</p></div>
<p>Here is the photos of my current superiors (boss!). Thank you very much to you as well. Following photos is taken just 2 hour before this blog post in Sheraton Lobby Downtown Seattle.</p>
<div class="wp-caption alignnone" style="width: 510px"><img title="Fernando Guerrero, Rushabh Mehta, Pinal Dave" src="http://www.pinaldave.com/bimg/sqlpass2009/boss.jpg" alt="" width="500" height="375" /><p class="wp-caption-text">Fernando Guerrero, Rushabh Mehta, Pinal Dave</p></div>
<p style="text-align:justify;">Please note : Though this post is meant to be posted for 1st Nov India time. However, as I am in USA and due to time difference of 13.5 hours, it is posted on 1st Nov US time, which translates as 2nd Nov India time.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong><strong></strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: PASS, SQL Milestone, SQL PASS <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7147&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/11/02/sqlauthority-news-3-year-old-blog-pass-summit-2009-10-5-million-views/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/Shaivi1.jpg" medium="image">
			<media:title type="html">Nupur, Shaivi and Pinal</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/Shaivi2.jpg" medium="image">
			<media:title type="html">Shaivi Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlpass2009/boss.jpg" medium="image">
			<media:title type="html">Fernando Guerrero, Rushabh Mehta, Pinal Dave</media:title>
		</media:content>
	</item>
	</channel>
</rss>