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

<channel>
	<title>SQL Server Journey with SQL Authority &#187; Best Practices</title>
	<atom:link href="http://blog.sqlauthority.com/category/best-practices/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:09:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.sqlauthority.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>SQL Server Journey with SQL Authority &#187; Best Practices</title>
		<link>http://blog.sqlauthority.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.sqlauthority.com/osd.xml" title="SQL Server Journey with SQL Authority" />
	<atom:link rel='hub' href='http://blog.sqlauthority.com/?pushpress=hub'/>
		<item>
		<title>SQLAuthority News &#8211; I am Speaking at SQL Saturday 116 &#8211; Bangalore, India on January 7, 2012 &#8211; First SQL Saturday in India</title>
		<link>http://blog.sqlauthority.com/2012/01/05/sqlauthority-news-i-am-speaking-at-sql-saturday-116-bangalore-india-on-january-7-2012-first-sql-saturday-in-india/</link>
		<comments>http://blog.sqlauthority.com/2012/01/05/sqlauthority-news-i-am-speaking-at-sql-saturday-116-bangalore-india-on-january-7-2012-first-sql-saturday-in-india/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 01:30:36 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Saturday]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16897</guid>
		<description><![CDATA[SQLSaturday 116 is now only 3 days away. SQL Saturday is FREE event all the attendees and 100% SQL community driven. This is very first SQL Saturday in India and I am very much excited that I will be speaking at this event on my favorite subject of SQL Server Performance Tuning. I have so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16897&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/sqlsat116_web.jpg" alt="" width="236" height="115" />SQLSaturday 116 is now only 3 days away. SQL Saturday is FREE event all the attendees and 100% SQL community driven. This is very first SQL Saturday in India and I am very much excited that I will be speaking at this event on my favorite subject of SQL Server Performance Tuning. I have so far delivered 100s of presentation on this subject but this subject never gets old and I never ran out of new tips and tricks.</p>
<p style="text-align:justify;">I suggest you mark your calender right now and present at the hall before time to secure your seat.</p>
<h2 style="text-align:justify;">Session Details</h2>
<h3 style="text-align:justify;">SQL Server Performance Tips and Tricks</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/speed1.jpg" alt="" width="150" />In this session we will go over various SQL Server Performance Tuning Tricks and Tips. Learn about top tips and best SQL Server performance practices related to:</p>
<ul style="text-align:justify;">
<li>Unused Indexes</li>
<li>Clustered Indexes</li>
<li>Importance of Statistics</li>
<li>Index Maintenance Scripts</li>
<li>ColumnStore Index</li>
<li>A Surprise Secret Tip</li>
</ul>
<h3 style="text-align:justify;">January 7, 2012 1:30 PM</h3>
<p style="text-align:justify;">I will ask 5 questions during my session and needless to say 5 winners will get copy of my book.</p>
<p style="text-align:justify;">The session will be 100% demo oriented and I will share lots of tips and tricks during this session. Just like every other session of mine, this session will have lots of trivia for you as well it will be extremely interactive. If you prefer to stay quite during the session, this session will a perfect technology opener for you. Once you are in the session &#8211; you will be talking and discussion various aspect of performance along with your co-attendees and me.</p>
<p style="text-align:justify;">Additionally, I am personally waiting for the sessions of <strong>Rick Morelan</strong> who is founder of Joes 2 Pros series. Do not miss any of the sessions of SQL Saturday &#8211; here is the <a href="http://sqlsaturday.com/schedule.aspx" target="_blank">complete schedule</a>.</p>
<p style="text-align:justify;">My friend <strong><a href="http://blogs.extremeexperts.com/2012/01/04/sqlsaturday-116-my-session/" target="_blank">Vinod Kumar</a></strong> has written blog on his sessions, read it <a href="http://blogs.extremeexperts.com/2012/01/04/sqlsaturday-116-my-session/" target="_blank">here</a>.</p>
<p style="text-align:justify;"><strong>Note:</strong> Session will be not recorded. There will be no live cast of the session.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-author-visit/'>SQLAuthority Author Visit</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/sql-saturday/'>SQL Saturday</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16897/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16897&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/05/sqlauthority-news-i-am-speaking-at-sql-saturday-116-bangalore-india-on-january-7-2012-first-sql-saturday-in-india/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

		<media:content url="http://www.pinaldave.com/bimg/speed1.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Mastering the Basics &#8211; Igniting Learning &#8211; A Unique Learning Experience</title>
		<link>http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/</link>
		<comments>http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 01:30:00 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Book Review]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16389</guid>
		<description><![CDATA[It has been my lifelong dream to be an author, and recently I have seen that goal realized three times.  One of the books I am most proud of is SQL Server Interview Questions and Answers. When I wrote SQL Server Interview Questions and Answers &#8211; I had very clear idea what my goals were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16389&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">It has been my lifelong dream to be an author, and recently I have seen that goal realized three times.  One of the books I am most proud of is <a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/" target="_blank"><strong>SQL Server Interview Questions and Answers</strong></a>. When I wrote <a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/" target="_blank"><strong>SQL Server Interview Questions and Answers</strong></a> &#8211; I had very clear idea what my goals were for the book.</p>
<p style="text-align:justify;">My goals were simple:</p>
<ol style="text-align:justify;" start="1">
<li><strong>Mastering the Basics</strong></li>
<li><strong>Igniting Learning</strong></li>
</ol>
<p style="text-align:justify;">I am very fortunate that my co-author shares the same love and passion for the SQL Server community. <a href="http://blogs.extremeexperts.com/" target="_blank">Vinod Kumar</a> always believed in my same two goals. Our combined passion for the subject made writing this book a pleasant, even invigorating experience. We always felt this urge to help community and those who are eager to learn more. Years of learning the basics and practicing advanced technology led us to believe that learning the basics is sometimes the most difficult task of all. Once someone masters the basics, advanced concepts come easy. We have kept this in mind as we wrote this book.</p>
<h2 style="text-align:justify;"><strong>A Book for Everyone</strong></h2>
<p style="text-align:justify;"><img class="alignleft" src="http://images.sqlauthority.com/oldbook.jpg" alt="" width="250" height="153" /></p>
<p style="text-align:justify;">This book is not just for people who are looking to get their first job in the information technology field.  If you do not have an upcoming interview, if you already work in the field, but have questions about SQL Server or know that there are topics you should brush up on, then this is the book for you.</p>
<p style="text-align:justify;">You don’t have to have a certain level of experience to get a lot from this book, either.  If you are a beginner you will not be totally confused by the topics – in fact, we tried to lay out the book for beginners.  However, experts will also find a lot to learn in these pages. Too.</p>
<h2 style="text-align:justify;"><strong>Philosophy of the Book</strong></h2>
<p style="text-align:justify;">We believe that this book will give advanced users a refresher and beginners a good learning point. We believe that after reading this book, our readers would be ignited to learn more. The goal of this book was not to tell you everything but to tell you enough so that you can learn yourself. Here is the hidden philosophy behind the book:</p>
<blockquote>
<p style="text-align:justify;"><em><strong>&#8220;Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.&#8221; &#8211; Source Unknown</strong></em></p>
</blockquote>
<p style="text-align:justify;">Our goal in writing this book was to give our readers a SQL Server fishing pole.  They can then learn how to “fish out” the good answers and solutions to their problems.  This book does <em>not</em> list the most common problems (and interview questions) and then give a long list about exactly what to do.  The point of this book was to teach the readers to think for themselves – and feed themselves for a lifetime.</p>
<h2 style="text-align:justify;"><strong>Mastering the Basics</strong></h2>
<p style="text-align:justify;">Recently someone asked me if they could pass an interview just by reading this book. The answer is –<em><strong> interviews are a complex process</strong></em>. One’s goal should not be to merely pass the interview. The goal should be to demonstrate your knowledge and find the right appropriate way to apply your learning. Think of it this way, before attempting to pass an interview just by remembering the right answers – ask yourself if you will be able to perform the real world tasks &#8211; the answer can be complex. How about this – learn all you can about the real work job before you go to the interview, and master the subject. Now when you go to the interview or to the real world job, you will always demonstrate superior quality and the ability to perform the necessary tasks.</p>
<h2 style="text-align:justify;"><strong>Igniting Learning</strong></h2>
<p style="text-align:justify;">Well, our book is exactly the same. It tells you what you should learn in depth, what you should know in the real world, what kind of information you should collect and master before you go on that interview. Do not use this book as a tool to pass the interview &#8211; it will not work that way &#8211; consider the book as <em><strong>&#8216;learning path&#8217;</strong></em>. Take each topic covered in the book and dwell on it, think about it and digest it slowly and masterfully. The book is designed in such a way that every important topic has enough reference material listed right below it. You can use the references listed there or do your own search on the subject. Just make sure that the learning experience is complete.</p>
<h2 style="text-align:justify;"><strong>Real World Experience</strong></h2>
<p style="text-align:justify;"><img class="alignnone" src="http://images.sqlauthority.com/success.png" alt="" width="480" height="208" /></p>
<p style="text-align:justify;">In a tough job market, it can be easy to look at a job advertisement and think to yourself, <em><strong>“I could do that job.”</strong></em>  You might know just a little bit about a subject, and you think that if you study hard enough you will sound smart enough to get the job, and then later you can learn all you can about the subject.  However, while our book will certainly help with the “sounding smart” part, you will also find that it encourages you to really learn SQL Server before that interview – with lots of real world examples and pointers advanced learning.  We encourage everyone to think about the job they want and love, and go for it.  Don’t look at book as just a way to get a job.</p>
<h2 style="text-align:justify;"><strong>YOU!</strong></h2>
<p style="text-align:justify;">We are constantly flooded with numerous emails, positive comments and constructive feedback. We are overwhelmed that almost everybody has understood the philosophy behind the book. SQL Server experts have told us that this book has helped them remember the basics and many have sent us questions to incorporate into the next versions. We believe the success of this concept is the positive energy which we have received from all of <strong>YOU</strong>!</p>
<p style="text-align:justify;">Here are few blog posts about the book:</p>
<p style="text-align:justify;">1) Review by <strong>Nakul Vachhrajani</strong> &#8211; <a href="http://beyondrelational.com/blogs/nakul/archive/2011/12/19/book-review-sql-server-interview-questions-and-answers-by-pinal-dave-amp-vinod-kumar.aspx" target="_blank">Good, portable book with easy to understand language on SQL Server Interview Questions &amp; Answers</a></p>
<p style="text-align:justify;">2) Review by <strong>Paras Doshi</strong> &#8211; <a href="http://parasdoshi.com/2011/11/22/book-review-sql-server-interview-questions-and-answers-by-pinal-dave-and-vinod-kumar/" target="_blank">Book Review: SQL server Interview Questions and Answers by Pinal Dave and Vinod Kumar</a>.</p>
<p style="text-align:justify;"> 3) Review by <strong>Madhivanan</strong> SQL Server MVP  &#8211; <a href="http://beyondrelational.com/blogs/madhivanan/archive/2011/11/14/book-review-sql-sql-server-interview-questions-and-answers.aspx" target="_blank">Book Review &#8211; SQL Server Interview Questions and Answers</a></p>
<p style="text-align:justify;">4) Review by <strong>Sandeep Kalra</strong> &#8211; <a href="http://debugmode.net/2011/11/14/pinal-dave-and-vinod-kumars-sql-server-interview-questions-and-answers-book-review/" target="_blank">Pinal Dave and Vinod Kumar‘s SQL Server Interview Questions and Answers: Book review</a></p>
<p style="text-align:justify;">This book is available worldwide, here is the information about book &#8211; <strong><a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/" target="_blank">SQL Server Interview Questions and Answers</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-book-review/'>SQLAuthority Book Review</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16389&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://images.sqlauthority.com/oldbook.jpg" medium="image" />

		<media:content url="http://images.sqlauthority.com/success.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Plenty of SQL Community Updates</title>
		<link>http://blog.sqlauthority.com/2011/12/07/sql-server-plenty-of-sql-community-updates/</link>
		<comments>http://blog.sqlauthority.com/2011/12/07/sql-server-plenty-of-sql-community-updates/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 01:30:41 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16202</guid>
		<description><![CDATA[Every day we learn something new and we come across something which we like to read. I had decided to keep a log of things what I do during whole day. Here are few updates which I think you will find it interesting. This updates are in no specific order. Comment by David Bridge on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16202&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Every day we learn something new and we come across something which we like to read. I had decided to keep a log of things what I do during whole day. Here are few updates which I think you will find it interesting. This updates are in no specific order.</p>
<p style="text-align:justify;">Comment by David Bridge on <a href="http://blog.sqlauthority.com/2011/12/02/sql-server-effect-of-set-no-count-on-rowcount/#comment-209241" target="_blank">SQL SERVER – Effect of SET NOCOUNT on @@ROWCOUNT<br />
</a>David has written comment and clarified the message which I wanted to pass while writing blog post. I wish I had written the statement &#8220;NOCOUNT statement only affects the information messages and not the DML statement results &#8221; which he wrote effortlessly in comment. Thanks David.</p>
<p style="text-align:justify;">Blog by Vinod Kumar on <a href="http://blogs.extremeexperts.com/2011/11/22/sql-server-2012-rc0-is-out/" target="_blank">SQL Server RC0 Resources</a><br />
Vinod Kumar compiles the exhausting list of links and resources that might be of some interest to you on SQL Server 2012 RC0.</p>
<p style="text-align:justify;"><a href="http://www.sqlsaturday.com/116/eventhome.aspx" target="_blank">SQL Saturday 116</a><br />
SQL Server 116 is here in India. This is going to very first SQL Saturday in India. Here are <a href="http://blog.sqlauthority.com/2011/12/05/sqlauthority-news-sql-saturday-116-sql-saturday-in-bangalore-india-on-january-7-2012/" target="_blank">various links</a> related to SQL Saturday 116.</p>
<p style="text-align:justify;"><a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2008/10/30/my-stored-procedure-best-practices-checklist.aspx" target="_blank">Excellent Best Practices</a> article by <a id="ctl00___ctl00___ctl00_ctl00_bcr_bth___BlogTitle" href="http://sqlblog.com/blogs/aaron_bertrand/default.aspx">Aaron Bertrand</a><br />
Aaron has written excellent timeless article on SQL Server Best Practices. If you have not read it earlier, well you read it now.</p>
<p style="text-align:justify;">Just learned from Madhivanan &#8211; <a href="http://beyondrelational.com/justlearned/posts/37/opening-msdn-forum-from-ssms.aspx" target="_blank">SSMS Allows you to ask a question in the MSDN forum directly from SSMS</a><br />
I really loved this simple trick. I did know this earlier and I have now just learned.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/12/06/sqlauthority-news-sql-server-interview-questions-and-answers-available-on-kindle-format-as-ebook-to-download/" target="_blank">SQL Server Interview Questions and Answers on Kindle</a><br />
Our new book SQL Server Questions and Answers is now available on Kindle at special rate for this month.</p>
<p style="text-align:justify;"><a href="http://www.pluralsight-training.net/microsoft/?utm_source=sqlauthority&amp;utm_medium=sidebar&amp;utm_content=all-the-latest&amp;utm_campaign=m1-kickoff" target="_blank">Pluralsight </a>SQL Server training courses by <a href="http://www.pluralsight-training.net/microsoft/Authors/Details?handle=dan-sullivan&amp;utm_source=sqlauthority&amp;utm_medium=sidebar&amp;utm_content=all-the-latest&amp;utm_campaign=m1-kickoff" target="_blank">Dan Sullivan</a><br />
I have so far attended every single course created by Dan on Pluralsight and find it very informative.</p>
<p style="text-align:justify;">Well, these are my top 7 updates of yesterday.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/readers-contribution/'>Readers Contribution</a>, <a href='http://blog.sqlauthority.com/category/readers-question/'>Readers Question</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16202&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/12/07/sql-server-plenty-of-sql-community-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Where Can YOU Get My Books &#8211; SQL Server Interview Question and Answers</title>
		<link>http://blog.sqlauthority.com/2011/12/01/sql-server-where-can-you-get-my-books-sql-server-interview-question-and-answers-2/</link>
		<comments>http://blog.sqlauthority.com/2011/12/01/sql-server-where-can-you-get-my-books-sql-server-interview-question-and-answers-2/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 01:30:04 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority Book Review]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16120</guid>
		<description><![CDATA[Earlier month I released by third book SQL Server Interview Question and Answers. The focus of this book is &#8216;master the basics&#8217;. If you rate yourself 10 out of 10 in SQL Server &#8211; this book is not for you but if you want to learn fundamentals or want to refresh your fundamentals this book [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16120&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Earlier month I released by third book SQL Server Interview Question and Answers. The focus of this book is &#8216;master the basics&#8217;. If you rate yourself 10 out of 10 in SQL Server &#8211; this book is not for you but if you want to learn fundamentals or want to refresh your fundamentals this book is for YOU. Earlier I was overwhelmed by love you all have shown to this book on release date leading our three digit inventory to run out of stock. Read detail blog post about the subject over here <strong><a href="http://blog.sqlauthority.com/2011/11/14/sqlauthority-news-a-real-story-of-book-getting-out-of-stock-to-a-25-discount-story-available/">A Real Story of Book Getting ‘Out of Stock’ to A 25% Discount Story Available</a></strong>.</p>
<p style="text-align:justify;">Well, we learn the lesson from the experience and have made sure that the inventory does not run out any more. Since then we are now available on multiple outlets. Pretty much anywhere in USA and India the book is available. Additionally, where ever Amazon ships internationally.</p>
<p style="text-align:justify;">I have created dedicated page where I have listed where one can avail this book from <strong><a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/" target="_blank">Details of SQL Server Interview Question and Answers</a></strong>. Even though I keep on getting common question like &#8211; where one can get this book.</p>
<h3 style="text-align:justify;"><strong>You can get this book from:</strong></h3>
<h4 style="text-align:justify;"><strong>USA: <a href="http://amzn.to/qTOXoG" target="_blank">Amazon</a></strong></h4>
<h4 style="text-align:justify;"><strong>India: <a href="http://bit.ly/indiasqlinterview" target="_blank">Flipkart</a> | <a href="http://bit.ly/ipinterviewbook" target="_blank">IndiaPlaza</a> | <a href="http://bit.ly/cwinterview" target="_blank">Crossword</a></strong></h4>
<p style="text-align:justify;">In India now you can walk into any crossword store and ask this book, if they do not have it, you can ask them get one for you.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-documentation/'>SQL Documentation</a>, <a href='http://blog.sqlauthority.com/category/sql-download/'>SQL Download</a>, <a href='http://blog.sqlauthority.com/category/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-author-visit/'>SQLAuthority Author Visit</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-book-review/'>SQLAuthority Book Review</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16120&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/12/01/sql-server-where-can-you-get-my-books-sql-server-interview-question-and-answers-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL Server Interview Questions And Answers Book Summary</title>
		<link>http://blog.sqlauthority.com/2011/11/04/sqlauthority-news-sql-server-interview-questions-and-answers-book-summary/</link>
		<comments>http://blog.sqlauthority.com/2011/11/04/sqlauthority-news-sql-server-interview-questions-and-answers-book-summary/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 01:30:43 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15612</guid>
		<description><![CDATA[Today we are using computers for various activities, motor vehicles for traveling to places, and mobile phones for conversation. How many of us can claim the invention of micro-processor, a basic wheel, or the telegraph? Similarly, this book was not written overnight. The journey of this book goes many years back with many individuals to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15612&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/"><img class="alignleft" style="margin-right:2px;margin-left:2px;" src="http://www.pinaldave.com/bimg/sqlinterview.jpg" alt="" width="300" height="456" /></a>Today we are using computers for various activities, motor vehicles for traveling to places, and mobile phones for conversation. How many of us can claim the invention of micro-processor, a basic wheel, or the telegraph? Similarly, this book was not written overnight. The journey of this book goes many years back with many individuals to be thanked for.</p>
<p style="text-align:justify;">To begin with, we want to thank all those interviewers who reject interviewees by saying they need to know ‘the key things’ regardless of having high grades in class. The whole concept of interview questions and answers revolves around knowing those ‘key things’.</p>
<p style="text-align:justify;">The core concept of this book will continue to evolve over time. I am sure many of you will come along with us on this journey and submit your suggestions to us to make this book a key reference for anybody who wants to start with SQL Server. Today we want to acknowledge the fact that you will help us keep this book alive forever with the latest updates. We want to thank everyone who participates in this journey with us.</p>
<p style="text-align:justify;">Though each of these chapters are geared towards convenience we highly recommend reading each of the sections irrespective of the roles you might be doing since each of the sections have some interesting trivia about working with SQL Server. In the industry the role of accidental DBA’s (especially with SQL Server) is very common. Hence if you have performed the role of DBA for a short stint and want to brush-up your fundamentals then the upcoming sections will be a great review.</p>
<p style="text-align:justify;"><strong>Table Of Contents</strong></p>
<ul style="text-align:justify;">
<li>Database Concepts With Sql Server</li>
<li>Common Generic Questions &amp; Answers</li>
<li>Common Developer Questions</li>
<li>Common Tricky Questions</li>
<li>Miscellaneous Questions On Sql Server 2008</li>
<li>Dba Skills Related Questions</li>
<li>Data Warehousing Interview Questions &amp; Answers</li>
<li>General Best Practices</li>
</ul>
<h2>[<a href="http://amzn.to/qTOXoG" target="_blank"><strong>Amazon</strong></a>] | [<a href="http://bit.ly/indiasqlinterview" target="_blank"><strong>Flipkart</strong></a>]</h2>
<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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15612/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15612/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15612/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15612&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/11/04/sqlauthority-news-sql-server-interview-questions-and-answers-book-summary/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlinterview.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; New Book Released &#8211; SQL Server Interview Questions And Answers</title>
		<link>http://blog.sqlauthority.com/2011/11/03/sqlauthority-news-new-book-released-sql-server-interview-questions-and-answers/</link>
		<comments>http://blog.sqlauthority.com/2011/11/03/sqlauthority-news-new-book-released-sql-server-interview-questions-and-answers/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 01:30:26 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Data Warehousing]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Book Review]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15590</guid>
		<description><![CDATA[Two days ago, on birthday of my blog &#8211; I asked simple question &#8211; Guess! What is in this box? I have received lots of interesting comments on the blog about what is in it. Many of you got it absolutely incorrect and many got it close to the right answer but no one got [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15590&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/box.JPG" alt="" width="201" height="151" />Two days ago, on <strong><a href="http://blog.sqlauthority.com/2011/11/01/sqlauthority-news-5th-anniversary-giveaways/" target="_blank">birthday of my blog</a></strong> &#8211; I asked simple question &#8211; <em><strong>Guess! What is in this box?</strong></em></p>
<p style="text-align:justify;">I have received lots of interesting comments on the blog about what is in it. Many of you got it absolutely incorrect and many got it close to the right answer but no one got it 100% correct. Well, no issue at all, I am going to give away the price to whoever has the closest answer first in personal email.</p>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/bookbox.JPG" alt="" width="244" height="182" /></p>
<p style="text-align:justify;">Here is the answer to the question about what is in the box? Here it is &#8211; the box has my new book. In fact, I should say <em><strong>our</strong></em> new book as I co-authored this book with my very good friend <strong><a href="http://blogs.extremeexperts.com/" target="_blank">Vinod Kumar</a></strong>. We had real blast writing this book together and had lots of interesting conversation when we were writing this book. This book has one simple goal &#8211; &#8220;master the basics.&#8221;</p>
<p style="text-align:justify;">This book is not only for people who are preparing for interview. This book is for every one who wants to revisit the basics and wants to prepare themselves to the technology. One always needs to have practical knowledge to do their duty efficiently. This book talks about more than basics. There are multiple ways to present learning &#8211; either we can create simple book or make it interesting. We have decided the learning should be interactive and have opted for Interview Questions and Answer format.</p>
<p style="text-align:justify;">Here is quick interview which we have done together.</p>
<p style="text-align:justify;"><span style="text-align:center; display: block;"><a href="http://blog.sqlauthority.com/2011/11/03/sqlauthority-news-new-book-released-sql-server-interview-questions-and-answers/"><img src="http://img.youtube.com/vi/-TsXh9guB8M/2.jpg" alt="" /></a></span></p>
<h3 style="text-align:justify;"><a href="http://bit.ly/sqlinterviewbook" target="_blank">Details of the books are here</a></h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/sqlinterview.jpg" alt="" width="200" />The core concept of this book will continue to evolve over time. I am sure many of you will come along with us on this journey and submit your suggestions to us to make this book a key reference for anybody who wants to start with SQL server. Today we want to acknowledge the fact that you will help us keep this book alive forever with the latest updates. We want to thank everyone who participates in this journey with us.</p>
<p style="text-align:justify;">You can get the books from [<a href="http://amzn.to/qTOXoG" target="_blank"><strong>Amazon</strong></a>] | [<a href="http://bit.ly/indiasqlinterview" target="_blank"><strong>Flipkart</strong></a>].</p>
<p style="text-align:justify;"><strong>Read <a href="http://blogs.extremeexperts.com/2011/11/03/sql-server-interview-book/" target="_blank">Vinod</a>&#8216;s blog post. </strong>Do not forget to wish him<strong> happy birthday</strong> as today is his birthday and also book release day &#8211; two reason to wish him congratulations.<strong><br />
</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/data-warehousing/'>Data Warehousing</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-book-review/'>SQLAuthority Book Review</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15590/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15590/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15590/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15590/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15590/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15590/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15590/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15590/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15590&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/11/03/sqlauthority-news-new-book-released-sql-server-interview-questions-and-answers/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

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

		<media:content url="http://www.pinaldave.com/bimg/sqlinterview.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; expressor Studio 3.4 Rules Editor &#8211; ETL Graphical Coding Tool</title>
		<link>http://blog.sqlauthority.com/2011/10/11/sql-server-expressor-studio-3-4-rules-editor-etl-graphical-coding-tool/</link>
		<comments>http://blog.sqlauthority.com/2011/10/11/sql-server-expressor-studio-3-4-rules-editor-etl-graphical-coding-tool/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 01:31:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14913</guid>
		<description><![CDATA[New in the expressor Studio 3.4 release is the rules editor.  This graphical coding tool replaces the transform editor of earlier versions.  The rules editor works in concert with the newly introduced attribute propagation functionality to minimize the amount of data mapping and coding you need to provide.  The expressor folks are telling me that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14913&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">New in the <strong><a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor Studio 3.4</a></strong> release is the rules editor.  This graphical coding tool replaces the transform editor of earlier versions.  The rules editor works in concert with the newly introduced attribute propagation functionality to minimize the amount of data mapping and coding you need to provide.  The expressor folks are telling me that in a future release we will be able to save and reuse rules, which will make everyone’s  application development tasks even simpler and less prone to errors.</p>
<p style="text-align:justify;">So what’s attribute propagation?  expressor’s starting point observation is that in any transformation most values are either copied from the input record to the output record without any changes or dropped from the output record.  What attribute propagation does is transparently perform these operations without a requirement for coding.  Consequently, within an operator performing a transformation, your only responsibility is to manipulate the values that do require modification.  And this is where the rules editor becomes involved.</p>
<p style="text-align:justify;">Let’s consider an example.  A company wants to give any employee whose tenure with the company started before January 1, 1995 a 5% salary increase.  The application will read a list of employees from a SQL Server database table, determine if the employee’s hire date was before January 1, 1995, and if appropriate calculate a new salary.</p>
<p style="text-align:justify;">Of course expressor offers many ways to develop this application, but I’ll just highlight one approach as it’s the rules editor that I want to discuss.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/ruleseditor1.png" alt="" width="383" height="88" /></p>
<p style="text-align:justify;">With <strong><a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a></strong>, this application can be developed using three operators: a SQL Query operator to select the qualified employees from the SQL Server database table, a Transform operator to carry out the salary calculation, and a Write Table operator to write the modified record back to the database table.  The SQL Query operator executes a SELECT statement that limits the result set to only those employees who qualify for the raise.</p>
<p style="text-align:justify;" align="center">SELECT * FROM employees WHERE HIRE_DATE &lt; CONVERT(VARCHAR(23), &#8217;1995-Jan-01&#8242; , 121)</p>
<p style="text-align:justify;">To continue developing the application, I open the rules editor of the Transform operator.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/ruleseditor2.png"><img class="alignnone" src="http://www.pinaldave.com/bimg/ruleseditor2.png" alt="" width="500" /></a></p>
<p style="text-align:justify;">In the left-hand panel is a listing of the attributes in each incoming record.  The names of these attributes are identical to the table column names, although expressor allows you to easily rename if desired.</p>
<p style="text-align:justify;">The right-hand panel shows the effect of attribute propagation.  That is, each incoming attribute has been transferred to the outgoing record.  The right-facing arrow before each attribute name indicates that the attribute will be automatically initialized and that no coding is required.</p>
<p style="text-align:justify;">To alter the value assigned to the outgoing record’s SALARY attribute, start by using the mouse to drag a connection between the input and output attributes.  An expression rule is displayed.  The default code simply transfers the incoming value to the output.  Also note that the symbol before the output attribute’s name has changed from the right-facing arrow to a diamond, indicating that this attribute is initialized through code.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/ruleseditor3.png"><img class="alignnone" src="http://www.pinaldave.com/bimg/ruleseditor3.png" alt="" width="500" height="243" /></a></p>
<p style="text-align:justify;">All I need to do to complete the application is modify the default code, applying the salary increase and, since all salaries are stored as whole dollars, apply a rounding, which I can easily do by clicking the Math button in the Edit tab of the ribbon bar and selecting round from the drop down list of functions.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/ruleseditor4.png"><img class="alignnone" src="http://www.pinaldave.com/bimg/ruleseditor4.png" alt="" width="500" /></a></p>
<p style="text-align:justify;">But what happens when my processing logic is more complex, for example, I only want to give the raise to employees whose commission percentage is smaller than 0.35%.  Then I replace the expression rule with a function rule, where I have full access to the underlying code and I can use the filter helper function to enrich my logic.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/ruleseditor5.png"><img class="alignnone" src="http://www.pinaldave.com/bimg/ruleseditor5.png" alt="" width="500" /></a></p>
<p style="text-align:justify;">In this example, I demonstrated the use of an expression rule and a function rule in the Transform operator.  These rule types are also available in the Join operator.  Within the Transform operator you can also work with a lookup expression rule and a lookup function rule.  These are the rules you use to access the lookup table artifact, another new feature of expressor Studio 3.4.  And in the Aggregate operator you can use an aggregate expression rule, which allows you to select an aggregating function from a drop down control, or an aggregate function rule that allows you to completely manage the processing logic.</p>
<p style="text-align:justify;">While the example developed in this article was quite simple, I think you will agree that attribute propagation and the new rules editor provide a high level of support when your applications require coding.  I continue to be intrigued by the many innovations <strong><a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ" target="_blank">expressor</a></strong> is putting into their desktop ETL tool.  You can download their tool by following this <strong><a href="http://go.expressor-software.com/desktop-edition-etl-tool.html?campaignID=70140000000MapQ">link</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/dba/'>DBA</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14913/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14913/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14913/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14913&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/11/sql-server-expressor-studio-3-4-rules-editor-etl-graphical-coding-tool/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

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

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

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

		<media:content url="http://www.pinaldave.com/bimg/ruleseditor5.png" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Various Ways to Stay in Touch with SQLAuthority.com &#8211; Best Practices</title>
		<link>http://blog.sqlauthority.com/2011/09/29/sqlauthority-news-various-ways-to-stay-in-touch-with-sqlauthority-com-best-practices/</link>
		<comments>http://blog.sqlauthority.com/2011/09/29/sqlauthority-news-various-ways-to-stay-in-touch-with-sqlauthority-com-best-practices/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 01:30:40 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14630</guid>
		<description><![CDATA[Social Media is growing and quite commonly we reach to the point where we have confusion about the various aspects of the same. I have written a previous article on this subject SQLAuthority News – Social Media Confusion – Twitter, FaceBook, LinkedIn and Me. I am present and active at so many spots that many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14630&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/contactus.jpg" alt="" width="200" />Social Media is growing and quite commonly we reach to the point where we have confusion about the various aspects of the same. I have written a previous article on this subject <a href="http://blog.sqlauthority.com/2010/09/04/sqlauthority-news-social-media-confusion-twitter-facebook-linkedin-and-me/"><strong>SQLAuthority News – Social Media Confusion – Twitter, FaceBook, LinkedIn and Me</strong></a>. I am present and active at so many spots that many wonder on how to approach me. I have decided to create this blog post, which will serve as a quick guide for others regarding how to stay in touch with SQLAuthority.com</p>
<h2 style="text-align:justify;">My Personal Coordinates</h2>
<ul style="text-align:justify;">
<li>Twitter: <strong><a href="http://twitter.com/pinaldave" target="_blank">http://twitter.com/pinaldave</a></strong></li>
<li>Facebook: <strong><a href="http://facebook.com/SQLAuth" target="_blank">http://facebook.com/SQLAuth</a></strong></li>
<li>LinkedIn: <strong><a href="http://www.linkedin.com/in/pinaldave" target="_blank">http://www.linkedin.com/in/pinaldave</a></strong></li>
<li>Email: pinal &#8216;at&#8217; SQLAuthority.com</li>
</ul>
<h2 style="text-align:justify;">Blog Coordinates</h2>
<ul style="text-align:justify;">
<li>Facebook: <strong><a href="http://facebook.com/SQLAuth" target="_blank">http://facebook.com/SQLAuth</a></strong></li>
<li>Newsletter: <strong><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=872428" target="_blank">Feedburner</a></strong></li>
<li>Feed: <strong><a href="http://blog.sqlauthority.com/feed/" target="_blank">http://blog.sqlauthority.com/feed/</a></strong></li>
<li>Comments Feed: <strong><a href="http://blog.sqlauthority.com/comments/feed/" target="_blank">http://blog.sqlauthority.com/comments/feed/</a></strong></li>
</ul>
<h2 style="text-align:justify;">My Preference for Facebook</h2>
<p style="text-align:justify;"><a href="http://facebook.com/SQLAuth" target="_blank"><img class="alignleft" src="http://www.pinaldave.com/bimg/facebook-logo.jpg" alt="" width="200" height="45" /></a>I am very active on <a href="http://facebook.com/SQLAuth" target="_blank"><strong>Facebook</strong></a>. I think the Facebook page is great way to stay connected with everyone. I check my Facebook page once in every 2 hours during the day. I want to make sure that no comments left on the Facebook are missed. I often post or blog various events related to the SQL Server. I think Facebook comments give us a structured communication medium. There are so many topics that we discuss on Facebook.</p>
<p style="text-align:justify;">For example,</p>
<p style="text-align:justify;">What are we going to learn on today?<br />
What is going on in the SQL Server World around the globe?<br />
Where I am I speaking next?<br />
Where can you find more details about various SQL Servers?</p>
<p style="text-align:justify;">I always announce all my upcoming news first on my <a href="http://facebook.com/SQLAuth" target="_blank"><strong>Facebook</strong></a> page. I consider every fan and friend on the Facebook page as very special. Earlier, we had done a special exclusive competition on Facebook page, where we had gave away a lot of gifts.</p>
<p style="text-align:justify;"><strong>Office Hours</strong></p>
<p style="text-align:justify;">Every week, I observe <a href="http://www.facebook.com/SQLAuth?sk=app_120188084701558" target="_blank"><strong>office hours</strong></a> on my Facebook page, where I am available to answer any SQL Server-related question. We actively communicate during this hour. The best part is that there are so much conversation going on at the same time, and the learning experience goes to next level ‑ so many questions and so many real answers in 60 minutes.</p>
<h2 style="text-align:justify;">My Preference for Twitter</h2>
<p style="text-align:justify;"><a href="http://twitter.com/pinaldave" target="_blank"><img class="alignleft" src="http://www.pinaldave.com/bimg//twitter-logo.jpg" alt="" width="200" height="54" /></a>I currently follow many people on <a href="http://twitter.com/pinaldave" target="_blank"><strong>Twitter</strong></a>, and I enjoy reading the information shared on twitter. However, Twitter can be considered like a river; so, I often miss lots of things. If you want to draw my attention to something, then please include @pinaldave or #SQLAuthority somewhere in the email; this way, I will get an email of the same in my mailbox, and I will surely read the comments.</p>
<p style="text-align:justify;">I often post my new activities and interesting finds on my Twitter. I do not consider Twitter as a marketing channel; so I always make sure that I write all of my tweets myself. If you are following me on Twitter, then only tweet you will which are automated contains information regarding my blog and link to my blog.</p>
<p style="text-align:justify;">You can always ask me any question on Twitter, and I always make sure that I respond to it. I often RT tweets, which I find interesting in my river of tweets. If your tweet is during the time when I have not keep my Twitter page open, then I may miss your tweet. This does not mean that your tweet was not interesting and I ignored it. If you want me to read your tweet, then you can always mention my name or send me an email directly.</p>
<p style="text-align:justify;">I open Twitter in the morning and evening for couple of hours. During the work hours, I usually keep off Twitter  as it can be a distraction.</p>
<h2 style="text-align:justify;">My Preference for LinkedIn</h2>
<p style="text-align:justify;"><strong><a href="http://www.linkedin.com/in/pinaldave" target="_blank"><img class="alignleft" src="http://www.pinaldave.com/bimg/linkedin.jpg" alt="" width="200" height="61" />LinkedIn</a></strong> is my professional network, and I often participate in questions and answers as well in the groups. I do not post personal posts in this network and keep the communication totally work related and professional. If you have any question regarding the blog, I suggest you go with the Facebook page or contact page on the SQLAuthority blog.</p>
<h2 style="text-align:justify;">My Preference for Email</h2>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/email.png" alt="" width="200" height="152" />No matter how much ever we grow our social media network, Email still seems to be the most preferred method. I get more than 300 emails every day on various subjects. This 300+ does not include any work email, personal email, or emails from my close friends. These emails are from various people who have questions for SQL Server or technology in general. I always make sure that I answer any email in 24 hours.</p>
<p style="text-align:justify;">I have created my own deadlines to answer emails. Let me just quickly share with you.</p>
<ul style="text-align:justify;">
<li><em>Family, Friends and Work:</em> 2 Hours</li>
<li><em>Questions related to Books:</em> 8 Hours</li>
<li><em>Questions related to Blog:</em> 8 Hours</li>
<li><em>Other:</em> 24 Hours</li>
</ul>
<p style="text-align:justify;">If you do not get answer from me in 24 hours, which means your post has either hit my spam folder or just got lost in cyberspace. When your first email is delivered to spam your subsequent emails may be delivered to spam as well. I suggest you try alternative method to contact me in this case. I suggest <strong><a href="http://www.facebook.com/SQLAuth" target="_blank">facebook</a></strong> page as next method to communicate with me.</p>
<h2 style="text-align:justify;">While asking question through Email</h2>
<p style="text-align:justify;">Sometime I get questions that have very little information. If you have any question related to the SQL Server, I suggest you include as much as information you can instead of just sending me an email suggesting &#8216;help me&#8217;. Here is the list of the few things that I would like to see in any email query.</p>
<ul style="text-align:justify;">
<li>SQL Server Version</li>
<li>Screenshot of the error</li>
<li>Issue you are facing</li>
<li>Expected result</li>
<li>Current result</li>
<li>Recent changes in server/configuration or anything else</li>
</ul>
<h2 style="text-align:justify;">Instant Communication / Messengers</h2>
<p style="text-align:justify;">Many have figured out my messenger id by trying my username at various communicators. I often get pinged asking for help. I use the messenger mainly for friends and family. I always politely answer each of the messenger pop-ups and forward them to any of the abovementioned communication media. It will be of immense help if you email me when you have an urgent question. I assure you that I will do my best. I have a family, job and other priorities. All the social media communication channels give me time to answer the questions when I am free; however, instant messages can create interruption.</p>
<h2 style="text-align:justify;">Stay updated</h2>
<p style="text-align:justify;">There are cases when you just wanted to stay updated with what is happening with SQL Server and SQLAuthority.</p>
<h3 style="text-align:justify;">Feed</h3>
<p style="text-align:justify;">If you are using the RSS reader, I suggest that you subscribe my <a href="http://blog.sqlauthority.com/feed/" target="_blank"><strong>Feed</strong></a> in your RSS reader. Most of the RSS readers provide facilities to reply right back to the blog author or go to comments page.</p>
<h3 style="text-align:justify;">Newsletter</h3>
<p style="text-align:justify;">If you do not prefer the RSS reader and prefer to go our good old email way, then you can subscribe to my <a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=872428" target="_blank"><strong>newsletter</strong></a> over here. This will ensure that the emails directly reach your mailbox. You can hit reply and reach me ‑ write away!</p>
<h2 style="text-align:justify;">Summary:</h2>
<p style="text-align:justify;">If all of these sound too complicated, then just get in touch with me any way you prefer. I am here to help you always!</p>
<p style="text-align:justify;">Reference:<strong></strong> <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14630/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14630/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14630/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14630&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/09/29/sqlauthority-news-various-ways-to-stay-in-touch-with-sqlauthority-com-best-practices/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

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

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

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

		<media:content url="http://www.pinaldave.com/bimg/email.png" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Tomorrow Online Session &#8211; Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</title>
		<link>http://blog.sqlauthority.com/2011/09/28/sqlauthority-news-tomorrow-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/</link>
		<comments>http://blog.sqlauthority.com/2011/09/28/sqlauthority-news-tomorrow-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 01:30:34 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14621</guid>
		<description><![CDATA[Today in few hours I am going to present on my very favorite subject of performance tuning. You can read more about this sessions over here. This presentation is based on the famous book &#8216;The Art of War&#8217; written in sixth century BC by Sun Tzu. Index is usually a favorite tool of many when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14621&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today in few hours I am going to present on my very favorite subject of performance tuning.</p>
<p style="text-align:justify;">You can read more about this sessions over here. <img class="alignleft" style="margin:3px;" src="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" alt="" width="134" height="201" /></p>
<p style="text-align:justify;"><strong></strong>This presentation is based on the famous book <strong>&#8216;The Art of War&#8217;</strong> written in sixth century BC by Sun Tzu. Index is usually a favorite tool of many when it is about performance tuning. However, Index is not everything. Performance tuning is much very deep subject and one needs to understand various aspect of the performance tuning. In today&#8217;s session I will cover performance tuning beyond indexes. I have created some real interesting demos.</p>
<h3 style="text-align:justify;">Sessions Details</h3>
<p style="text-align:justify;">Title: <em><strong>Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</strong></em><br />
Timing: <em><strong>September 29, 2011 11:45am-12:45pm IST</strong></em><br />
SQL Server Indexes are double edge sword. If used properly it gives tremendous performance improvement of the server. However, there is a dark side of the Index as well, which one needs to learn before using them to improve performance of the query. In this session we will go over various concepts of the Indexes which are not common but extremely important.<br />
Location: <a href="http://www.virtualtechdays.com/agendaDay2.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Register for Virtual Tech Days </a></p>
<h3 style="text-align:justify;">Giveaways</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:4px;" src="http://www.pinaldave.com/bimg/j2pwait_s.jpg" alt="" width="92" height="139" />During my session I will ask a simple question. I will give away <strong>5 copies</strong> of my <strong><a href="http://bit.ly/waitstats" target="_blank">SQL Server Wait Stats</a></strong> books to five random person who will answer it correctly. If you have already have this book, I strongly suggest you attend this session as this session will take the performance tuning concepts to next level. I will make sure that I autograph and send this copies to your way.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14621/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14621&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/09/28/sqlauthority-news-tomorrow-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/j2pwait_s.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Online Session &#8211; Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</title>
		<link>http://blog.sqlauthority.com/2011/09/26/sqlauthority-news-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/</link>
		<comments>http://blog.sqlauthority.com/2011/09/26/sqlauthority-news-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 01:30:49 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14594</guid>
		<description><![CDATA[Performance Tuning has been my favorite subject always. I love this subject the most. I personally have enjoyed every aspect of performance tuning. Quite often I have seen that when it is about performance, people end up talking about Indexes. Index for sure can help performance, but it is like secret weapon and it must [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14594&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Performance Tuning has been my favorite subject always. I love this subject the most. I personally have enjoyed every aspect of performance tuning. Quite often I have seen that when it is about performance, people end up talking about Indexes. Index for sure can help performance, but it is like secret weapon and it must be used carefully as the same thing can be dangerous. I have personally attended many sessions that are related to Indexes as well as how to identify the correct index and remove useless indexes. I always wanted Indexing presentation to bring much more than these usual topics.</p>
<h3 style="text-align:justify;">Session Inspiration</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:3px;" src="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" alt="" width="158" height="236" /></p>
<p style="text-align:justify;">Driven with coming up something different around indexes, I created this presentation. This presentation is based on the famous book <strong>&#8216;The Art of War&#8217;</strong> written in sixth century BC by Sun Tzu. This book is composed of 13 chapters, each of which is devoted to one aspect of warfare, and it is said to be the definitive work on military strategies and tactics of its time, and it is still read for its military insights. I am heavily inspired by this book, and I have always treated performance tuning as a war.</p>
<p style="text-align:justify;">Here are the three subjects which I will be covering in my online presentation.</p>
<h3 style="text-align:justify;">How to defeat an opponent</h3>
<ul style="text-align:justify;">
<li>Using Weapon</li>
</ul>
<blockquote>
<ul>
<li>Carry a convenient weapon</li>
<li>Use anything as weapon</li>
</ul>
</blockquote>
<ul style="text-align:justify;">
<li>Use Counter Intelligence</li>
</ul>
<blockquote>
<ul>
<li>Use spy network</li>
<li>Use statistical data points</li>
</ul>
</blockquote>
<ul style="text-align:justify;">
<li>The Lords of War</li>
</ul>
<blockquote>
<ul>
<li>Extra-ordinary intellect</li>
<li>Supreme heroic ability</li>
</ul>
</blockquote>
<p style="text-align:justify;">I have created three demos to support the above three sections. I am very sure that this is one of the most interesting and inspiring sessions for performance tuning. Here are the details for the session.</p>
<h3 style="text-align:justify;">Sessions Details</h3>
<p style="text-align:justify;">Title: <em><strong>Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</strong></em><br />
Timing: <em><strong>September 29, 2011 11:45am-12:45pm IST</strong></em><br />
SQL Server Indexes are like a double-sided sword. If used properly it gives tremendous performance improvement of the server. However, there is a dark side of the Index as well, which one needs to learn before using them to improve the performance of the query. In this session, we will go over various concepts of the Indexes, which are not common but extremely important.<br />
Location: <a href="http://www.virtualtechdays.com/agendaDay2.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Register for Virtual Tech Days </a></p>
<h3 style="text-align:justify;">Giveaways</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:4px;" src="http://www.pinaldave.com/bimg/j2pwait_s.jpg" alt="" width="94" height="142" /></p>
<p style="text-align:justify;">During my session, I will ask a simple question. I will give away <strong>5 copies</strong> of my <a href="http://bit.ly/waitstats" target="_blank"><strong>SQL Server Wait Stats</strong></a> books to five random people who will answer it correctly. If you already have this book, I strongly suggest you attend this session as this session will take the performance tuning concepts to next level. I will make sure that I personally autograph and send these copies to your way.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14594/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14594&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/09/26/sqlauthority-news-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/j2pwait_s.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Use INSERT INTO &#8230; SELECT instead of Cursor</title>
		<link>http://blog.sqlauthority.com/2011/08/10/sql-server-use-insert-into-select-instead-of-cursor/</link>
		<comments>http://blog.sqlauthority.com/2011/08/10/sql-server-use-insert-into-select-instead-of-cursor/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 01:29:30 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13820</guid>
		<description><![CDATA[This blog post is written in response to the post showing some of the worst practices of past. Well, just like last month&#8217;s theme, everybody learns by doing it one step at a time. In my case, I started my career as a network engineer and had no database knowledge during that time. I can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13820&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://sqlblog.com/blogs/adam_machanic/archive/2011/08/03/t-sql-tuesday-21-a-day-late-and-totally-full-of-it.aspx"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/TSQLWednesday.jpg" alt="" width="180" height="180" /></a>This blog post is written in response to the post showing some of the <strong><a href="http://sqlblog.com/blogs/adam_machanic/archive/2011/08/03/t-sql-tuesday-21-a-day-late-and-totally-full-of-it.aspx">worst practices of past.</a></strong> Well, just like last month&#8217;s theme, everybody learns by doing it one step at a time. In my case, I started my career as a network engineer and had no database knowledge during that time. I can still remember my old code which became quite a laughingstock when it was sent for a code review. This story is indeed interesting, so instead of writing shortly, I am going to write today in detail.</p>
<p style="text-align:justify;">It happened about 8 years ago when I was working as Network Engineer in United States. I was responsible for a large data center and we had more than 40 servers under my watch. In our SQL Server database we had one table for the inventory of all the servers. On that table we used to keep a lot of details of the server. To keep it simple, I will say that we have only two columns in that table: ServerID and ServerName. I was asked to write a script which was intended to retrieve all the data from this table and insert them into the new table that was created by the database administrator. I thought I could handle SQL Server script well enough because I learned SQL a bit when I was younger. I ended up writing a script where I wrote cursor to SELECT single row from the table and insert into new table. Well, this went very fine. The script was taking a while to perform its tasks; nevertheless, it worked. I used this script for a short while.</p>
<p style="text-align:justify;">Here is the script that I wrote. I am using sample and simple database for example. Please note that this is not a good practice.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Create Table and Populate with Sample Data<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">ServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID </span><span style="color:blue;">INT</span><span style="color:gray;">, </span><span style="color:black;">ServerName </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">))<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">ServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">1</span><span style="color:gray;">, </span><span style="color:red;">'First Server'<br />
</span><span style="color:blue;">UNION </span><span style="color:gray;">ALL<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">2</span><span style="color:gray;">, </span><span style="color:red;">'Second Server'<br />
</span><span style="color:blue;">UNION </span><span style="color:gray;">ALL<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">3</span><span style="color:gray;">, </span><span style="color:red;">'Third Server'<br />
</span><span style="color:green;">-- Creating New Table<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">NewServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID </span><span style="color:blue;">INT</span><span style="color:gray;">, </span><span style="color:black;">ServerName </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">))<br />
</span><span style="color:green;">-- Insert Logic<br />
</span><span style="color:blue;">DECLARE </span><span style="color:#434343;">@Flag </span><span style="color:blue;">INT<br />
SELECT </span><span style="color:#434343;">@Flag </span><span style="color:blue;">= </span><span style="color:magenta;">COUNT</span><span style="color:gray;">(*) </span><span style="color:blue;">FROM </span><span style="color:black;">ServerTable<br />
</span><span style="color:blue;">WHILE</span><span style="color:gray;">(</span><span style="color:#434343;">@Flag </span><span style="color:gray;">&gt; </span><span style="color:black;">0</span><span style="color:gray;">)<br />
</span><span style="color:blue;">BEGIN<br />
INSERT INTO </span><span style="color:black;">NewServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">ServerTable<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">ServerID </span><span style="color:blue;">= </span><span style="color:#434343;">@Flag<br />
</span><span style="color:blue;">SET </span><span style="color:#434343;">@Flag </span><span style="color:blue;">= </span><span style="color:#434343;">@Flag </span><span style="color:gray;">- </span><span style="color:black;">1<br />
</span><span style="color:blue;">END<br />
SELECT </span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">NewServerTable<br />
</span><span style="color:green;">-- Clean up<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">ServerTable<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">NewServerTable<br />
</span></code></p>
<p style="text-align:justify;">This script worked very well till we had changed in company policy. We then had a newly- appointed CTO (which I was about to become 3 years after this incidence), who introduced the requirement of Code Reviewing of all both old codes and new ongoing codes. When my code went to a code review, my Team Leader really laughed at my code. So he sent me new piece of the code which was much shorter and more efficient. The code which he proposed was as follows. I honestly say this was much better than my code.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Create Table and Populate with Sample Data<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">ServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID </span><span style="color:blue;">INT</span><span style="color:gray;">, </span><span style="color:black;">ServerName </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">))<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">ServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">1</span><span style="color:gray;">, </span><span style="color:red;">'First Server'<br />
</span><span style="color:blue;">UNION </span><span style="color:gray;">ALL<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">2</span><span style="color:gray;">, </span><span style="color:red;">'Second Server'<br />
</span><span style="color:blue;">UNION </span><span style="color:gray;">ALL<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">3</span><span style="color:gray;">, </span><span style="color:red;">'Third Server'<br />
</span><span style="color:green;">-- Creating New Table<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">NewServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID </span><span style="color:blue;">INT</span><span style="color:gray;">, </span><span style="color:black;">ServerName </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">))<br />
</span><span style="color:green;">-- Insert Logic</span><span style="color:blue;"><br style="color:blue;" /> INSERT INTO </span><span style="color:black;">NewServerTable </span><span style="color:gray;">(</span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">ServerTable<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ServerID</span><span style="color:gray;">, </span><span style="color:black;">ServerName<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">NewServerTable<br />
</span><span style="color:green;">-- Clean up<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">ServerTable<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">NewServerTable</span></code></p>
<p style="text-align:justify;">If you’ve noticed, the new insert code is just reduced to two lines only. Today you might think it is a very simple code, but for me it was a very new thing during those times. Now comes the best part of this whole story.</p>
<p style="text-align:justify;">My team leader, who was very supportive and extremely positive person, asked me to demonstrate this whole incidence on our next team meeting. Honestly, I did not feel bad about accepting my mistake and learning new things. During the team meeting, I first accepted the fact that I was wrong with my code and thanked the Team Leader for giving me the opportunity to improve and develop myself. Because of his encouragement to accept my own mistake and improve from that incident, today I have reached this place.</p>
<p style="text-align:justify;">Please get rid of cursors and use INSERT INTO&#8230;SELECT or SELECT INTO logic.</p>
<p style="text-align:justify;">Reference:  Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13820/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13820/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13820/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13820&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/08/10/sql-server-use-insert-into-select-instead-of-cursor/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/TSQLWednesday.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Database Worst Practices &#8211; New Town and New Job and New Disasters</title>
		<link>http://blog.sqlauthority.com/2011/07/12/sql-server-database-worst-practices-new-town-and-new-job-and-new-disasters/</link>
		<comments>http://blog.sqlauthority.com/2011/07/12/sql-server-database-worst-practices-new-town-and-new-job-and-new-disasters/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 01:30:50 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13555</guid>
		<description><![CDATA[This blog post is written in response to the T-SQL Tuesday hosted by Amit Banerjee. I know Amit personally and very big fan of his community activities. I read his blog, read his comments, follow his tweets, and the most importantly reach out to him when I feel like talking SQL. Amit has selected a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13555&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://troubleshootingsql.com/2011/07/05/invitation-for-t-sql-tuesday-19-t-sql-best-practices/"><img class="alignleft" src="http://www.pinaldave.com/bimg/TSQL2sDay.jpg" alt="" width="150" height="150" /></a>This blog post is written in response to the T-SQL Tuesday hosted by <a href="http://troubleshootingsql.com/2011/07/05/invitation-for-t-sql-tuesday-19-t-sql-best-practices/" target="_blank">Amit Banerjee</a>. I know Amit personally and very big fan of his community activities. I read his blog, read his comments, follow his tweets, and the most importantly reach out to him when I feel like talking SQL.</p>
<p style="text-align:justify;">Amit has selected a very interesting subject &#8211; Best Practices. When I read the subject, I can directly relate this subject to my real world interactions. I have seen so many developers and DBAs making fatal mistakes in the early days of their career. Most of the time, they get another chance because they are new to the job or that particular task, which they are doing for the first time. However, such excuses cannot be made for experts and senior professionals. They are expected perform and carry out the right practices always.</p>
<p style="text-align:justify;">Instead of writing best practices, I am going to write about few of the worst practices which I have quite often seen in the real world. Some of them are really bad that I often wonder how those who still use them were able to continue on the job so far. Let us go over few of the worst practices I have observed in the industry.</p>
<h2 style="text-align:justify;"><strong>My log file is growing too big &#8211; I truncated the log without taking backup.</strong></h2>
<p style="text-align:justify;">This has to be the numero uno of worst practices. Every time I come across such a statement, I almost miss a heartbeat. Before I continue, let me confess that at the beginning of the career, I have practiced the same. After a while, I had learned it the hard way. This is never a good practice; truncating the log file is not an option. The reason why I rate this as the worst practice: this one mistake can make database impossible to recover. When someone truncates the log file without taking backup, there is no chance of recovery.</p>
<p style="text-align:justify;">Here are a couple of articles which I have written on how to prevent log file from growing too big.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2010/09/20/sql-server-how-to-stop-growing-log-file-too%C2%A0big/" target="_blank"><strong>How to Stop Growing Log File Too Big</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/03/19/sql-server-log-file-growing-for-model-database-model-database-log-file-grew-too-big/" target="_blank">Log File Growing for Model Database – model Database Log File Grew Too Big</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/01/09/sql-server-master-database-log-file-grew-too-big/" target="_blank">master Database Log File Grew Too Big</a></p>
<h2 style="text-align:justify;"><strong>I shrink my database daily to regain the space.</strong></h2>
<p style="text-align:justify;">This is one of the popular worst practices. I have seen administrators shrinking the database at the end of the day to gain the space only to lose it the very next day. Shrinking is a VERY BAD operation. It increases fragmentation, reduces the performance, and wastes the resources. I strongly advise not to do it.</p>
<p style="text-align:justify;">Here are few articles I had earlier written on this subject.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/01/19/sql-server-shrinking-database-is-bad-increases-fragmentation-reduces-performance/" target="_blank"><strong>Shrinking Database is Bad – Increases Fragmentation – Reduces Performance</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2010/08/12/sql-server-shrinkdatabase-for-every-database-in-the-sql-server/" target="_blank"><strong>SHRINKDATABASE For Every Database in the SQL Server</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2010/06/15/sql-server-shrinking-ndf-and-mdf-files-readers%E2%80%99%C2%A0opinion/" target="_blank">Shrinking NDF and MDF Files – Readers’ Opinion</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2010/05/03/sql-server-shrinkfile-and-truncate-log-file-in-sql-server-2008/" target="_blank">SHRINKFILE and TRUNCATE Log File in SQL Server 2008</a></p>
<h2 style="text-align:justify;"><strong>Clustered Index makes the table to sort every time. I do not have clustered index on any table.</strong></h2>
<p style="text-align:justify;">For an OLTP system, Index is very important and clustered index is the most important index (in my opinion). Clustered index forces order to the table and removes the &#8216;forwarding records&#8217; problem from the database. Personally, I consider tables without clustered index performance to be unacceptable?. In my OLTP system, I always recommend that all tables should have clustered index.</p>
<p style="text-align:justify;">Here is a quick script that can help in identifying a table without clustered index in the database.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/05/26/sql-server-2005-find-table-without-clustered-index-find-table-with-no-primary-key/" target="_blank"><strong>Find Table without Clustered Index – Find Table with no Primary Key</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/06/18/sql-server-clustered-index-on-separate-drive-from-table-location/" target="_blank">Clustered Index on Separate Drive From Table Location</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/02/21/sql-server-observation-effect-of-clustered-index-over-nonclustered-index-2/" target="_blank">Observation – Effect of Clustered Index over Nonclustered Index</a></p>
<h2 style="text-align:justify;"><strong>TempDB is not important; so I will keep it on my slow drive.</strong></h2>
<p style="text-align:justify;">Personally, I have tremendous respect for TempDB. Even though it resets every time when the server restarts, this is a single most important database that is shared among all the other databases in the system. This database is used for sorting, temporary objects, triggers, row version and in other operations. Keeping it on the slow drive is not the solution, but reality is that it will just create many performance-related problems in the overall system. If your TempDB is becoming full, move it to the another drive.</p>
<p style="text-align:justify;">Here are a few blog posts I have written on TempDB.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/12/17/sql-server-t-sql-script-to-find-details-about-tempdb/" target="_blank"><strong>T-SQL Script to Find Details About TempDB</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/04/01/sql-server-tempdb-is-full-move-tempdb-from-one-drive-to-another-drive/" target="_blank"><strong>TempDB is Full. Move TempDB from one drive to another drive</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/01/26/sql-server-reducing-page-contention-on-tempdb/" target="_blank">Reducing Page Contention on TempDB</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/06/28/sql-server-2005-improvements-in-tempdb/" target="_blank">Improvements in TempDB</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/12/15/sql-server-tempdb-restrictions-temp-database-restrictions/" target="_blank">TempDB Restrictions – Temp Database Restrictions</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2008/05/17/sql-server-ideal-tempdb-filegrowth-value/" target="_blank">Ideal TempDBFileGrowth Value</a></p>
<h2 style="text-align:justify;"><strong>I am confused between Full, Differential, and Log Backup</strong></h2>
<p style="text-align:justify;">Inability to understand the proper recovery model is another worst practice. I have people restoring many differential backups while restoring the database. I quite often see that log file backup interval is so huge it is more than differential backup interval. There are so many factors which can lead to disaster and data loss, leading to people to look for a new job in a new town at times. If you are confused regarding what is tail log backup, then stop, and learn from online books before implementing the backup strategy. Even if you are not responsible for implementing the backup strategy, I would still suggest you to read how to carry out proper backup as you never know when it will land heavily on your job card!</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/disaster2.jpg" alt="" width="490" height="425" /></p>
<p style="text-align:justify;">Here are few interesting write-ups on this subject on this blog.</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/07/14/sql-server-backup-timeline-and-understanding-of-database-restore-process-in-full-recovery-model/" target="_blank"><strong>Backup Timeline and Understanding of Database Restore Process in Full Recovery Model</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/07/15/sql-server-restore-sequence-and-understanding-norecovery-and-recovery/" target="_blank"><strong>Restore Sequence and Understanding NORECOVERY and RECOVERY</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2009/09/02/sql-server-mirrored-backup-and-restore-and-split-file-backup-2/" target="_blank"><strong>Mirrored Backup and Restore and Split File Backup</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/07/18/sql-server-restore-database-without-or-with-backup-everything-about-restore-and-backup/" target="_blank">Restore Database Without or With Backup – Everything About Restore and Backup</a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2007/02/25/sql-server-restore-database-backup-using-sql-script-t-sql/" target="_blank">Restore Database Backup using SQL Script (T-SQL)</a></p>
<p style="text-align:justify;">There are many more practices I can write, but I think these five are the top worst practices. Feel free to post your opinions and suggestions.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/codeproject-2/'>CodeProject</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13555/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13555/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13555/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13555&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/07/12/sql-server-database-worst-practices-new-town-and-new-job-and-new-disasters/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

		<media:content url="http://www.pinaldave.com/bimg/disaster2.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Free Online Training on .net and SQL</title>
		<link>http://blog.sqlauthority.com/2011/06/16/sql-server-free-online-training-on-net-and-sql/</link>
		<comments>http://blog.sqlauthority.com/2011/06/16/sql-server-free-online-training-on-net-and-sql/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 01:30:23 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13238</guid>
		<description><![CDATA[I around 10 Free Online Training Codes available of .NET and SQL Training from Pluralsight. I am willing to give it to someone who wants learn technology this weekend. You just have to go to my Facebook page and leave a comment explaining in one line &#8211; what course will you learn during weekend. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13238&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I around 10 Free Online Training Codes available of .NET and SQL Training from <strong><a href="http://www.pluralsight-training.net/microsoft/?utm_source=sqlauthority&amp;utm_medium=sidebar&amp;utm_content=all-the-latest&amp;utm_campaign=m1-kickoff" target="_blank">Pluralsight</a></strong>. I am willing to give it to someone who wants learn technology this weekend. You just have to go to my <strong><a href="http://www.facebook.com/SQLAuth" target="_blank">Facebook page</a></strong> and leave a comment explaining in one line &#8211; what course will you learn during weekend. I will send all this codes to 10 winners whom I will randomly select using Facebook.</p>
<p style="text-align:justify;">Meanwhile do you know how can you generate Zero without using any numbers in T-SQL. My friend <a href="http://beyondrelational.com/blogs/madhivanan/archive/2011/06/15/how-will-you-produce-zero-without-using-any-numbers.aspx" target="_blank">Madhivanan </a>has done that and I find it very interesting.Run following T-SQL code &#8211; &#8216;SELECT $&#8217;. He has written many other tricks how to generate zero also on his <a href="http://beyondrelational.com/blogs/madhivanan/archive/2011/06/15/how-will-you-produce-zero-without-using-any-numbers.aspx" target="_blank">blog</a>.</p>
<p style="text-align:justify;">On another note &#8211; I have published my answer for question about SELECT * vs SELECT COUNT(*) <a href="http://blog.sqlauthority.com/2011/06/15/sql-server-solution-puzzle-select-vs-select-count/" target="_blank">here</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13238/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13238&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/06/16/sql-server-free-online-training-on-net-and-sql/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; First Month as DBA Trainee &#8211; Disasters and Recovery</title>
		<link>http://blog.sqlauthority.com/2011/06/14/sql-server-first-month-as-dba-trainee-disasters-and-recovery/</link>
		<comments>http://blog.sqlauthority.com/2011/06/14/sql-server-first-month-as-dba-trainee-disasters-and-recovery/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 01:30:08 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13220</guid>
		<description><![CDATA[This blog post is written in response to the T-SQL Tuesday hosted by Allen Kinsel. He has selected very interesting subject for T-SQL Tuesday &#8211; Disaster and Recovery. This subject took me in past &#8211; my past. There were various things, I had done or proposed when I started very first month as a DBA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13220&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://www.allenkinsel.com/archive/2011/06/invitation-for-t-sql-tuesday-19-disasters-recovery/"><img class="alignleft" style="margin:3px;" src="http://www.pinaldave.com/bimg/TSQL2sDay.jpg" alt="" width="150" height="150" /></a>This blog post is written in response to the T-SQL Tuesday hosted by <a href="http://www.allenkinsel.com/archive/2011/06/invitation-for-t-sql-tuesday-19-disasters-recovery/" target="_blank">Allen Kinsel</a>. He has selected very interesting subject for T-SQL Tuesday &#8211; Disaster and Recovery. This subject took me in past &#8211; my past. There were various things, I had done or proposed when I started very first month as a DBA trainee. I was tagged along with very senior DBA in my organization who always protected me or correct my mistake. He was great guy and totally understand the young mind of over-enthusiastic Trainee DBA. I respect him very much.</p>
<p style="text-align:justify;">Here are few things which I had learned in my very first month (not necessarily I have practices them on production).</p>
<ul>
<li>Never compress (zip) native backup using any tools, when disaster happen sometime the extra time to un-compress the database can be too long and not acceptable for business SLA</li>
<li>Do not truncate logs</li>
<li>After restoring full database backup &#8211; only restore latest differential back, no need to restore all the backup</li>
<li>Always write WHERE condition when deleting and updating</li>
</ul>
<p>Sr. DBA always advised me &#8211; always keep your résumé ready and car ready &#8211; you never know when you can not recover disaster! Well for sure it was a joke. Today&#8217;s T-SQL Tuesday remind me of my very first month as DBA trainee.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13220&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/06/14/sql-server-first-month-as-dba-trainee-disasters-and-recovery/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/TSQL2sDay.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Community Tech Days &#8211; TechEd on The Road &#8211; Ahmedabad &#8211; June 11, 2011</title>
		<link>http://blog.sqlauthority.com/2011/06/03/sqlauthority-news-community-tech-days-teched-on-the-road-ahmedabad-june-11-2011/</link>
		<comments>http://blog.sqlauthority.com/2011/06/03/sqlauthority-news-community-tech-days-teched-on-the-road-ahmedabad-june-11-2011/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 01:30:42 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Wait Stats]]></category>
		<category><![CDATA[SQL Wait Types]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13089</guid>
		<description><![CDATA[TechEd on Road is back! In Ahmedabad June 11, 2011! Inviting all Professional Developers, Project Managers, Architects, IT Managers, IT Administrators and Implementers of Ahmedabad to be a part of Tech•Ed on the Road, on 11th June, 2011. We have put together the best sessions from Tech•Ed India 2011 for you in your city. Focal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13089&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><strong></strong><strong>TechEd on Road is back! In Ahmedabad June 11, 2011!</strong></h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:5px;" src="http://www.pinaldave.com/bimg/techedonroad1.jpg" alt="" width="241" height="198" /><strong></strong>Inviting all Professional Developers, Project Managers, Architects, IT Managers, IT Administrators and Implementers of Ahmedabad to be a part of <strong>Tech•Ed on the Road</strong>, on 11th June, 2011. We have put together the best sessions from Tech•Ed India 2011 for you in your city. Focal point will be technologies like Database and BI, Windows 7, ASP.NET.</p>
<h2 style="text-align:justify;"><strong><a href="http://www.communitytechdays.com/Registration1.aspx?Status=NotFound&amp;login=Offline" target="_blank">REGISTER HERE!</a></strong></h2>
<p style="text-align:justify;"><strong>Venue:</strong><br />
Venue: Ahmedabad Management Association (AMA)<br />
Dr. Vikram Sarabhai Marg,<br />
University Area,<br />
Ahmedabad, Gujarat 380 015</p>
<p style="text-align:justify;"><strong>Time:</strong> 9:30AM &#8211; 5:30PM</p>
<p style="text-align:justify;">The biggest attraction of the event is session <strong>HTML5 &#8211; Future of the Web</strong> by <strong>Harish Vaidyanathan</strong>. He is Evangelist Lead in Microsoft and hands on developer himself. I strongly urge all of you to attend his session to understand direction of the web and Microsoft&#8217;s take on the subject.</p>
<p style="text-align:justify;">I (<strong>Pinal Dave</strong>) will be presenting on the session of <em><strong>SQL Server Performance Tuning</strong></em> and <strong>Jacob Sebastian</strong> will be presenting on <em><strong>T-SQL Worst Practices</strong></em>. Do not miss this opportunity. Those who have attended in the past know that from last two years the venue is jam packed in first few minutes. Do come in early to get better seat and reserve your spot.</p>
<p style="text-align:justify;">We will have QUIZ during the event and we will have various gifts &#8211; Watches, USB Drives, T-Shirts and many more interesting gifts.</p>
<p style="text-align:justify;">Refer the <strong><a href="http://communitytechdays.com/agenda.aspx#ahmedabad" target="_blank">agenda today</a></strong> and <strong><a href="http://www.communitytechdays.com/Registration1.aspx" target="_blank">register </a></strong>right away. There will be no video recording so come and visit the event in person.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/dba/'>DBA</a>, <a href='http://blog.sqlauthority.com/category/mvp/'>MVP</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-stats/'>SQL Wait Stats</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-types/'>SQL Wait Types</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13089/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13089/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13089/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13089&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/06/03/sqlauthority-news-community-tech-days-teched-on-the-road-ahmedabad-june-11-2011/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/techedonroad1.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Vote for My Session in SQL PASS</title>
		<link>http://blog.sqlauthority.com/2011/05/13/sql-server-vote-for-my-session-in-sql-pass/</link>
		<comments>http://blog.sqlauthority.com/2011/05/13/sql-server-vote-for-my-session-in-sql-pass/#comments</comments>
		<pubDate>Fri, 13 May 2011 01:30:44 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12886</guid>
		<description><![CDATA[Please Vote for My Session in SQL PASS SQL Server Waits and Queues – Your Gateway to Performance Troubleshooting Session Level: 300 Session Category: Regular Session (75 minutes) Session Track: Enterprise Database Administration and Deployment Just like a horoscope, SQL Server Waits and Queues can reveal your past, explain your present and predict your future. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12886&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><strong><a href="http://www.sqlpass.org/summit/2011/Speakers/SessionPreferencing.aspx?k=pinal&amp;p=1&amp;preferred=False" target="_blank">Please Vote for My Session in SQL PASS</a></strong></p>
<h3 style="text-align:justify;">SQL Server Waits and Queues – Your Gateway to Performance Troubleshooting</h3>
<p style="text-align:justify;"><strong>Session Level:</strong> 300<br />
<strong>Session Category:</strong> Regular Session (75 minutes)<br />
<strong>Session Track:</strong> Enterprise Database Administration and Deployment<strong></strong><br />
Just like a horoscope, SQL Server Waits and Queues can reveal your past, explain your present and predict your future. SQL Server Performance Tuning uses the Waits and Queues as a proven method to identify the best opportunities to improve performance. A glance at Wait Types can tell where there is a bottleneck. Learn how to identify bottlenecks and potential resolutions in this fast paced, advanced performance tuning session.</p>
<p style="text-align:justify;">I have previously presented this session at TechEd India and it got very much appreciated by attendees: <strong></strong><strong><a href="http://blog.sqlauthority.com/2011/04/08/sqlauthority-news-teched-2011-bangalore-an-unforgettable-experience-day-next/">SQLAuthority News – TechED 2011 – Bangalore – An Unforgettable Experience – Day Next</a></strong>.</p>
<h3 style="text-align:justify;"><strong><a href="http://www.sqlpass.org/summit/2011/Speakers/SessionPreferencing.aspx?k=pinal&amp;p=1&amp;preferred=False" target="_blank">Please Vote for My Session in SQL PASS</a></strong></h3>
<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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12886/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12886/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12886/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12886&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/13/sql-server-vote-for-my-session-in-sql-pass/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Video &#8211; Best Practices Analyzer using Microsoft Baseline Configuration Analyzer</title>
		<link>http://blog.sqlauthority.com/2011/05/06/sql-server-video-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/</link>
		<comments>http://blog.sqlauthority.com/2011/05/06/sql-server-video-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/#comments</comments>
		<pubDate>Fri, 06 May 2011 01:30:09 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12812</guid>
		<description><![CDATA[Yesterday I presented on the subject Check SQL Server Health using Best Practices Analyzer. There was great response to the session. Many asked me if the session is recorded so they can watch it later on. Absolutely, the session is recorded and you can watch it at your convince. Not only you can watch the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12812&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Yesterday I presented on the subject <strong>Check SQL Server Health using Best Practices Analyzer</strong>. There was great response to the session. Many asked me if the session is recorded so they can watch it later on. Absolutely, the session is recorded and you can watch it at your convince. Not only you can watch the session online but can also download the same and watch it while traveling or on your Windows Phone.</p>
<h3 style="text-align:justify;"><a href="http://zeollar.cloudapp.net/Session/224" target="_blank"><strong>Video of Check SQL Server Health using Best Practices Analyzer</strong></a></h3>
<p style="text-align:justify;">If you want to download the resources which I have used in this presentation here is the link of the same:</p>
<h3 style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/05/05/sql-server-presenting-on-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/"> Download BPA resources</a></strong></h3>
<p style="text-align:justify;">Do let me what you think of the same. If you like it, let me know and I will have more videos like the same.</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong><code><br />
</code></p>
<p style="text-align:justify;">
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12812/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12812/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12812/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12812/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12812/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12812/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12812/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12812/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12812&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/06/sql-server-video-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Presenting on Best Practices Analyzer using Microsoft Baseline Configuration Analyzer</title>
		<link>http://blog.sqlauthority.com/2011/05/05/sql-server-presenting-on-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/</link>
		<comments>http://blog.sqlauthority.com/2011/05/05/sql-server-presenting-on-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/#comments</comments>
		<pubDate>Thu, 05 May 2011 01:30:47 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12789</guid>
		<description><![CDATA[Today (May 5, 2011) I will be presenting on Presenting on Best Practices Analyzer using Microsoft Baseline Configuration Analyzer at http://zeollar.com/. I will be presenting on following subjects. The tools which I will be using in the demonstration are following: Engine &#8211; Backups outdated for databases Engine &#8211; Database files and backups exist on the same [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12789&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today (May 5, 2011) I will be presenting on Presenting on Best Practices Analyzer using Microsoft Baseline Configuration Analyzer at <strong><a href="http://zeollar.com/" target="_blank">http://zeollar.com/</a></strong>. I will be presenting on following subjects.</p>
<p style="text-align:justify;">The tools which I will be using in the demonstration are following:</p>
<ul style="text-align:justify;">
<li>Engine &#8211; Backups outdated for databases</li>
<li>Engine &#8211; Database files and backups exist on the same volume</li>
<li>Engine &#8211; SQL Server tempdb database not configured optimally</li>
<li>Engine &#8211; Authentication Mode</li>
<li>Engine &#8211; Database consistency check not current</li>
<li>Engine &#8211; Databases using simple recovery model</li>
</ul>
<p id="DownloadName" style="text-align:justify;"><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1B6E9026-F505-403E-84C3-A5DEA704EC67" target="_blank">Microsoft Baseline Configuration Analyzer 2.0</a></p>
<p style="text-align:justify;">Microsoft Baseline Configuration Analyzer 2.0 (MBCA 2.0) can help you maintain optimal system configuration by analyzing configurations of your computers against a predefined set of best practices, and reporting results of the analyses.</p>
<p id="DownloadName" style="text-align:justify;"><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0fd439d7-4bff-4df7-a52f-9a1be8725591" target="_blank">Microsoft® SQL Server® 2008 R2 Best Practices Analyzer</a></p>
<p style="text-align:justify;">The Microsoft SQL Server 2008 R2 BPA is a diagnostic tool that performs the following functions:</p>
<ul style="text-align:justify;">
<li>Gathers information about a Server and a Microsoft SQL Server 2008 or 2008 R2 instance installed on that Server</li>
<li>Determines if the configurations are set according to the recommended best practices</li>
<li>Reports on all configurations, indicating settings that differ from recommendations</li>
<li>Indicates potential problems in the installed instance of SQL Server</li>
<li>Recommends solutions to potential problems</li>
</ul>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong><code><br />
</code></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12789/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12789/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12789/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12789&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/05/sql-server-presenting-on-best-practices-analyzer-using-microsoft-baseline-configuration-analyzer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Pluralsight On-Demand FREE for SQL Server Course</title>
		<link>http://blog.sqlauthority.com/2011/04/26/sqlauthority-news-pluralsight-on-demand-free-for-sql-server-course/</link>
		<comments>http://blog.sqlauthority.com/2011/04/26/sqlauthority-news-pluralsight-on-demand-free-for-sql-server-course/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 01:30:06 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Training]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12705</guid>
		<description><![CDATA[The Moral of Story You can watch the most popular SQL Server &#8211; TSQL course on Pluralsight On-Demand for FREE for the next 48 hours. It starts NOW! The Story Learning is always difficult. After learning how to apply your knowledge, learning in real life is even more difficult. Technology is moving faster than the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12705&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3 style="text-align:justify;">The Moral of Story</h3>
<p style="text-align:justify;">You can watch the most popular <strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">SQL Server &#8211; TSQL</a></strong> course on <strong></strong><strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">Pluralsight <em>On-Demand </em></a></strong>for FREE for the next <strong>48</strong> hours. It starts <strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">NOW!</a></strong></p>
<h3 style="text-align:justify;">The Story</h3>
<p style="text-align:justify;">Learning is always difficult. After learning how to apply your knowledge, learning in real life is even more difficult. Technology is moving faster than the speed of light and new technologies are always emerging &#8211; this is now the reality of the new technology world. Between all of this, I personally have very little time to learn new technology. I do not like eBooks (this statement warrants a whole new blog posts – some other time), I prefer regular books. It is becoming more and more difficult to carry around the books and read them with passion. It happened to me once that by the time I finished the book, there was a new version of the product out in the market.</p>
<p style="text-align:justify;">Recently I noticed that I am reading more blogs than books. Blogs are great but they are not structured. Structured learning is the key when one wants to understand technology properly. From experience I have learned that watching videos at my convenience (on-demand) and following the labs along with the video is way easier. A good teacher cannot be replaced by 1,000 books. I find that I can learn fastest using online tutorial videos that are well structured.</p>
<p style="text-align:justify;">All the attendees of the technology mega-event in India got free passes from <strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">Pluralsight <em>On-Demand</em></a></strong> training. I watched two Pluralsight courses online and I found they are well structured and have lots of supporting material (lab, scripts, ppts). When I reported my good feedback to Pluralsight, they offered 48 hours free access to their MOST popular <strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">SQL Server &#8211; TSQL</a></strong> course, exclusively for SQLAuthority.com readers. I cannot let this offer pass when it can help so many of my readers.</p>
<h3 style="text-align:justify;">The Beginning of the Real World</h3>
<p style="text-align:justify;">Try out the <strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">SQL Server &#8211; TSQL</a></strong> course right away as it is freely available for the next 48 hours only. Let me know your feedback about the course. This course is for every developer who uses SQL Server in their applications. It covers the fundamentals of using SQL Server from T-SQL to the CLR, to automating processing with SQL Server Integration services.</p>
<p style="text-align:justify;"><strong><span style="color:#ff0000;">UPDATE:</span> You do not need login or create account to watch T-SQL course. Just go to </strong><strong><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=sql-server-tsql&amp;utm_campaign=Free+Course&amp;utm_medium=blog&amp;utm_source=SQL+Authority" target="_blank">SQL Server &#8211; TSQL</a></strong> and click on links.
</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sql-training/'>SQL Training</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12705/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12705/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12705/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12705/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12705/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12705/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12705/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12705/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12705&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/04/26/sqlauthority-news-pluralsight-on-demand-free-for-sql-server-course/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Guest Post &#8211; Architecting Data Warehouse &#8211; Niraj Bhatt</title>
		<link>http://blog.sqlauthority.com/2011/03/14/sql-server-guest-post-architecting-data-warehouse-niraj-bhatt/</link>
		<comments>http://blog.sqlauthority.com/2011/03/14/sql-server-guest-post-architecting-data-warehouse-niraj-bhatt/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Data Warehousing]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12194</guid>
		<description><![CDATA[Niraj Bhatt works as an Enterprise Architect for a Fortune 500 company and has an innate passion for building / studying software systems. He is a top rated speaker at various technical forums including Tech·Ed, MCT Summit, Developer Summit, and Virtual Tech Days, among others. Having run a successful startup for four years Niraj enjoys [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12194&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="text-align:justify;">
<p><img class="alignleft" style="margin:3px;" src="http://www.pinaldave.com/bimg/nirajbhatt.jpg" alt="" width="91" height="115" /><a href="http://nirajrules.wordpress.com/" target="_blank">Niraj Bhatt</a> works as an Enterprise  Architect for a Fortune 500 company and has an innate passion for  building / studying software systems. He is a top rated speaker at  various technical forums including Tech·Ed, MCT Summit, Developer  Summit, and Virtual Tech Days, among others. Having run a successful  startup for four years Niraj enjoys working on – IT innovations that can  impact an enterprise bottom line, streamlining IT budgets through  IT consolidation, architecture and integration of systems, performance  tuning, and review of enterprise applications. He has received Microsoft  MVP award for ASP.NET, Connected Systems and most recently on Windows  Azure. When he is away from his laptop, you will find him taking deep  dives in automobiles, pottery, rafting, photography, cooking and  financial statements though not necessarily in that order. He is also a  manager/speaker at BDOTNET, Asia’s largest .NET user group.</p>
<p>Here is the guest post by <strong><a href="http://nirajrules.wordpress.com/" target="_blank">Niraj Bhatt</a></strong>.</p>
</div>
<div style="text-align:justify;">
<p>As data in your applications grows it’s the database that usually  becomes a bottleneck. It’s hard to scale a relational DB and the  preferred approach for large scale applications is to create separate  databases for writes and reads. These databases are referred as  transactional database and reporting database. Though there are <a href="http://nirajrules.wordpress.com/2008/12/08/snapshot-vs-logshipping-vs-mirroring-vs-replication/">tools / techniques</a> which can allow you to create snapshot of your transactional database  for reporting purpose, sometimes they don’t quite fit the reporting  requirements of an enterprise. These requirements typically are data  analytics, effective schema (for an Information worker to self-service  herself),  historical data, better performance (flat data, no joins)  etc. This is where a need for data warehouse or an OLAP system arises.</p>
<p>A Key point to remember is a data warehouse is mostly a relational  database. It’s built on top of same concepts like Tables, Rows, Columns,  Primary keys, Foreign Keys, etc. Before we talk about how data  warehouses are typically structured let’s understand key components that  can create a data flow between OLTP systems and OLAP systems. There are  3 major areas to it:</p>
<p>a) OLTP system should be capable of tracking its changes as all these  changes should go back to data warehouse for historical recording. For  e.g. if an OLTP transaction moves a customer from silver to gold  category, OLTP system needs to ensure that this change is tracked and  send to data warehouse for reporting purpose. A report in context could  be how many customers divided by geographies moved from sliver to gold  category. In data warehouse terminology this process is called <a href="http://en.wikipedia.org/wiki/Change_data_capture">Change Data Capture</a>.  There are quite a few systems that leverage database triggers to move  these changes to corresponding tracking tables. There are also out of  box features provided by some databases e.g. SQL Server 2008 offers <a href="http://msdn.microsoft.com/en-us/library/bb522489.aspx">Change Data Capture</a> and <a href="http://msdn.microsoft.com/en-us/library/cc280462.aspx">Change Tracking</a> for addressing such requirements.</p>
<p>b) After we make the OLTP system capable of tracking its changes we  need to provision a batch process that can run periodically and takes  these changes from OLTP system and dump them into data warehouse. There  are many tools out there that can help you fill this gap – SQL Server  Integration Services happens to be one of them.</p>
<p>c) So we have an OLTP system that knows how to track its changes, we  have jobs that run periodically to move these changes to warehouse. The  question though remains is how warehouse will record these changes? This  structural change in data warehouse arena is often covered under  something called <a href="http://en.wikipedia.org/wiki/Slowly_changing_dimension">Slowly Changing Dimension</a> (SCD). While we will talk about dimensions in a while, SCD can be  applied to pure relational tables too. SCD enables a database structure  to capture historical data. This would create multiple records for a  given entity in relational database and data warehouses prefer having  their own primary key, often known as surrogate key.</p>
<p>As I mentioned a data warehouse is just a relational database but  industry often attributes a specific schema style to data warehouses.  These styles are <a href="http://en.wikipedia.org/wiki/Star_schema">Star Schema</a> or <a href="http://en.wikipedia.org/wiki/Snowflake_schema">Snowflake Schema</a>.  The motivation behind these styles is to create a flat database  structure (as opposed to normalized one), which is easy to understand /  use, easy to query and easy to slice / dice. Star schema is a database  structure made up of dimensions and facts. Facts are generally the  numbers (sales, quantity, etc.) that you want to slice and dice. Fact  tables have these numbers and have references (foreign keys) to set of  tables that provide context around those facts. E.g. if you have  recorded 10,000 USD as sales that number would go in a sales fact table  and could have foreign keys attached to it that refers to the sales  agent responsible for sale and to time table which contains the dates  between which that sale was made. These agent and time tables are called  dimensions which provide context to the numbers stored in fact tables.  This schema structure of fact being at center surrounded by dimensions  is called Star schema. A similar structure with difference of dimension  tables being normalized is called a Snowflake schema.</p>
<p>This relational structure of facts and dimensions serves as an input  for another analysis structure called Cube. Though physically Cube is a  special structure supported by commercial databases like SQL Server  Analysis Services, logically it’s a multidimensional structure where  dimensions define the sides of cube and facts define the content. Facts  are often called as Measures inside a cube. Dimensions often tend to  form a hierarchy. E.g. Product may be broken into categories and  categories in turn to individual items. Category and Items are often  referred as Levels and their constituents as Members with their overall  structure called as Hierarchy. Measures are rolled up as per dimensional  hierarchy. These rolled up measures are called Aggregates. Now this may  seem like an overwhelming vocabulary to deal with but don’t worry it  will sink in as you start working with Cubes and others.</p>
<p><img class="alignnone" src="http://www.pinaldave.com/bimg/dw_cube.png" alt="" width="616" height="275" /></p>
<p>Let’s see few other terms that we would run into while talking about data warehouses.</p>
<p>ODS or an Operational Data Store is a frequently misused term. There  would be few users in your organization that want to report on most  current data and can’t afford to miss a single transaction for their  report. Then there is another set of users that typically don’t care how  current the data is. Mostly senior level executives who are interesting  in trending, mining, forecasting, strategizing, etc. don’t care for  that one specific transaction. This is where an ODS can come in handy.  ODS can use the same star schema and the OLAP cubes we saw earlier. The  only difference is that the data inside an ODS would be short lived,  i.e. for few months and ODS would sync with OLTP system every few  minutes. Data warehouse can periodically sync with ODS either daily or  weekly depending on business drivers.</p>
<p>Data marts are another frequently talked about topic in data  warehousing. They are subject-specific data warehouse. Data warehouses  that try to span over an enterprise are normally too big to scope,  build, manage, track, etc. Hence they are often scaled down to something  called Data mart that supports a specific segment of business like  sales, marketing, or support. Data marts too, are often designed using  star schema model discussed earlier. Industry is divided when it comes  to use of data marts. Some experts prefer having data marts along with a  central data warehouse. Data warehouse here acts as information staging  and distribution hub with spokes being data marts connected via data  feeds serving summarized data. Others eliminate the need for a  centralized data warehouse citing that most users want to report on  detailed data.</p>
<p>Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
</div>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/business-intelligence/'>Business Intelligence</a>, <a href='http://blog.sqlauthority.com/category/data-warehousing/'>Data Warehousing</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/readers-contribution/'>Readers Contribution</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12194&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/03/14/sql-server-guest-post-architecting-data-warehouse-niraj-bhatt/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

		<media:content url="http://www.pinaldave.com/bimg/dw_cube.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 4 Tips for ETL Software IDE Developers</title>
		<link>http://blog.sqlauthority.com/2011/01/18/sql-server-4-tips-for-etl-software-ide-developers/</link>
		<comments>http://blog.sqlauthority.com/2011/01/18/sql-server-4-tips-for-etl-software-ide-developers/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 01:30:33 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ETL]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11642</guid>
		<description><![CDATA[In a previous blog, I introduced the notion of Semantic Types. To an end-user, a seamlessly integrated semantic typing engine significantly increases the ease of use of an ETL IDE (integrated development environment, or developer studio). This led me to think about other ease-of-use issues I have encountered while building ETL applications. When I get stumped [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11642&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">In a previous blog, I introduced the notion of <a href="http://blog.sqlauthority.com/2010/11/30/sql-server-automated-type-conversion-using-expressor-studio/" target="_blank">Semantic Types</a>. To an end-user, a seamlessly integrated semantic typing engine significantly increases the ease of use of an ETL IDE (integrated development environment, or developer studio). This led me to think about other ease-of-use issues I have encountered while building ETL applications.</p>
<p style="text-align:justify;">When I get stumped while programming, I find myself asking the variations on these questions:</p>
<ul style="text-align:justify;">
<li>“How do I…?”</li>
<li>“Now what?”</li>
<li>“Why isn’t this working?”</li>
<li>“Why do I have to redo the work I just did?”</li>
</ul>
<p style="text-align:justify;">It seems to me that a good ETL IDE will anticipate these questions and seek to answer them before they are even asked. So here are my tips to help software vendors build developer IDEs that actually make development <em>easier</em>.</p>
<p style="text-align:justify;"><strong><em>How do I…?</em></strong></p>
<p style="text-align:justify;">While developing an ETL application, have you ever asked yourself: “How do I set up the connection to my SQL Server database?”,“How do I import my table definitions from Access?”, etc. An easy answer might be “read the manual” but sometimes product manuals are not robust or easily accessible. So, <span style="text-decoration:underline;">integrating robust how-to instructions directly into your ETLstudio </span>would help users get the information they need at the time they need it.</p>
<p style="text-align:justify;"><strong><em>Now what?</em></strong></p>
<p style="text-align:justify;">IDEs in general know where you last clicked or performed an action using an input device such as a keyboard; so they should be able to reasonably predict the design context you are in and suggest the next steps accordingly. <span style="text-decoration:underline;">Context-sensitive suggestions based on the state of the user’s work </span>will help users move forward in ETL application development.</p>
<p style="text-align:justify;"><strong><em> </em></strong></p>
<p style="text-align:justify;"><strong><em>Why isn’t this working? </em></strong>Or<strong><em> why do I have to wait till I compile to be told about a critical design issue?</em></strong></p>
<p style="text-align:justify;">If an ETL IDE is smart enough to signal to users what in their design structures is left to be completed or has been completed incorrectly, then the developer can spend much less time in the designàcompileàerror-correct loop. <span style="text-decoration:underline;">Just-in-time validation</span> helps users detect and correct programming errors earlier in the ETL development life cycle.</p>
<p style="text-align:justify;"><strong><em>Why do I have to redo the work I just did?</em></strong></p>
<p style="text-align:justify;">In ETL development, schemas, transformation rules, connectivity objects, etc., can be reused in various situations. <span style="text-decoration:underline;">Using mouse-clicks to build and manage libraries of reusable design objects </span>implies that the application development effort should decrease over time and as the library acquires more objects.</p>
<p style="text-align:justify;">I met a great company at SQL Pass that is trying to address many of these usability issues. Check them out at <strong><a href="http://expressor-community.com/expressor-studio-download?source=8" target="_blank">www.expressor-software.com</a></strong>.</p>
<p style="text-align:justify;">What other ease-of-use suggestions do you have for ETL software vendors? Please post your valuable comments.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/etl/'>ETL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/11642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/11642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/11642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/11642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/11642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/11642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/11642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/11642/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11642&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/01/18/sql-server-4-tips-for-etl-software-ide-developers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Best Practices for Data Warehousing with SQL Server 2008 R2</title>
		<link>http://blog.sqlauthority.com/2011/01/15/sqlauthority-news-best-practices-for-data-warehousing-with-sql-server-2008-r2/</link>
		<comments>http://blog.sqlauthority.com/2011/01/15/sqlauthority-news-best-practices-for-data-warehousing-with-sql-server-2008-r2/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 01:30:15 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Data Warehousing]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11647</guid>
		<description><![CDATA[An integral part of any BI system is the data warehouse—a central repository of data that is regularly refreshed from the source systems. The new data is transferred at regular intervals  by extract, transform, and load (ETL) processes. This whitepaper talks about what are best practices for Data Warehousing. This whitepaper discusses ETL, Analysis, Reporting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11647&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">An integral part of any BI system is the data warehouse—a central repository of data that is regularly refreshed from the source systems. The new data is transferred at regular intervals  by extract, transform, and load (ETL) processes.</p>
<p style="text-align:justify;">This whitepaper talks about what are best practices for Data Warehousing. This whitepaper discusses ETL, Analysis, Reporting as well relational database. The main focus of this whitepaper is on mainly <em>&#8216;architecture&#8217;</em> and<em> &#8216;performance&#8217;</em>.</p>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/gg567302.aspx" target="_blank">Download Best Practices for Data Warehousing with SQL Server 2008 R2</a></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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/data-warehousing/'>Data Warehousing</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-documentation/'>SQL Documentation</a>, <a href='http://blog.sqlauthority.com/category/sql-download/'>SQL Download</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/11647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/11647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/11647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/11647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/11647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/11647/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/11647/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/11647/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11647&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/01/15/sqlauthority-news-best-practices-for-data-warehousing-with-sql-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Securing TRUNCATE Permissions in SQL Server</title>
		<link>http://blog.sqlauthority.com/2010/12/20/sql-server-securing-truncate-permissions-in-sql-server/</link>
		<comments>http://blog.sqlauthority.com/2010/12/20/sql-server-securing-truncate-permissions-in-sql-server/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 01:30:28 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11239</guid>
		<description><![CDATA[Download the Script of this article from here. On December 11, 2010, Vinod Kumar, a Databases &#38; BI technology evangelist from Microsoft Corporation, graced Ahmedabad by spending some time with the Community during the Community Tech Days (CTD) event. As he was running through a few demos, Vinod asked the audience one of the most [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11239&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Download the Script of this article from <strong><a href="http://www.pinaldave.com/bimg/truncate.zip">here</a></strong>.</p>
<p style="text-align:justify;">On December 11, 2010, <strong><a href="http://blogs.sqlxml.org/vinodkumar/">Vinod Kumar</a></strong>, a Databases &amp; BI technology  evangelist from Microsoft Corporation, graced Ahmedabad by spending some  time with the Community during the<strong><a href="http://blog.sqlauthority.com/2010/12/17/sqlauthority-news-a-successful-community-techdays-at-ahmedabad-december-11-2010/" target="_blank"> Community Tech Days (CTD)</a></strong> event. As  he was running through a few demos, Vinod asked the audience one of the  most fundamental and common interview questions &#8211; &#8220;<strong><em>What is the  difference between a DELETE and TRUNCATE?</em></strong>&#8220;</p>
<p style="text-align:justify;">Ahmedabad SQL Server User Group Expert <strong>Nakul Vachhrajani</strong> has come up with excellent solutions of the same. I must congratulate Nakul for this excellent solution and as a encouragement to User Group member, I am publishing the same article over here.</p>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/Nakul-Vachhrajani.jpg" alt="" width="250" height="226" /><strong>Nakul Vachhrajani</strong> is a Software Specialist and systems development professional with Patni Computer Systems Limited. He has functional experience spanning legacy code deprecation, system design, documentation, development, implementation, testing, maintenance and support of complex systems, providing business intelligence solutions, database administration, performance tuning, optimization, product management, release engineering, process definition and implementation. He has comprehensive grasp on Database Administration, Development and Implementation with MS SQL Server and C, C++, Visual C++/C#. He has about 6 years of total experience in information technology. Nakul is an member of the Ahmedabad and Gandhinagar SQL Server User Groups, and actively contributes to the community by actively participating in multiple forums and websites like <em><strong>SQLAuthority.com, BeyondRelational.com, SQLServerCentral.com</strong></em> and many others.</p>
<p style="text-align:justify;"><em>Please note:  The opinions expressed herein are Nakul own personal opinions and do not represent his employer&#8217;s view in anyway.</em></p>
<p style="text-align:justify;">All data from everywhere here on Earth go through a series of  four distinct operations, identified by the words: <strong>CREATE, READ, UPDATE and DELETE, </strong>or simply<strong>, CRUD.</strong> Putting in Microsoft SQL Server terms, is the process goes like this: INSERT, SELECT, UPDATE and DELETE/TRUNCATE.</p>
<p style="text-align:justify;">Quite a few interesting responses were received and evaluated live during the session. To summarize them, the most important similarity that came out was that both DELETE and TRUNCATE participate in transactions. The major differences (not all) that came out of the exercise were:</p>
<p style="text-align:justify;"><strong>DELETE:</strong></p>
<p style="text-align:justify;">DELETE supports a WHERE clause<br />
DELETE removes rows from a table, row-by-row<br />
Because DELETE moves row-by-row, it acquires a row-level lock<br />
Depending upon the recovery model of the database, DELETE is a fully-logged operation.<br />
Because DELETE moves row-by-row, it can fire off triggers</p>
<p style="text-align:justify;"><strong>TRUNCATE:</strong></p>
<p style="text-align:justify;">TRUNCATE does not support a WHERE clause<br />
TRUNCATE works by directly removing the individual data pages of a table<br />
TRUNCATE directly occupies a table-level lock.<br />
(Because a lock is acquired, and because TRUNCATE can also participate in a transaction, it has to be a logged operation)<br />
TRUNCATE is, therefore, a minimally-logged operation; again, this depends upon the recovery model of the database<br />
Triggers are not fired when TRUNCATE is used (because individual row deletions are not logged)</p>
<p style="text-align:justify;">Finally, Vinod popped the big homework question that must be critically analyzed:</p>
<p style="text-align:justify;"><strong>&#8220;We know that we can restrict a DELETE operation to a particular user, but how can we restrict the TRUNCATE operation to a particular user?” </strong></p>
<p style="text-align:justify;">After returning home and having a nice cup of coffee, I noticed that my gray cells immediately started to work. Below was the result of my research.</p>
<p style="text-align:justify;">As what is always said, the devil is in the details. Upon looking at the Permissions section for the TRUNCATE statement in Books On Line, the following jumps right out:</p>
<p style="text-align:justify;">&#8220;<em>The minimum permission required is <strong>ALTER</strong> on table_name. TRUNCATE TABLE permissions default to the table owner, members of the <strong>sysadmin</strong> fixed server role, and the <strong>db_owner</strong> and <strong>db_ddladmin</strong> fixed database roles, and are not transferable. However, you can incorporate the TRUNCATE TABLE statement within a module, such as a stored procedure, and grant appropriate permissions to the module using the EXECUTE AS clause.</em>&#8220;</p>
<p style="text-align:justify;">Now, what does this mean? Unlike DELETE, one cannot directly assign permissions to a user/set of users allowing or revoking TRUNCATE rights. However, there is a way to circumvent this. It is important to recall that in Microsoft SQL Server, database engine security surrounds the concept of a &#8220;securable&#8221;, which is any object like a table, stored procedure, trigger, etc. Rights are assigned to a principal on a securable. Refer to the image below (taken from the SQL Server Books On Line).</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions.jpg" alt="" width="463" height="600" /></p>
<p>urable&#8221;, which is any object like a table, stored procedure, trigger, etc. Rights are assigned to a principal on a securable. Refer to the image below (taken from the SQL Server Books On Line).</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">SETTING UP THE ENVIRONMENT &#8211; (01A_Truncate Table Permissions.sql) </span><span style="color:#ff0000;">Script Provided at the end of the article.</span><span style="text-decoration:underline;"><br />
</span></strong></p>
<p style="text-align:justify;">By the end of this demo, one will be able to do all the CRUD operations, except the TRUNCATE, and the other will only be able to execute the TRUNCATE.</p>
<p style="text-align:justify;">All you will need for this test is any edition of SQL Server 2008. (With minor changes, these scripts can be made to work with SQL 2005.)</p>
<p style="text-align:justify;">We begin by creating the following:</p>
<p style="text-align:justify;">1.       A test database</p>
<p style="text-align:justify;">2.        Two database roles: associated logins and users</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions1.jpg" alt="" width="500" height="383" /></p>
<p style="text-align:justify;">3.       Switch over to the test database and create a test table. Then, add some data into it. I am using row constructors, which is new to SQL 2008.</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">Creating the modules that will be used to enforce permissions</span></strong></p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;"> </span></strong></p>
<p style="text-align:justify;">1.       We have already created one of the modules that we will be assigning permissions to. That module is the table: TruncatePermissionsTest</p>
<p style="text-align:justify;">2.       We will now create two stored procedures; one is for the DELETE operation and the other for the TRUNCATE operation. Please note that for all practical purposes, the end result is the same &#8211; all data from the table TruncatePermissionsTest is removed</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">Assigning the permissions</span></strong></p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;"> </span></strong></p>
<p style="text-align:justify;">Now comes the most important part of the demonstration &#8211; assigning permissions. A permissions matrix can be worked out as under:</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions2.jpg" alt="" width="500" height="262" /></p>
<p style="text-align:justify;">To apply the security rights, we use the GRANT and DENY clauses, as under:</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions3.jpg" alt="" width="500" height="339" /></p>
<p style="text-align:justify;">That&#8217;s it! We are now ready for our big test!</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">THE TEST (01B_Truncate Table Test Queries.sql) </span></strong><span style="color:#ff0000;"><strong>Script Provided at the end of the article.</strong></span></p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;"> </span></strong></p>
<p style="text-align:justify;">I will now need two separate SSMS connections, one with the login AllowedTruncate and the other with the login RestrictedTruncate.</p>
<p style="text-align:justify;">Running the test is simple; all that’s required is to run through the script &#8211; 01B_Truncate Table Test Queries.sql. What I will demonstrate here via screen-shots is the behavior of SQL Server when logged in as the AllowedTruncate user. There are a few other combinations than what are highlighted here. I will leave the reader the right to explore the behavior of the RestrictedTruncate user and these additional scenarios, as a form of self-study.</p>
<p style="text-align:justify;">1.       Testing SELECT permissions</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions4.jpg" alt="" width="500" height="221" /></p>
<p style="text-align:justify;">2.       Testing TRUNCATE permissions (Remember, &#8220;deny by default&#8221;?)</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions4.jpg" alt="" width="500" height="221" /></p>
<p style="text-align:justify;">3.       Trying to circumvent security by trying to TRUNCATE the table using the stored procedure</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/permissions6.jpg" alt="" width="500" height="79" /></p>
<p style="text-align:justify;">Hence, we have now proved that a user can indeed be assigned permissions to specifically assign TRUNCATE permissions. I also hope that the above has sparked curiosity towards putting some security around the probably &#8220;destructive&#8221; operations of DELETE and TRUNCATE.</p>
<p style="text-align:justify;">I would like to wish each and every one of the readers a very happy and secure time with Microsoft SQL Server.</p>
<p style="text-align:justify;"><em>(Please find the scripts &#8211; 01A_Truncate Table Permissions.sql and 01B_Truncate Table Test Queries.sql that have been used in this demonstration. Please note that these scripts contain purely test-level code only. These scripts must not, at any cost, be used in the reader&#8217;s production environments).</em></p>
<p style="text-align:justify;"><span style="color:#ff0000;"><strong>01A_Truncate Table Permissions.sql</strong></span></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">/*<br />
*****************************************************************************************************************<br />
Developed By          : Nakul Vachhrajani<br />
Functionality         : This demo is focused on how to allow only TRUNCATE permissions to a particular user<br />
How to Use            : 1. Run through, step-by-step through the sequence till Step 08 to create a test database<br />
2. Switch over to the "Truncate Table Test Queries.sql" and execute it step-by-step<br />
in two different SSMS windows, one where you have logged in as 'RestrictedTruncate',<br />
and the other as 'AllowedTruncate'<br />
3. Come back to "Truncate Table Permissions.sql"<br />
4. Execute Step 10 to cleanup!<br />
Modifications         :<br />
December 13, 2010 - NAV - Updated to add a security matrix and improve code readability when applying security<br />
December 12, 2010 - NAV - Created<br />
*****************************************************************************************************************<br />
*/<br />
-- Step 01: Create a new test database<br />
</span><span style="color:blue;">CREATE DATABASE </span><span style="color:black;">TruncateTestDB<br />
GO<br />
</span><span style="color:blue;">USE </span><span style="color:black;">TruncateTestDB<br />
GO<br />
</span><span style="color:green;">-- Step 02: Add roles and users to demonstrate the security of the Truncate operation<br />
-- 2a. Create the new roles<br />
</span><span style="color:blue;">CREATE </span><span style="color:black;">ROLE AllowedTruncateRole</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">CREATE </span><span style="color:black;">ROLE RestrictedTruncateRole</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- 2b. Create new logins<br />
</span><span style="color:blue;">CREATE </span><span style="color:black;">LOGIN AllowedTruncate </span><span style="color:blue;">WITH </span><span style="color:black;">PASSWORD </span><span style="color:blue;">= </span><span style="color:red;">'truncate@2010'</span><span style="color:gray;">,<br />
</span><span style="color:black;">CHECK_POLICY </span><span style="color:blue;">= ON<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">CREATE </span><span style="color:black;">LOGIN RestrictedTruncate </span><span style="color:blue;">WITH </span><span style="color:black;">PASSWORD </span><span style="color:blue;">= </span><span style="color:red;">'truncate@2010'</span><span style="color:gray;">,<br />
</span><span style="color:black;">CHECK_POLICY </span><span style="color:blue;">= ON<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- 2c. Create new Users using the roles and logins created aboave<br />
</span><span style="color:blue;">CREATE </span><span style="color:magenta;">USER </span><span style="color:black;">TruncateUser </span><span style="color:blue;">FOR </span><span style="color:black;">LOGIN AllowedTruncate </span><span style="color:blue;">WITH </span><span style="color:black;">DEFAULT_SCHEMA </span><span style="color:blue;">= </span><span style="color:black;">dbo<br />
GO<br />
</span><span style="color:blue;">CREATE </span><span style="color:magenta;">USER </span><span style="color:black;">NoTruncateUser </span><span style="color:blue;">FOR </span><span style="color:black;">LOGIN RestrictedTruncate </span><span style="color:blue;">WITH </span><span style="color:black;">DEFAULT_SCHEMA </span><span style="color:blue;">= </span><span style="color:black;">dbo<br />
GO<br />
</span><span style="color:green;">-- 2d. Add the newly created login to the newly created role<br />
</span><span style="color:darkred;">sp_addrolemember </span><span style="color:red;">'AllowedTruncateRole'</span><span style="color:gray;">,</span><span style="color:red;">'TruncateUser'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:darkred;">sp_addrolemember </span><span style="color:red;">'RestrictedTruncateRole'</span><span style="color:gray;">,</span><span style="color:red;">'NoTruncateUser'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Step 03: Change over to the test database<br />
</span><span style="color:blue;">USE </span><span style="color:black;">TruncateTestDB<br />
GO<br />
</span><span style="color:green;">-- Step 04: Create a test table within the test databse<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">TruncatePermissionsTest </span><span style="color:gray;">(</span><span style="color:black;">Id </span><span style="color:blue;">INT </span><span style="color:#434343;">IDENTITY</span><span style="color:gray;">(</span><span style="color:black;">1</span><span style="color:gray;">,</span><span style="color:black;">1</span><span style="color:gray;">),<br />
</span><span style="color:black;">Name </span><span style="color:blue;">NVARCHAR</span><span style="color:gray;">(</span><span style="color:black;">50</span><span style="color:gray;">))<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Step 05: Populate the required data<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">TruncatePermissionsTest </span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:red;">N'Delhi'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Mumbai'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Ahmedabad'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Step 06: Encapsulate the DELETE within another module<br />
</span><span style="color:blue;">CREATE PROCEDURE </span><span style="color:black;">proc_DeleteMyTable<br />
</span><span style="color:blue;">WITH EXECUTE AS </span><span style="color:black;">SELF<br />
</span><span style="color:blue;">AS DELETE FROM </span><span style="color:black;">TruncateTestDB..TruncatePermissionsTest<br />
GO<br />
</span><span style="color:green;">-- Step 07: Encapsulate the TRUNCATE within another module<br />
</span><span style="color:blue;">CREATE PROCEDURE </span><span style="color:black;">proc_TruncateMyTable<br />
</span><span style="color:blue;">WITH EXECUTE AS </span><span style="color:black;">SELF<br />
</span><span style="color:blue;">AS TRUNCATE TABLE </span><span style="color:black;">TruncateTestDB..TruncatePermissionsTest<br />
GO<br />
</span><span style="color:green;">-- Step 08: Apply Security<br />
/*<br />
*****************************SECURITY MATRIX***************************************<br />
===================================================================================<br />
Object                   | Permissions |                 Login<br />
|             | AllowedTruncate   |   RestrictedTruncate<br />
|             |User:NoTruncateUser|   User:TruncateUser<br />
===================================================================================<br />
TruncatePermissionsTest  | SELECT,     |      GRANT        |      (Default)<br />
| INSERT,     |                   |<br />
| UPDATE,     |                   |<br />
| DELETE      |                   |<br />
-------------------------+-------------+-------------------+-----------------------<br />
TruncatePermissionsTest  | ALTER       |      DENY         |      (Default)<br />
-------------------------+-------------+----*/----------------+-----------------------<br />
</span><span style="color:black;">proc_DeleteMyTable </span><span style="color:gray;">| </span><span style="color:blue;">EXECUTE </span><span style="color:gray;">| </span><span style="color:blue;">GRANT </span><span style="color:gray;">| </span><span style="color:blue;">DENY<br />
</span><span style="color:green;">-------------------------+-------------+-------------------+-----------------------<br />
</span><span style="color:black;">proc_TruncateMyTable </span><span style="color:gray;">| </span><span style="color:blue;">EXECUTE </span><span style="color:gray;">| </span><span style="color:blue;">DENY </span><span style="color:gray;">| </span><span style="color:blue;">GRANT<br />
</span><span style="color:green;">-------------------------+-------------+-------------------+-----------------------<br />
</span><span style="color:gray;">*****************************</span><span style="color:black;">SECURITY MATRIX</span><span style="color:gray;">***************************************<br />
</span><span style="color:green;">*/<br />
/* Table: TruncatePermissionsTest*/<br />
</span><span style="color:blue;">GRANT SELECT</span><span style="color:gray;">, </span><span style="color:blue;">INSERT</span><span style="color:gray;">, </span><span style="color:blue;">UPDATE</span><span style="color:gray;">, </span><span style="color:blue;">DELETE ON </span><span style="color:black;">TruncateTestDB..TruncatePermissionsTest<br />
</span><span style="color:blue;">TO </span><span style="color:black;">NoTruncateUser<br />
GO<br />
</span><span style="color:blue;">DENY ALTER ON </span><span style="color:black;">TruncateTestDB..TruncatePermissionsTest<br />
</span><span style="color:blue;">TO </span><span style="color:black;">NoTruncateUser<br />
GO<br />
</span><span style="color:green;">/* Procedure: proc_DeleteMyTable*/<br />
</span><span style="color:blue;">GRANT EXECUTE ON </span><span style="color:black;">TruncateTestDB..proc_DeleteMyTable<br />
</span><span style="color:blue;">TO </span><span style="color:black;">NoTruncateUser<br />
GO<br />
</span><span style="color:blue;">DENY EXECUTE ON </span><span style="color:black;">TruncateTestDB..proc_DeleteMyTable<br />
</span><span style="color:blue;">TO </span><span style="color:black;">TruncateUser<br />
GO<br />
</span><span style="color:green;">/* Procedure: proc_TruncateMyTable*/<br />
</span><span style="color:blue;">DENY EXECUTE ON </span><span style="color:black;">TruncateTestDB..proc_TruncateMyTable<br />
</span><span style="color:blue;">TO </span><span style="color:black;">NoTruncateUser<br />
GO<br />
</span><span style="color:blue;">GRANT EXECUTE ON </span><span style="color:black;">TruncateTestDB..proc_TruncateMyTable<br />
</span><span style="color:blue;">TO </span><span style="color:black;">TruncateUser<br />
GO<br />
</span><span style="color:green;">-- Step 09: Test<br />
--Switch over to the "Truncate Table Test Queries.sql" and execute it step-by-step in two different SSMS windows:<br />
--    1. one where you have logged in as 'RestrictedTruncate', and<br />
--    2. the other as 'AllowedTruncate'<br />
-- Step 10: Cleanup<br />
</span><span style="color:darkred;">sp_droprolemember </span><span style="color:red;">'AllowedTruncateRole'</span><span style="color:gray;">,</span><span style="color:red;">'TruncateUser'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:darkred;">sp_droprolemember </span><span style="color:red;">'RestrictedTruncateRole'</span><span style="color:gray;">,</span><span style="color:red;">'NoTruncateUser'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">DROP </span><span style="color:magenta;">USER </span><span style="color:black;">TruncateUser<br />
GO<br />
</span><span style="color:blue;">DROP </span><span style="color:magenta;">USER </span><span style="color:black;">NoTruncateUser<br />
GO<br />
</span><span style="color:blue;">DROP </span><span style="color:black;">LOGIN AllowedTruncate<br />
GO<br />
</span><span style="color:blue;">DROP </span><span style="color:black;">LOGIN RestrictedTruncate<br />
GO<br />
</span><span style="color:blue;">DROP </span><span style="color:black;">ROLE AllowedTruncateRole<br />
GO<br />
</span><span style="color:blue;">DROP </span><span style="color:black;">ROLE RestrictedTruncateRole<br />
GO<br />
</span><span style="color:blue;">USE MASTER<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">DROP DATABASE </span><span style="color:black;">TruncateTestDB<br />
GO</span></code></p>
<p style="text-align:justify;"><span style="color:#ff0000;"><strong>01B_Truncate Table Test Queries.sql</strong></span></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">/*<br />
*****************************************************************************************************************<br />
Developed By          : Nakul Vachhrajani<br />
Functionality         : This demo is focused on how to allow only TRUNCATE permissions to a particular user<br />
How to Use            : 1. Switch over to this from "Truncate Table Permissions.sql", Step #09<br />
2. Execute this step-by-step in two different SSMS windows<br />
a. One where you have logged in as 'RestrictedTruncate', and<br />
b. The other as 'AllowedTruncate'<br />
3. Return back to "Truncate Table Permissions.sql"<br />
4. Execute Step 10 to cleanup!<br />
Modifications         :<br />
December 12, 2010 - NAV - Created<br />
*****************************************************************************************************************<br />
*/<br />
-- Step 09A: Switch to the test database<br />
</span><span style="color:blue;">USE </span><span style="color:black;">TruncateTestDB<br />
GO<br />
</span><span style="color:green;">-- Step 09B: Ensure that we have valid data<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">* </span><span style="color:blue;">FROM </span><span style="color:black;">TruncatePermissionsTest<br />
GO<br />
</span><span style="color:green;">-- (Expected: Following error will occur if logged in as "AllowedTruncate")<br />
-- Msg 229, Level 14, State 5, Line 1<br />
-- The SELECT permission was denied on the object 'TruncatePermissionsTest', database 'TruncateTestDB', schema 'dbo'.<br />
--Step 09C: Attempt to Truncate Data from the table without using the stored procedure<br />
</span><span style="color:blue;">TRUNCATE TABLE </span><span style="color:black;">TruncatePermissionsTest<br />
GO<br />
</span><span style="color:green;">-- (Expected: Following error will occur)<br />
--  Msg 1088, Level 16, State 7, Line 2<br />
--  Cannot find the object "TruncatePermissionsTest" because it does not exist or you do not have permissions.<br />
-- Step 09D:Regenerate Test Data<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">TruncatePermissionsTest </span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:red;">N'London'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Paris'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Berlin'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- (Expected: Following error will occur if logged in as "AllowedTruncate")<br />
-- Msg 229, Level 14, State 5, Line 1<br />
-- The INSERT permission was denied on the object 'TruncatePermissionsTest', database 'TruncateTestDB', schema 'dbo'.<br />
--Step 09E: Attempt to Truncate Data from the table using the stored procedure<br />
</span><span style="color:blue;">EXEC </span><span style="color:black;">proc_TruncateMyTable<br />
GO<br />
</span><span style="color:green;">-- (Expected: Will execute successfully with 'AllowedTruncate' user, will error out as under with 'RestrictedTruncate')<br />
-- Msg 229, Level 14, State 5, Procedure proc_TruncateMyTable, Line 1<br />
-- The EXECUTE permission was denied on the object 'proc_TruncateMyTable', database 'TruncateTestDB', schema 'dbo'.<br />
-- Step 09F:Regenerate Test Data<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">TruncatePermissionsTest </span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:red;">N'Madrid'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Rome'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Athens'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">--Step 09G: Attempt to Delete Data from the table without using the stored procedure<br />
</span><span style="color:blue;">DELETE FROM </span><span style="color:black;">TruncatePermissionsTest<br />
GO<br />
</span><span style="color:green;">-- (Expected: Following error will occur if logged in as "AllowedTruncate")<br />
-- Msg 229, Level 14, State 5, Line 2<br />
-- The DELETE permission was denied on the object 'TruncatePermissionsTest', database 'TruncateTestDB', schema 'dbo'.<br />
-- Step 09H:Regenerate Test Data<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">TruncatePermissionsTest </span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:red;">N'Spain'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Italy'</span><span style="color:gray;">),<br />
(</span><span style="color:red;">N'Greece'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">--Step 09I: Attempt to Delete Data from the table using the stored procedure<br />
</span><span style="color:blue;">EXEC </span><span style="color:black;">proc_DeleteMyTable<br />
GO<br />
</span><span style="color:green;">-- (Expected: Following error will occur if logged in as "AllowedTruncate")<br />
-- Msg 229, Level 14, State 5, Procedure proc_DeleteMyTable, Line 1<br />
-- The EXECUTE permission was denied on the object 'proc_DeleteMyTable', database 'TruncateTestDB', schema 'dbo'.<br />
--Step 09J: Close this SSMS window and return back to "Truncate Table Permissions.sql"</span></code></p>
<p style="text-align:justify;">Thank you Nakul to take up the challenge and prove that Ahmedabad and Gandhinagar SQL Server User Group has talent to solve difficult problems.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/readers-contribution/'>Readers Contribution</a>, <a href='http://blog.sqlauthority.com/category/readers-question/'>Readers Question</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/sql-security/'>SQL Security</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/11239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/11239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/11239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/11239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/11239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/11239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/11239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/11239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11239&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/12/20/sql-server-securing-truncate-permissions-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

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

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

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

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

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

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

		<media:content url="http://www.pinaldave.com/bimg/permissions6.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; What the Business Says Is Not What the Business Wants</title>
		<link>http://blog.sqlauthority.com/2010/12/14/sql-server-what-the-business-says-is-not-what-the-business-wants/</link>
		<comments>http://blog.sqlauthority.com/2010/12/14/sql-server-what-the-business-says-is-not-what-the-business-wants/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 01:30:07 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11146</guid>
		<description><![CDATA[This blog post is written in response to T-SQL Tuesday hosted by Steve Jones. Steve raised a very interesting question; every DBA and Database Developer has already faced this situation. When I read the topic, I felt that I can write several different examples here. Today, I will cover this scenario, which seems quite amusing. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11146&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/TSQL2sDay.jpg" alt="" width="114" height="114" /></p>
<p style="text-align:justify;">This blog post is written in response to <a href="http://www.sqlservercentral.com/blogs/steve_jones/archive/2010/12/07/t_2D00_sql-tuesday-_2300_13-_2D00_-what-the-business-says-is-not-what-the-business-wants.aspx" target="_blank">T-SQL Tuesday</a> hosted by Steve Jones.</p>
<p style="text-align:justify;">Steve raised a very interesting question; every DBA and Database Developer has already faced this situation. When I read the topic, I felt that I can write several different examples here. Today, I will cover this scenario, which seems quite amusing.</p>
<h2 style="text-align:justify;"><strong>Shrinking Database</strong></h2>
<p style="text-align:justify;">Earlier this year, I was working on SQL Server Performance Tuning consultancy; I had faced very interesting situation. No matter how much I attempt to reduce the fragmentation, I always end up with heavy fragmentation on the server. After careful research, I figured out that one of the jobs was continuously Shrinking the Database – which is a very bad practice. I have blogged about my experience over here <a href="http://blog.sqlauthority.com/2010/08/12/sql-server-shrinkdatabase-for-every-database-in-the-sql-server/"><strong>SQL SERVER – SHRINKDATABASE For Every Database in the SQL Server</strong></a>.</p>
<p style="text-align:justify;">I removed the incorrect shrinking process right away; once it was removed, everything continued working as it should be. After a couple of days, I learned that one of their DBAs had put back the same DBCC process. I requested the Senior DBA to find out what is going on and he came up with the following reason: &#8220;<strong>Business Requirement.</strong>&#8221; I cannot believe this! Now, it was time for me to go deep into the subject.</p>
<p style="text-align:justify;">Moreover, it had become necessary to understand the need. After talking to the concerned people here, I understood what they needed. Please read the exact business need in their own language.</p>
<h2 style="text-align:justify;"><strong>The Shrinking &#8220;Business Need&#8221;</strong></h2>
<p style="text-align:justify;">&#8220;We shrink the database because if we take backup after shrinking the database, the size of the same is smaller. Once we take backup, we have to send it to our remote location site. Our business requirement is that we need to always make sure that the file is smallest when we transfer it to remote server.&#8221;</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/shrinkfun.jpg" alt="" width="499" height="317" /></p>
<p style="text-align:justify;">The backup is not affected in any way if you shrink the database or not. The size of backup will be the same. After a couple of the tests, they agreed with me. Shrinking will create performance issues for the same as it will introduce heavy fragmentation in the database.</p>
<h2 style="text-align:justify;"><strong>The Real Solution</strong></h2>
<p style="text-align:justify;">The real business need was that they needed the smallest possible backup file. We finally implemented a quick solution which they are still using to date. The solution was compressed backup. I have written about this subject in detail few years before <a href="http://blog.sqlauthority.com/2008/07/03/sql-server-2008-introduction-to-new-feature-of-backup-compression/"><strong>SQL SERVER – 2008 – Introduction to New Feature of Backup Compression</strong></a>. Compressed backup not only creates a small filesize but also increases the speed of the database as well.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/11146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/11146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/11146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/11146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/11146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/11146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/11146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/11146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11146&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/12/14/sql-server-what-the-business-says-is-not-what-the-business-wants/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

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

		<media:content url="http://www.pinaldave.com/bimg/shrinkfun.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Activity Monitor and Performance Issue</title>
		<link>http://blog.sqlauthority.com/2010/12/12/sql-server-activity-monitor-and-performance-issue/</link>
		<comments>http://blog.sqlauthority.com/2010/12/12/sql-server-activity-monitor-and-performance-issue/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 01:30:59 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=11162</guid>
		<description><![CDATA[We had wonderful SQLAuthority News – Community Tech Days – December 11, 2010 event yesterday. After the event, we had meeting among Jacob Sebastian, Vinod Kumar, Rushabh Mehta and myself. We all were sharing our experience about performance tuning consultations. During the conversation, Jacob has shared wonderful story of his recent observation. The story is very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11162&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/ActivityMonitor.png" alt="" width="231" height="206" />We had wonderful <a title="Permanent Link to SQLAuthority News – Community Tech Days – December 11, 2010" rel="bookmark" href="http://blog.sqlauthority.com/2010/12/09/11133/">SQLAuthority News – Community Tech Days – December 11, 2010</a> event yesterday. After the event, we had meeting among <a href="http://beyondrelational.com/members/jacobbr/default.aspx" target="_blank">Jacob Sebastian</a>, <a href="http://blogs.sqlxml.org/vinodkumar/" target="_blank">Vinod Kumar</a>, <a href="http://www.solidq.in" target="_blank">Rushabh Mehta</a> and myself. We all were sharing our experience about performance tuning consultations. During the conversation, <strong>Jacob </strong>has shared wonderful story of his recent observation.</p>
<p style="text-align:justify;">The story is very small but the moral of the story is very important. The story is about a client, who had continuously performance issues. Client used Activity Monitor (Read More: <strong></strong><strong><a href="http://blog.sqlauthority.com/2009/03/23/sql-server-2008-location-of-activity-monitor-where-is-sql-serve-activity-monitor-located/">SQL SERVER – 2008 – Location of Activity Monitor – Where is SQL Serve Activity Monitor Located</a></strong>) to check the performance issues. The pattern of the performance issues was very much common all the time. Every time, after a while the computer stopped responding. After doing in-depth performance analysis, Jacob realized that client once opened activity monitor never closed it. The same activity monitor itself is very expensive process. The tool, which helped to debug the performance issues, also helped (negatively) to bring down the server. After closing the activity monitor which was open for long time, the server did not have performance issues.</p>
<p style="text-align:justify;">Moral of the story: Activity Monitor is great tool but use it with care and close it when not needed.</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>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/11162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/11162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/11162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/11162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/11162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/11162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/11162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/11162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=11162&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/12/12/sql-server-activity-monitor-and-performance-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/ActivityMonitor.png" medium="image" />
	</item>
	</channel>
</rss>
