<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Journey to SQL Authority with Pinal Dave</title><link>http://blog.sqlauthority.com</link><description>Notes of a SQL Server MVP and Database Administrator</description><language>en</language><image><link>http://blog.sqlauthority.com</link><url>http://www.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&amp;d=http://s.wordpress.com/i/buttonw-com.png</url><title>Journey to SQL Authority with Pinal Dave</title></image><lastBuildDate>Sat, 28 Nov 2009 17:30:59 PST</lastBuildDate><generator>http://wordpress.com/</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/SQLAuthority" type="application/rss+xml" /><feedburner:emailServiceId>SQLAuthority</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FSQLAuthority" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FSQLAuthority" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FSQLAuthority" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/SQLAuthority" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FSQLAuthority" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FSQLAuthority" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FSQLAuthority" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:browserFriendly>Journey to SQL Authority with Pinal Dave http://www.SQLAuthority.com</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>SQL SERVER – Azure Start Guide – Step by Step Installation Guide</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/UgDvA1USKDI/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>T SQL</category><category>Technology</category><category>SQL Azure</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Sat, 28 Nov 2009 17:30:59 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7439</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">As SQL Azure CTP is released I have included here step by step guide for how to configure the CTP.</p>
<p style="text-align:justify;">For pricing and introduction please read <a href="http://blog.sqlauthority.com/2009/07/21/sqlauthority-news-sql-azure-microsoft-sql-data-services-introduction-and-pricing/" target="_blank">SQLAuthority News – SQL Azure – Microsoft SQL Data Services – Introduction and Pricing</a></p>
<p style="text-align:justify;">First it has to be configured online at <a href="https://sql.azure.com/" target="_blank">https://sql.azure.com/</a></p>
<p style="text-align:justify;">Login using your Live ID</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure1.jpg" alt="" width="427" height="259" /></p>
<p style="text-align:justify;">Type in invitation code received from Microsoft for CTP. You can request one for your self <strong><a href="https://connect.microsoft.com/SelfNomination.aspx?ProgramID=2089&amp;pageType=1&amp;SiteID=547" target="_blank">here</a></strong>.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure2.jpg" alt="" /></p>
<p style="text-align:justify;">Accept the TOU.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure3.jpg" alt="" /></p>
<p style="text-align:justify;">Once logged it you will have to create server username and password.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure4.jpg" alt="" /></p>
<p style="text-align:justify;">Click on my project and it will provide you details about your servername where your data is going to be stored in Azure.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure5.jpg" alt="" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure6.jpg" alt="" /></p>
<p style="text-align:justify;">Currently default database is master database. Click on &#8216;Create Database&#8217; button to create new user defined database.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure7.jpg" alt="" /></p>
<p style="text-align:justify;">After please switch to Firewall Settings tab and click on checkbox &#8220;Allow Microsoft Services Access to this server&#8221;.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure8.jpg" alt="" /></p>
<p style="text-align:justify;">Select the first rule and click on &#8220;Edit Rule&#8221;. Che the value of to IP range to either your static IP only for security purpose. If due to any reason, you want to leave it open so you can connect to your Azure from any where keep the From IP to 0.0.0.0 and change the to IP to 255.255.255.255.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure9.jpg" alt="" /></p>
<p style="text-align:justify;">After the change the settings should look like following image.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure10.jpg" alt="" /></p>
<p style="text-align:justify;">Now the next step is to connect to SQL Azure from SQL Server Management Studio. When you open SQL Server Management Studio, it opens up the connection window. CLOSE IT!</p>
<p style="text-align:justify;"><em><strong>Now click on New Query.</strong></em></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure11.jpg" alt="" /></p>
<p style="text-align:justify;">Once click on new query enter username and password as well the servername noted earlier and click on connect. It should connect fine and new query window with master as default database should be displayed. You can start writing any query in New Query Window and result will be visible in Result Window.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/SQLAzure/sqlazure12.jpg" alt="" /></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<p style="text-align:justify;">
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, T SQL, Technology Tagged: SQL Azure <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7439/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7439&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/d26NknfvUWykP8IQXn0YkJnP-tI/0/da"><img src="http://feedads.g.doubleclick.net/~a/d26NknfvUWykP8IQXn0YkJnP-tI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/d26NknfvUWykP8IQXn0YkJnP-tI/1/da"><img src="http://feedads.g.doubleclick.net/~a/d26NknfvUWykP8IQXn0YkJnP-tI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UgDvA1USKDI:YQFcXBR8EK0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UgDvA1USKDI:YQFcXBR8EK0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UgDvA1USKDI:YQFcXBR8EK0:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UgDvA1USKDI:YQFcXBR8EK0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=UgDvA1USKDI:YQFcXBR8EK0:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/UgDvA1USKDI" height="1" width="1"/>]]></content:encoded><description>As SQL Azure CTP is released I have included here step by step guide for how to configure the CTP.
For pricing and introduction please read SQLAuthority News – SQL Azure – Microsoft SQL Data Services – Introduction and Pricing
First it has to be configured online at https://sql.azure.com/
Login using your Live ID

Type in invitation code received [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7439&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/29/sql-server-azure-start-guide-step-by-step-installation-guide/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure1.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure2.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure3.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure4.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure5.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure6.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure7.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure8.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure9.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure10.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure11.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/SQLAzure/sqlazure12.jpg" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/29/sql-server-azure-start-guide-step-by-step-installation-guide/</feedburner:origLink></item><item><title>SQLAuthority News – SQL Server R2 Resources Downloads, Documentations</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/mFD_sU65FFU/</link><category>Data Warehousing</category><category>Database</category><category>Pinal Dave</category><category>SQL</category><category>SQL Add-On</category><category>SQL Authority</category><category>SQL Documentation</category><category>SQL Download</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQL White Papers</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Fri, 27 Nov 2009 17:30:10 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7433</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=fe0c6a31-5ad6-4eea-a865-73bbe2608bd1" target="_blank">Microsoft SQL Server 2008 R2 November Community Technology Preview</a><br />
Building on SQL Server 2008, R2 provides an even more scalable data platform with comprehensive tools for managing your databases and applications, improving the quality of your data, and empowering your users to build rich analyses and reports using tools they are already familiar with.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=020ee0d5-bce4-4a45-9d64-b0c49c8831e5" target="_blank">Microsoft SQL Server 2008 R2 November Community Technology Preview Feature Pack</a><br />
The Microsoft SQL Server 2008 R2 Feature Pack is a collection of stand-alone packages which provide additional value for SQL Server 2008 R2.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c18bad82-0e5f-4e82-812b-5b23e5d52b9c" target="_blank">SQL Server 2008 R2 Books Online Community Technology Preview November 2009</a><br />
Download the a community technology preview (CTP) release version of the documentation and tutorials for Microsoft SQL Server 2008 R2.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c772467d-e45b-43e1-9208-2c7b663d7ad1" target="_blank">Microsoft SQL Server 2008 R2 November Community Technology Preview &#8211; Express Edition</a><br />
Microsoft SQL Server 2008 R2 Express is a powerful and reliable data management system that delivers a rich set of features, data protection, and performance for embedded application clients, light Web applications, and local data stores.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=16bb10f9-3acc-4551-bacc-bdd266da1d45" target="_blank">SQL Server 2008 R2 November CTP Reporting Services Add-in for Microsoft SharePoint Technologies 2010</a><br />
The Microsoft® SQL Server 2008 R2 November CTP Reporting Services Add-in for Microsoft SharePoint Technologies allows you to integrate your reporting environment with SharePoint to experience the benefits of using the collaborative environment provided by SharePoint.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=01c664e4-1c98-4fc8-93ee-08cc039503c1" target="_blank">Microsoft SQL Server 2008 R2 November CTP StreamInsight</a><br />
Microsoft® SQL Server® StreamInsight is Microsoft’s new Complex Event Processing technology to help businesses derive better insights by correlating event streams from multiple sources with near-zero latency.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=f78b6b1e-8ccb-407a-bc3e-7955d60e1a6c" target="_blank">Microsoft SQL Server 2008 R2 November CTP Report Builder 3.0</a><br />
Microsoft SQL Server 2008 R2 Report Builder 3.0 provides an intuitive report authoring environment for business and power users. It supports the full capabilities of SQL Server 2008 R2 Reporting Services. The download provides a stand-alone installer for Report Builder 3.0.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=48a5b47b-8c9c-450f-ab6e-178600a733ca" target="_blank">Microsoft SQL Server 2008 R2 &#8211; PowerPivot for Microsoft® Excel 2010 &#8211; November Community Technology Preview</a><br />
Microsoft® PowerPivot for Microsoft Excel 2010 provides ground-breaking technology, such as fast manipulation on large data sets (often in millions of rows), streamlined integration of data, and the ability to effortlessly share your analysis through Microsoft SharePoint 2010.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=89550298-d564-40c5-b586-30dc3f909f6f" target="_blank">What&#8217;s New in SQL Server 2008 R2 November Community Technology Preview (CTP)</a><br />
This document describes what&#8217;s new in the November CTP of Microsoft SQL Server 2008 R2. Analysis Services, Database Engine, Reporting Services, and Service Broker all have new or enhanced features in this release. Master Data Services is a new component in this release.</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 Data Warehousing, Database, Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Documentation, SQL Download, 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/7433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7433/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7433&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/sLqOeA3jdGPO5WCvuOz3C4iALlg/0/da"><img src="http://feedads.g.doubleclick.net/~a/sLqOeA3jdGPO5WCvuOz3C4iALlg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sLqOeA3jdGPO5WCvuOz3C4iALlg/1/da"><img src="http://feedads.g.doubleclick.net/~a/sLqOeA3jdGPO5WCvuOz3C4iALlg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=mFD_sU65FFU:Ps-qEU1N0ZQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=mFD_sU65FFU:Ps-qEU1N0ZQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=mFD_sU65FFU:Ps-qEU1N0ZQ:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=mFD_sU65FFU:Ps-qEU1N0ZQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=mFD_sU65FFU:Ps-qEU1N0ZQ:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/mFD_sU65FFU" height="1" width="1"/>]]></content:encoded><description>Microsoft SQL Server 2008 R2 November Community Technology Preview
Building on SQL Server 2008, R2 provides an even more scalable data platform with comprehensive tools for managing your databases and applications, improving the quality of your data, and empowering your users to build rich analyses and reports using tools they are already familiar with.
Microsoft SQL Server [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7433&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/28/sqlauthority-news-sql-server-r2-resources-downloads-documentations/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/28/sqlauthority-news-sql-server-r2-resources-downloads-documentations/</feedburner:origLink></item><item><title>SQLAuthority News – Subscribe to Blog – Search a Blog</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/Rc8RYEqX4Bc/</link><category>About Me</category><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLAuthority News</category><category>SQLAuthority Website Review</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Thu, 26 Nov 2009 17:30:48 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7417</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Quite often I get request if I send blog post in newsletter or through email. Here are few important links.</p>
<p style="text-align:justify;">You can for sure get email of my post, however, I strongly suggest to visit blog as if there are any updates in my post they are reflected on blog.</p>
<p style="text-align:justify;"><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=872428" target="_blank">Subscribe to blog post through email</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/feed/" target="_blank">Subscribe SQLAuthority Feed</a></p>
<p style="text-align:justify;"><a href="http://search.sqlauthority.com/" target="_blank">Search SQLAuthority</a> &#8211; This is very powerful search. Give it a try.</p>
<p style="text-align:justify;"><a href="http://twitter.com/pinaldave" target="_blank">Follow me on Twitter</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 About Me, Pinal Dave, SQL, SQL Authority, 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/7417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7417/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7417&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/5S7pySOpzbVRRYQRNdzd6EJ1sxs/0/da"><img src="http://feedads.g.doubleclick.net/~a/5S7pySOpzbVRRYQRNdzd6EJ1sxs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5S7pySOpzbVRRYQRNdzd6EJ1sxs/1/da"><img src="http://feedads.g.doubleclick.net/~a/5S7pySOpzbVRRYQRNdzd6EJ1sxs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=Rc8RYEqX4Bc:Xa6og7DLFEg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=Rc8RYEqX4Bc:Xa6og7DLFEg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=Rc8RYEqX4Bc:Xa6og7DLFEg:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=Rc8RYEqX4Bc:Xa6og7DLFEg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=Rc8RYEqX4Bc:Xa6og7DLFEg:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/Rc8RYEqX4Bc" height="1" width="1"/>]]></content:encoded><description>Quite often I get request if I send blog post in newsletter or through email. Here are few important links.
You can for sure get email of my post, however, I strongly suggest to visit blog as if there are any updates in my post they are reflected on blog.
Subscribe to blog post through email
Subscribe SQLAuthority [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7417&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/27/sqlauthority-news-subscribe-to-blog-search-a-blog/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/27/sqlauthority-news-subscribe-to-blog-search-a-blog/</feedburner:origLink></item><item><title>SQLAuthority News – SQL Server 2008 Analysis Services Performance Guide</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/DT0dFn9CmaU/</link><category>Business Intelligence</category><category>SQL</category><category>SQL Authority</category><category>SQL Documentation</category><category>SQL Download</category><category>SQL Performance</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQL White Papers</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Wed, 25 Nov 2009 17:30:15 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7194</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Because Microsoft SQL Server Analysis Services query and processing performance tuning is a fairly broad subject, this white paper organizes performance tuning techniques into the following three segments.</p>
<p style="text-align:justify;"><strong>Enhancing Query Performance</strong> &#8211; Query performance directly impacts the quality of the end user experience. As such, it is the primary benchmark used to evaluate the success of an online analytical processing (OLAP) implementation. Analysis Services provides a variety of mechanisms to accelerate query performance, including aggregations, caching, and indexed data retrieval. In addition, you can improve query performance by optimizing the design of your dimension attributes, cubes, and Multidimensional Expressions (MDX) queries.</p>
<p style="text-align:justify;"><strong>Enhancing Processing Performance</strong> &#8211; Processing is the operation that refreshes data in an Analysis Services database. The faster the processing performance, the sooner users can access refreshed data. Analysis Services provides a variety of mechanisms that you can use to influence processing performance, including efficient dimension design, effective aggregations, partitions, and an economical processing strategy (for example, incremental vs. full refresh vs. proactive caching).</p>
<p style="text-align:justify;"><strong>Tuning Server Resources</strong> – There are several engine settings that can be tuned that affect both querying and processing performance.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3be0488d-e7aa-4078-a050-ae39912d2e43&amp;displaylang=en" target="_blank">Download SQL Server 2008 Analysis Services Performance Guide</a></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 Business Intelligence, SQL, SQL Authority, SQL Documentation, SQL Download, SQL Performance, 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/7194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7194&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/Eqh-DKfRU0Zo-Ny7QJdz9n0trRI/0/da"><img src="http://feedads.g.doubleclick.net/~a/Eqh-DKfRU0Zo-Ny7QJdz9n0trRI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Eqh-DKfRU0Zo-Ny7QJdz9n0trRI/1/da"><img src="http://feedads.g.doubleclick.net/~a/Eqh-DKfRU0Zo-Ny7QJdz9n0trRI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DT0dFn9CmaU:3kA9a1LFm7w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DT0dFn9CmaU:3kA9a1LFm7w:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DT0dFn9CmaU:3kA9a1LFm7w:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DT0dFn9CmaU:3kA9a1LFm7w:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=DT0dFn9CmaU:3kA9a1LFm7w:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/DT0dFn9CmaU" height="1" width="1"/>]]></content:encoded><description>Because Microsoft SQL Server Analysis Services query and processing performance tuning is a fairly broad subject, this white paper organizes performance tuning techniques into the following three segments.
Enhancing Query Performance &amp;#8211; Query performance directly impacts the quality of the end user experience. As such, it is the primary benchmark used to evaluate the success of [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7194&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/26/sqlauthority-news-sql-server-2008-analysis-services-performance-guide/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/26/sqlauthority-news-sql-server-2008-analysis-services-performance-guide/</feedburner:origLink></item><item><title>SQL SERVER – Comma Separated Values (CSV) from Table Column</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/29LbuwlpRqo/</link><category>Best Practices</category><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Optimization</category><category>SQL Query</category><category>SQL Scripts</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>T SQL</category><category>Technology</category><category>CSV</category><category>SQL XML</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Tue, 24 Nov 2009 17:30:18 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7133</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">I use following script very often and I realized that I have never shared this script on this blog before. Creating Comma Separated Values (CSV) from Table Column is a very common task, and we all do this many times a day. Let us see the example that I use frequently and its output.</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;">-- Check Table Column<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">Name<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Shift<br />
GO<br />
</span><span style="color:green;">-- Get CSV values<br />
</span><span style="color:blue;">SELECT </span><span style="color:magenta;">SUBSTRING</span><span style="color:gray;">(<br />
(</span><span style="color:blue;">SELECT </span><span style="color:red;">',' </span><span style="color:gray;">+ </span><span style="color:black;">s.Name<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Shift s<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">s.Name<br />
</span><span style="color:blue;">FOR </span><span style="color:black;">XML PATH</span><span style="color:gray;">(</span><span style="color:red;">''</span><span style="color:gray;">)),</span><span style="color:black;">2</span><span style="color:gray;">,</span><span style="color:black;">200000</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">CSV<br />
GO </span></code></p>
<p style="text-align:justify;">I consider XML as the best solution in terms of code and performance. Further, as I totally prefer this option, I am not even including the linka to my other articles, where I have described other options.</p>
<p style="text-align:justify;"><span style="color:black;"><img class="alignnone" src="http://www.pinaldave.com/bimg/csvxml.jpg" alt="" width="316" height="470" /><br />
</span></p>
<p style="text-align:justify;">Do you use any other method to resolve this issue? Can you find any significant difference in performance between these options? Please leave your comment here.</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 Best Practices, Pinal Dave, SQL, SQL Authority, SQL Optimization, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, T SQL, Technology Tagged: CSV, SQL XML <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7133&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/AUjcBB2lht4Gvboc6_6E4pjPo7c/0/da"><img src="http://feedads.g.doubleclick.net/~a/AUjcBB2lht4Gvboc6_6E4pjPo7c/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AUjcBB2lht4Gvboc6_6E4pjPo7c/1/da"><img src="http://feedads.g.doubleclick.net/~a/AUjcBB2lht4Gvboc6_6E4pjPo7c/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=29LbuwlpRqo:H-DQJ0oIfbc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=29LbuwlpRqo:H-DQJ0oIfbc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=29LbuwlpRqo:H-DQJ0oIfbc:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=29LbuwlpRqo:H-DQJ0oIfbc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=29LbuwlpRqo:H-DQJ0oIfbc:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/29LbuwlpRqo" height="1" width="1"/>]]></content:encoded><description>I use following script very often and I realized that I have never shared this script on this blog before. Creating Comma Separated Values (CSV) from Table Column is a very common task, and we all do this many times a day. Let us see the example that I use frequently and its output.
USE AdventureWorks
GO
-- Check Table Column
SELECT [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7133&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/25/sql-server-comma-separated-values-csv-from-table-column/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">11</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/csvxml.jpg" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/25/sql-server-comma-separated-values-csv-from-table-column/</feedburner:origLink></item><item><title>SQL SERVER – Interesting Observation – TOP 100 PERCENT and ORDER BY</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/V8HMYiAbaJU/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Scripts</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>T SQL</category><category>Technology</category><category>ORDER BY</category><category>SQL View</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Mon, 23 Nov 2009 17:30:03 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7448</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Today we will go over a very simple, but interesting subject. The following error is quite common if you use ORDER BY while creating any view:</p>
<p style="text-align:justify;"><span style="color:#ff0000;">Msg 1033, Level 15, State 1, Procedure something, Line 5<br />
The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.</span></p>
<p style="text-align:justify;">The error also explains the solution for the same – use of TOP. I have seen developers and DBAs using TOP very causally when they have to use the ORDER BY clause. Theoretically, there is no need of ORDER BY in the view at all. All the ordering should be done outside the view and view should just have the SELECT statement in it.</p>
<p style="text-align:justify;">It was quite common that to save this extra typing by including ordering inside of the view. At several instances developers want a complete resultset and for the same they include TOP 100 PERCENT along with ORDER BY, assuming that this will simulate the SELECT statement with ORDER BY.</p>
<p style="text-align:justify;">In SQL Server 2008, this behavior is corrected by ignoring the ORDER BY clause when TOP 100% is used. Let us see a quick script for the same.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO</span></code></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:black;"> </span><span style="color:green;">-- SELECT from Table Without TOP or ORDER BY<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Shift<br />
GO<br />
</span><span style="color:green;">-- SELECT from Table With TOP and ORDER BY DESC<br />
</span><span style="color:blue;">SELECT TOP </span><span style="color:black;">100 </span><span style="color:blue;">PERCENT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Shift<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">ShiftID </span><span style="color:blue;">DESC<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Create View with same as above statement<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.views<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;">N'[dbo].[vwShift]'</span><span style="color:gray;">))<br />
</span><span style="color:blue;">DROP VIEW </span><span style="color:black;">[dbo].[vwShift]<br />
GO<br />
</span><span style="color:blue;">CREATE VIEW </span><span style="color:black;">vwShift<br />
</span><span style="color:blue;">AS<br />
SELECT TOP </span><span style="color:black;">100 </span><span style="color:blue;">PERCENT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">HumanResources.Shift<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">ShiftID </span><span style="color:blue;">DESC<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Select From View<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">vwShift<br />
GO<br />
</span></code></p>
<p style="text-align:justify;">Let us see the result of above script here. It is quite clear from the result that in the view, ORDER BY clause is ignored and result is returned as similar as that of a regular SELECT statement without ORDER BY.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/selecttop.jpg" alt="" width="500" height="847" /></p>
<p style="text-align:justify;">Note that SQL Server 2008 view with ORDER BY clause does not throw an error; moreover, it does not acknowledge the presence of it as well.</p>
<p style="text-align:justify;">If you have any similar ideas as the above one, please leave a comment here.</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 Scripts, SQL Server, SQL Tips and Tricks, T SQL, Technology Tagged: ORDER BY, SQL View <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7448/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7448&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/Wv18s92AG-uvYebZGNte4HHJ2CA/0/da"><img src="http://feedads.g.doubleclick.net/~a/Wv18s92AG-uvYebZGNte4HHJ2CA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Wv18s92AG-uvYebZGNte4HHJ2CA/1/da"><img src="http://feedads.g.doubleclick.net/~a/Wv18s92AG-uvYebZGNte4HHJ2CA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=V8HMYiAbaJU:Fm63K8ixY5U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=V8HMYiAbaJU:Fm63K8ixY5U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=V8HMYiAbaJU:Fm63K8ixY5U:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=V8HMYiAbaJU:Fm63K8ixY5U:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=V8HMYiAbaJU:Fm63K8ixY5U:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/V8HMYiAbaJU" height="1" width="1"/>]]></content:encoded><description>Today we will go over a very simple, but interesting subject. The following error is quite common if you use ORDER BY while creating any view:
Msg 1033, Level 15, State 1, Procedure something, Line 5
The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7448&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/24/sql-server-interesting-observation-top-100-percent-and-order-by/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">5</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/selecttop.jpg" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/24/sql-server-interesting-observation-top-100-percent-and-order-by/</feedburner:origLink></item><item><title>SQL SERVER – A Common Design Problem – Should the Primary Key Always be a Clustered Index</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/4njgE7_6gGU/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Constraint and Keys</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLServer</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Sun, 22 Nov 2009 17:30:34 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7399</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">In SQL Server, whenever we create any key, a Primary Key automatically creates clustered index on the same. I like this feature and I use this feature every now and then.</p>
<p style="text-align:justify;">The question is does the change of any column as Primary Key should also create a Clustered Index? Moreover, is there any case, where one would not do the same?</p>
<p style="text-align:justify;">One of the recent conversations I had with one SQL Expert is with regard to the SSN number. The discussion was that SSN numbers are always unique and never repeated and hence are the best candidates for primary key. Additionally SSN numbers contains dashes (-), which make the datatype of the SSN numbers as String (VARCHAR or NVARCHAR). A clustered index on an integer usually performs better over a clustered index on an integer and makes the DBA to choose Primary Key of datatype Integer. At one point in our conversation, we discussed that if SSN number should be a Unique Constraint and if there should be another Identity Column as the Primary Key.</p>
<p style="text-align:justify;">Some of the questions from our interesting discussion are as follows:</p>
<p style="text-align:justify;"><strong><em>Would you have the datatype of your Primary Key as string?<br />
Would you treat SSN as string datatype or remove the dashes and change it into an integer?<br />
Do you have a real life example, where your primary key is not a clustered index?<br />
What are the best practices for SSN number to store in database and obtain optimal performance?</em></strong></p>
<p style="text-align:justify;">I will post an interesting answer discussing this subject in a separate post with due credit.</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 Constraint and Keys, SQL Query, SQL Server, SQL Tips and Tricks, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7399/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7399/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7399/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7399&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/wAUXESDcMBPQINrepD7vxLdGNSM/0/da"><img src="http://feedads.g.doubleclick.net/~a/wAUXESDcMBPQINrepD7vxLdGNSM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/wAUXESDcMBPQINrepD7vxLdGNSM/1/da"><img src="http://feedads.g.doubleclick.net/~a/wAUXESDcMBPQINrepD7vxLdGNSM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=4njgE7_6gGU:mT06jzWMpoI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=4njgE7_6gGU:mT06jzWMpoI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=4njgE7_6gGU:mT06jzWMpoI:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=4njgE7_6gGU:mT06jzWMpoI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=4njgE7_6gGU:mT06jzWMpoI:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/4njgE7_6gGU" height="1" width="1"/>]]></content:encoded><description>In SQL Server, whenever we create any key, a Primary Key automatically creates clustered index on the same. I like this feature and I use this feature every now and then.
The question is does the change of any column as Primary Key should also create a Clustered Index? Moreover, is there any case, where one [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7399&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/23/sql-server-a-common-design-problem-should-the-primary-key-always-be-a-clustered-index/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">12</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/23/sql-server-a-common-design-problem-should-the-primary-key-always-be-a-clustered-index/</feedburner:origLink></item><item><title>SQL SERVER – Remove Bookmark Key Lookup – 4 Different Ideas</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/ggYhac-CMTY/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Index</category><category>SQL Optimization</category><category>SQL Performance</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLServer</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Sat, 21 Nov 2009 17:30:12 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7397</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">I quite often get request to summarized my ideas about Removing bookmark lookup on this blog post. Bookmark lookup or key lookup are bad for any query as they force query engine to lookpup corresponding row in the table or index as it does not find required data from just reading the data.</p>
<p style="text-align:justify;">Here are list of my four post written on the same subject.</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 – Query Optimization – Remove Bookmark Lookup – Remove RID Lookup – Remove Key Lookup – Part 3</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/11/09/sql-server-removing-key-lookup-seek-predicate-predicate-an-interesting-observation-related-to-datatypes/" target="_blank">SQL SERVER – Removing Key Lookup – Seek Predicate – Predicate – An Interesting Observation Related to Datatypes</a></p>
<p style="text-align:justify;">Let me know your opinion about the same and I am interested to here what you have to add to this subject.</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 Index, SQL Optimization, SQL Performance, SQL Query, SQL Server, SQL Tips and Tricks, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7397/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7397/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7397/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7397&subd=sqlauthority&ref=&feed=1" /></div>
<p><a href="http://feedads.g.doubleclick.net/~a/ukz1T2Gi7UoHxohAKZA1C4gOsqk/0/da"><img src="http://feedads.g.doubleclick.net/~a/ukz1T2Gi7UoHxohAKZA1C4gOsqk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ukz1T2Gi7UoHxohAKZA1C4gOsqk/1/da"><img src="http://feedads.g.doubleclick.net/~a/ukz1T2Gi7UoHxohAKZA1C4gOsqk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ggYhac-CMTY:4_cZTZihif0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ggYhac-CMTY:4_cZTZihif0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ggYhac-CMTY:4_cZTZihif0:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ggYhac-CMTY:4_cZTZihif0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=ggYhac-CMTY:4_cZTZihif0:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/ggYhac-CMTY" height="1" width="1"/>]]></content:encoded><description>I quite often get request to summarized my ideas about Removing bookmark lookup on this blog post. Bookmark lookup or key lookup are bad for any query as they force query engine to lookpup corresponding row in the table or index as it does not find required data from just reading the data.
Here are list [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7397&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/22/sql-server-remove-bookmark-key-lookup-4-different-ideas/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/22/sql-server-remove-bookmark-key-lookup-4-different-ideas/</feedburner:origLink></item><item><title>SQLAuthority News – SQL Server 2008 for Oracle DBA</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/6pycS0qPRZw/</link><category>DBA</category><category>Database</category><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><category>Learning</category><category>MySQL</category><category>Oracle</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Fri, 20 Nov 2009 17:30:19 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7187</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/a9rkHJpJl0R-CEC-a0KCk6vv4lY/0/da"><img src="http://feedads.g.doubleclick.net/~a/a9rkHJpJl0R-CEC-a0KCk6vv4lY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/a9rkHJpJl0R-CEC-a0KCk6vv4lY/1/da"><img src="http://feedads.g.doubleclick.net/~a/a9rkHJpJl0R-CEC-a0KCk6vv4lY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=6pycS0qPRZw:phahFMRCQj0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=6pycS0qPRZw:phahFMRCQj0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=6pycS0qPRZw:phahFMRCQj0:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=6pycS0qPRZw:phahFMRCQj0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=6pycS0qPRZw:phahFMRCQj0:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/6pycS0qPRZw" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7187&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/21/sqlauthority-news-sql-server-2008-for-oracle-dba/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/21/sqlauthority-news-sql-server-2008-for-oracle-dba/</feedburner:origLink></item><item><title>SQLAuthority News – Book Review – Expert SQL Server 2008 Encryption by Michael Coles</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/DKAYXgA7Ano/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLAuthority Book Review</category><category>SQLAuthority News</category><category>SQLServer</category><category>T SQL</category><category>Technology</category><category>SQL Server Encryption</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Thu, 19 Nov 2009 17:30:03 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7382</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/b-7wqR5j1-EHNdTYxjwc8WkD3wg/0/da"><img src="http://feedads.g.doubleclick.net/~a/b-7wqR5j1-EHNdTYxjwc8WkD3wg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/b-7wqR5j1-EHNdTYxjwc8WkD3wg/1/da"><img src="http://feedads.g.doubleclick.net/~a/b-7wqR5j1-EHNdTYxjwc8WkD3wg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DKAYXgA7Ano:2ccLVG-y99c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DKAYXgA7Ano:2ccLVG-y99c:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DKAYXgA7Ano:2ccLVG-y99c:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=DKAYXgA7Ano:2ccLVG-y99c:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=DKAYXgA7Ano:2ccLVG-y99c:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/DKAYXgA7Ano" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7382&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/20/sqlauthority-news-book-review-expert-sql-server-2008-encryption-by-michael-coles/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">1</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/encryptionbook.gif" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/20/sqlauthority-news-book-review-expert-sql-server-2008-encryption-by-michael-coles/</feedburner:origLink></item><item><title>SQL SERVER – Understanding Table Hints with Examples</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/lRkV6yjz6MY/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Joins</category><category>SQL Performance</category><category>SQL Query</category><category>SQL Scripts</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Wed, 18 Nov 2009 17:30:41 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7113</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/W4en6aOZw0KZtXr9KcyzBByCWl8/0/da"><img src="http://feedads.g.doubleclick.net/~a/W4en6aOZw0KZtXr9KcyzBByCWl8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/W4en6aOZw0KZtXr9KcyzBByCWl8/1/da"><img src="http://feedads.g.doubleclick.net/~a/W4en6aOZw0KZtXr9KcyzBByCWl8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=lRkV6yjz6MY:9PxeLGogBTQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=lRkV6yjz6MY:9PxeLGogBTQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=lRkV6yjz6MY:9PxeLGogBTQ:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=lRkV6yjz6MY:9PxeLGogBTQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=lRkV6yjz6MY:9PxeLGogBTQ:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/lRkV6yjz6MY" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7113&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/19/sql-server-understanding-table-hints-with-examples/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">5</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sql-join.png" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/19/sql-server-understanding-table-hints-with-examples/</feedburner:origLink></item><item><title>SQL SERVER – Size of Index Table – A Puzzle to Find Index Size for Each Index on Table</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/ogtHlkdD6F0/</link><category>Pinal Dave</category><category>Readers Question</category><category>SQL</category><category>SQL Authority</category><category>SQL Index</category><category>SQL Puzzle</category><category>SQL Query</category><category>SQL Scripts</category><category>SQL Server</category><category>SQL Stored Procedure</category><category>SQL Tips and Tricks</category><category>SQLServer</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Tue, 17 Nov 2009 17:30:16 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7388</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/gM3vXsel2ormslvocmof3OS-aqE/0/da"><img src="http://feedads.g.doubleclick.net/~a/gM3vXsel2ormslvocmof3OS-aqE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gM3vXsel2ormslvocmof3OS-aqE/1/da"><img src="http://feedads.g.doubleclick.net/~a/gM3vXsel2ormslvocmof3OS-aqE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ogtHlkdD6F0:RP-o0jjJqeA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ogtHlkdD6F0:RP-o0jjJqeA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ogtHlkdD6F0:RP-o0jjJqeA:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=ogtHlkdD6F0:RP-o0jjJqeA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=ogtHlkdD6F0:RP-o0jjJqeA:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/ogtHlkdD6F0" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7388&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">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 xmlns:slash="http://purl.org/rss/1.0/modules/slash/">11</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sp_spaceused1.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/indexspace.jpg" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/18/sql-server-size-of-index-table-a-puzzle-to-find-index-size-for-each-index-on-table/</feedburner:origLink></item><item><title>SQL SERVER – 2005 2008 – Backup, Integrity Check and Index Optimization By Ola Hallengren</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/qjMmDGJ_oWY/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Documentation</category><category>SQL Index</category><category>SQL Optimization</category><category>SQL Performance</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLAuthority News</category><category>SQLAuthority Website Review</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Mon, 16 Nov 2009 17:30:27 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7410</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/ExL2tB1fkNMalUuBcUisYAA98K4/0/da"><img src="http://feedads.g.doubleclick.net/~a/ExL2tB1fkNMalUuBcUisYAA98K4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ExL2tB1fkNMalUuBcUisYAA98K4/1/da"><img src="http://feedads.g.doubleclick.net/~a/ExL2tB1fkNMalUuBcUisYAA98K4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=qjMmDGJ_oWY:o7L6_fCEZpA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=qjMmDGJ_oWY:o7L6_fCEZpA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=qjMmDGJ_oWY:o7L6_fCEZpA:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=qjMmDGJ_oWY:o7L6_fCEZpA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=qjMmDGJ_oWY:o7L6_fCEZpA:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/qjMmDGJ_oWY" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7410&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">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 xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/17/sql-server-2005-2008-backup-integrity-check-and-index-optimization-by-ola-hallengren/</feedburner:origLink></item><item><title>SQLAuthority News – Notes of Excellent Experience at SQL PASS 2009 Summit, Seattle</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/3tWVZhLgxJ4/</link><category>DBA</category><category>Database</category><category>MVP</category><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQLAuthority News</category><category>SQLServer</category><category>T SQL</category><category>Technology</category><category>PASS</category><category>SQL PASS</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Sun, 15 Nov 2009 17:30:59 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7360</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/NqVHzaF2iQ_sfuVcASVApnlCYmE/0/da"><img src="http://feedads.g.doubleclick.net/~a/NqVHzaF2iQ_sfuVcASVApnlCYmE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NqVHzaF2iQ_sfuVcASVApnlCYmE/1/da"><img src="http://feedads.g.doubleclick.net/~a/NqVHzaF2iQ_sfuVcASVApnlCYmE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=3tWVZhLgxJ4:52jL5KBy46k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=3tWVZhLgxJ4:52jL5KBy46k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=3tWVZhLgxJ4:52jL5KBy46k:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=3tWVZhLgxJ4:52jL5KBy46k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=3tWVZhLgxJ4:52jL5KBy46k:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/3tWVZhLgxJ4" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7360&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/16/sqlauthority-news-notes-of-excellent-experience-at-sql-pass-2009-summit-seattle/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">7</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS514.jpg" medium="image">
			<media:title type="html">Washington Convention Center</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS502.jpg" medium="image">
			<media:title type="html">Undergroud Tour 1</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS503.jpg" medium="image">
			<media:title type="html">Undergroup Tour 2</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS511.jpg" medium="image">
			<media:title type="html">Mr. Danny</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/sqlpass2009/SQLPASS507.jpg" medium="image">
			<media:title type="html">PASS 2010</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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 xmlns:media="http://search.yahoo.com/mrss/" 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><feedburner:origLink>http://blog.sqlauthority.com/2009/11/16/sqlauthority-news-notes-of-excellent-experience-at-sql-pass-2009-summit-seattle/</feedburner:origLink></item><item><title>SQL SERVER – Whitepaper Consolidation Using SQL Server 2008</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/UUVof43Mt3Q/</link><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQL White Papers</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Sat, 14 Nov 2009 17:30:35 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7225</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/CxdSVIo8JC4zgY5Jr1JExLVODOc/0/da"><img src="http://feedads.g.doubleclick.net/~a/CxdSVIo8JC4zgY5Jr1JExLVODOc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CxdSVIo8JC4zgY5Jr1JExLVODOc/1/da"><img src="http://feedads.g.doubleclick.net/~a/CxdSVIo8JC4zgY5Jr1JExLVODOc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UUVof43Mt3Q:C0PSJW_p-KI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UUVof43Mt3Q:C0PSJW_p-KI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UUVof43Mt3Q:C0PSJW_p-KI:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=UUVof43Mt3Q:C0PSJW_p-KI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=UUVof43Mt3Q:C0PSJW_p-KI:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/UUVof43Mt3Q" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7225&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/15/sql-server-whitepaper-consolidation-using-sql-server-2008/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/15/sql-server-whitepaper-consolidation-using-sql-server-2008/</feedburner:origLink></item><item><title>SQLAuthority News – Disk Partition Alignment Best Practices for SQL Server</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/CcDju-nXKQ0/</link><category>Best Practices</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQL White Papers</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Fri, 13 Nov 2009 17:30:12 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7124</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/mVnnfOdYIqYjgDZOZIWqbDVyAwI/0/da"><img src="http://feedads.g.doubleclick.net/~a/mVnnfOdYIqYjgDZOZIWqbDVyAwI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mVnnfOdYIqYjgDZOZIWqbDVyAwI/1/da"><img src="http://feedads.g.doubleclick.net/~a/mVnnfOdYIqYjgDZOZIWqbDVyAwI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=CcDju-nXKQ0:p0W6g-8ofpw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=CcDju-nXKQ0:p0W6g-8ofpw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=CcDju-nXKQ0:p0W6g-8ofpw:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=CcDju-nXKQ0:p0W6g-8ofpw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=CcDju-nXKQ0:p0W6g-8ofpw:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/CcDju-nXKQ0" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7124&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/14/sqlauthority-news-disk-partition-alignment-best-practices-for-sql-server/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/diskpart.jpg" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/14/sqlauthority-news-disk-partition-alignment-best-practices-for-sql-server/</feedburner:origLink></item><item><title>SQL SERVER – Policy Based Management – Create, Evaluate and Fix Policies</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/YFDSFRveWQM/</link><category>Database</category><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Query</category><category>SQL Scripts</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>Software Development</category><category>T SQL</category><category>Technology</category><category>Policy Management</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Thu, 12 Nov 2009 17:30:10 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7118</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/hTYyVU96io_7F5xjAs-l4QRGrqE/0/da"><img src="http://feedads.g.doubleclick.net/~a/hTYyVU96io_7F5xjAs-l4QRGrqE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hTYyVU96io_7F5xjAs-l4QRGrqE/1/da"><img src="http://feedads.g.doubleclick.net/~a/hTYyVU96io_7F5xjAs-l4QRGrqE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=YFDSFRveWQM:G-flHoCQ0j8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=YFDSFRveWQM:G-flHoCQ0j8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=YFDSFRveWQM:G-flHoCQ0j8:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=YFDSFRveWQM:G-flHoCQ0j8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=YFDSFRveWQM:G-flHoCQ0j8:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/YFDSFRveWQM" height="1" width="1"/>]]></content:encoded><description>Introduction
This article will cover the most spectacular feature of SQL 2008 &amp;#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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7118&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/13/sql-server-policy-based-management-create-evaluate-and-fix-policies/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">0</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement1.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement2.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement3.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement3a.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement4.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement5.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement8.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement8a.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement9.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement9a.jpg" medium="image" /><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/PolicyManagement9b.jpg" medium="image" /><feedburner:origLink>http://blog.sqlauthority.com/2009/11/13/sql-server-policy-based-management-create-evaluate-and-fix-policies/</feedburner:origLink></item><item><title>SQL SERVER – Disable CHECK Constraint – Enable CHECK Constraint</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/HzMCN9yhM18/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Constraint and Keys</category><category>SQL Index</category><category>SQL Query</category><category>SQL Scripts</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Wed, 11 Nov 2009 17:30:14 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7198</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/gPco_xKvLnlAzIhscq852j1l0ks/0/da"><img src="http://feedads.g.doubleclick.net/~a/gPco_xKvLnlAzIhscq852j1l0ks/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/gPco_xKvLnlAzIhscq852j1l0ks/1/da"><img src="http://feedads.g.doubleclick.net/~a/gPco_xKvLnlAzIhscq852j1l0ks/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=HzMCN9yhM18:V3k0fSxYBm8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=HzMCN9yhM18:V3k0fSxYBm8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=HzMCN9yhM18:V3k0fSxYBm8:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=HzMCN9yhM18:V3k0fSxYBm8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=HzMCN9yhM18:V3k0fSxYBm8:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/HzMCN9yhM18" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7198&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/12/sql-server-disable-check-constraint-enable-check-constraint/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">4</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/12/sql-server-disable-check-constraint-enable-check-constraint/</feedburner:origLink></item><item><title>SQL SERVER – Sharepoint Resource Available for SQL Server</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/tN2qHMozMh4/</link><category>SQL</category><category>SQL Authority</category><category>SQL Documentation</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQL White Papers</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><category>SharePoint</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Tue, 10 Nov 2009 17:30:09 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7253</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/M-Rj65umfoCraZxGJ6xe1H2QLC0/0/da"><img src="http://feedads.g.doubleclick.net/~a/M-Rj65umfoCraZxGJ6xe1H2QLC0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/M-Rj65umfoCraZxGJ6xe1H2QLC0/1/da"><img src="http://feedads.g.doubleclick.net/~a/M-Rj65umfoCraZxGJ6xe1H2QLC0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=tN2qHMozMh4:1RgjhOoCNrU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=tN2qHMozMh4:1RgjhOoCNrU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=tN2qHMozMh4:1RgjhOoCNrU:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=tN2qHMozMh4:1RgjhOoCNrU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=tN2qHMozMh4:1RgjhOoCNrU:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/tN2qHMozMh4" height="1" width="1"/>]]></content:encoded><description>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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7253&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blog.sqlauthority.com/2009/11/11/sql-server-sharepoint-resource-available-for-sql-server/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/11/sql-server-sharepoint-resource-available-for-sql-server/</feedburner:origLink></item><item><title>SQL Authority News – Training MS SQL Server 2005/2008 Query Optimization And Performance Tuning</title><link>http://feedproxy.google.com/~r/SQLAuthority/~3/oQnLDIzGc1M/</link><category>Pinal Dave</category><category>SQL</category><category>SQL Authority</category><category>SQL Index</category><category>SQL Optimization</category><category>SQL Performance</category><category>SQL Query</category><category>SQL Server</category><category>SQL Tips and Tricks</category><category>SQL Training</category><category>SQLAuthority News</category><category>T SQL</category><category>Technology</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pinaldave</dc:creator><pubDate>Mon, 09 Nov 2009 17:30:30 PST</pubDate><guid isPermaLink="false">http://blog.sqlauthority.com/?p=7357</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![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>
<p><a href="http://feedads.g.doubleclick.net/~a/xrsAZjT_gpEkl1yUVN8-V99_ClE/0/da"><img src="http://feedads.g.doubleclick.net/~a/xrsAZjT_gpEkl1yUVN8-V99_ClE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xrsAZjT_gpEkl1yUVN8-V99_ClE/1/da"><img src="http://feedads.g.doubleclick.net/~a/xrsAZjT_gpEkl1yUVN8-V99_ClE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=oQnLDIzGc1M:ooVUUr44c0E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=oQnLDIzGc1M:ooVUUr44c0E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=oQnLDIzGc1M:ooVUUr44c0E:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/SQLAuthority?a=oQnLDIzGc1M:ooVUUr44c0E:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/SQLAuthority?i=oQnLDIzGc1M:ooVUUr44c0E:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SQLAuthority/~4/oQnLDIzGc1M" height="1" width="1"/>]]></content:encoded><description>This is very short note announcing details about my course details for &amp;#8216;MS SQL Server 2005/2008 Query Optimization And Performance Tuning&amp;#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 [...]&lt;img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=7357&amp;subd=sqlauthority&amp;ref=&amp;feed=1" /&gt;</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">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 xmlns:slash="http://purl.org/rss/1.0/modules/slash/">15</slash:comments><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&amp;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content><media:content xmlns:media="http://search.yahoo.com/mrss/" url="http://www.pinaldave.com/bimg/MSQOPT.jpg" medium="image">
			<media:title type="html">Click to Enlarge</media:title>
		</media:content><feedburner:origLink>http://blog.sqlauthority.com/2009/11/10/sql-authority-news-training-ms-sql-server-20052008-query-optimization-and-performance-tuning/</feedburner:origLink></item></channel></rss>
