<?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; SQL Server</title>
	<atom:link href="http://blog.sqlauthority.com/category/technology/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:15:06 +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; SQL Server</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>SQL SERVER &#8211; INNER JOIN Returning More Records than Exists in Table</title>
		<link>http://blog.sqlauthority.com/2012/02/09/sql-server-inner-join-returning-more-records-than-exists-in-table/</link>
		<comments>http://blog.sqlauthority.com/2012/02/09/sql-server-inner-join-returning-more-records-than-exists-in-table/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 01:30:29 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Joins]]></category>
		<category><![CDATA[SQL Puzzle]]></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=17261</guid>
		<description><![CDATA[I blog and engage with the community because it gives me satisfaction when someone resolves an issue. A few days ago, I blogged about a DBA who began his first day at a new company and could not find out where the installation summary file was. He was very happy when I featured his story [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17261&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/join.jpg" alt="" width="200" height="199" /></p>
<p style="text-align:justify;">I blog and engage with the community because it gives me satisfaction when someone resolves an issue. A few days ago, I blogged about a DBA who began his first day at a new company and could not find out where the <a href="http://blog.sqlauthority.com/2012/02/07/sql-server-installation-log-summary-file-location-2012-2008-r2/" target="_blank">installation summary file</a> was. He was very happy when I featured his story on our blog. Today he asked me another question and when I received his question my first reaction was &#8211; not possible. Later I said, may be possible, and when he shared more information, I said of course it is possible and natural. Let us go over these conversations in the exact order of how they occurred.</p>
<p style="text-align:justify;">(I have modified the emails to chat format as it is easier to understand)</p>
<p style="text-align:justify;"><strong><em>Jeff:</em></strong> <em><span style="color:#ff0000;">Pinal, help needed.</span></em> My query is returning more data than I need.<br />
<strong><em>Pinal:</em></strong> Well, check your WHERE clause, JOINS etc.<br />
<strong><em>Jeff</em></strong>: The problem is that INNER JOIN is returning more records than exist in the table.<br />
<strong><em>Pinal:</em></strong> Not possible. How can a query return data that does not exist. Are you sure that you are connected to the correct database and running the query on the same server where you are validating the data?<br />
<strong><em>Jeff: </em></strong>Yes, yes, everything is in the right place. Can Inner Join ever return more data than exists in the table?<br />
<strong><em>Pinal:</em></strong> Well, maybe. Here is the story. Inner Join can for sure return more records than exists in the table, but it cannot return records that do not exist. Does that make sense?<br />
<strong><em>Jeff:</em></strong> No.<br />
<strong><em>Pinal:</em></strong> Okay, in simple words, if your table has three rows (values 1, 2, 3), your inner join can return 10 rows but it cannot return you the value 4 as part of the result.<br />
<strong><em>Jeff:</em></strong> In simple English please&#8230;<br />
<strong><em>Pinal:</em></strong> Honestly, I cannot make it more simple than what I said just now. Here is the example for you.<br />
<em>(Jeff goes through example and after few minutes)</em><br />
<strong><em>Jeff:</em></strong> Exactly, I had no equal condition which did this. You helped me again.<br />
<strong><em>Pinal:</em></strong> You’re welcome!<br />
(After few minutes&#8230;)<br />
<strong><em>Jeff:</em></strong> <span style="color:#ff0000;"><em>Pinal, help needed&#8230;</em></span></p>
<p style="text-align:justify;">Well, this goes on. Anyway, here is the script that I sent him.</p>
<p style="text-align:justify;">Let us create a scenario. We will create three sample tables and insert values in it.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">TempDB<br />
GO<br />
</span><span style="color:green;">-- Sample Table<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">FirstTable </span><span style="color:gray;">(</span><span style="color:black;">Col1 </span><span style="color:blue;">INT</span><span style="color:gray;">)<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">SecondTable </span><span style="color:gray;">(</span><span style="color:black;">Col1 </span><span style="color:blue;">INT</span><span style="color:gray;">)<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">ThirdTable </span><span style="color:gray;">(</span><span style="color:black;">Col1 </span><span style="color:blue;">INT</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">FirstTable </span><span style="color:gray;">(</span><span style="color:black;">Col1</span><span style="color:gray;">)<br />
</span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:black;">1</span><span style="color:gray;">), (</span><span style="color:black;">2</span><span style="color:gray;">), (</span><span style="color:black;">3</span><span style="color:gray;">), (NULL)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">SecondTable </span><span style="color:gray;">(</span><span style="color:black;">Col1</span><span style="color:gray;">)<br />
</span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:black;">1</span><span style="color:gray;">), (</span><span style="color:black;">2</span><span style="color:gray;">), (</span><span style="color:black;">3</span><span style="color:gray;">), (NULL)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">ThirdTable </span><span style="color:gray;">(</span><span style="color:black;">Col1</span><span style="color:gray;">)<br />
</span><span style="color:blue;">VALUES </span><span style="color:gray;">(</span><span style="color:black;">2</span><span style="color:gray;">), (</span><span style="color:black;">2</span><span style="color:gray;">), (</span><span style="color:black;">2</span><span style="color:gray;">), (</span><span style="color:black;">2</span><span style="color:gray;">), (</span><span style="color:black;">2</span><span style="color:gray;">), (NULL)<br />
</span><span style="color:black;">GO<br />
</span></code></p>
<p style="text-align:justify;">Here you will see the normal use of INNER JOIN where a query returns the results as the number of rows or fewer than the number of rows in the table. This happens because the data is unique in both of the tables.</p>
<h2 style="text-align:justify;">Query 1: Inner Join with Equal to Sign</h2>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Query 1<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">f.Col1 fCol1<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">FirstTable f<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">SecondTable s </span><span style="color:blue;">ON </span><span style="color:black;">s.Col1 </span><span style="color:blue;">= </span><span style="color:black;">f.col1<br />
GO</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/morequeryresult1.jpg" alt="" width="159" height="153" /></p>
<h2 style="text-align:justify;">Query 2: Inner Join with Not Equal to Sign</h2>
<p style="text-align:justify;">Here is a query where the data is still unique (distinct) among tables but the result set contains more records than the numbers of rows the table contains. The condition &lt;&gt; (not equal to) returns the result which was excluded in the query where = (equal to) condition was used.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Query 2<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">f.Col1 fCol1<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">FirstTable f<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">SecondTable s </span><span style="color:blue;">ON </span><span style="color:black;">s.Col1 </span><span style="color:gray;">&lt;&gt; </span><span style="color:black;">f.col1<br />
GO<br />
</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/morequeryresult2.jpg" alt="" width="143" height="228" /></p>
<p style="text-align:justify;">Note: If you combine the data of Query 1 and Query 2, you will get the same result as CROSS JOIN of both the tables. If you want to understand further, read my earlier article <a href="http://blog.sqlauthority.com/2009/04/13/sql-server-introduction-to-joins-basic-of-joins/" target="_blank"><strong>Introduction to Join &#8211; Visual Explanation</strong></a>.</p>
<h2 style="text-align:justify;">Query 3: Inner Join with Non-Distinct Row Table</h2>
<p style="text-align:justify;">Here is a query where data in another table is not unique and INNER JOIN returns more records than one of the tables.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Query 3<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">f.Col1 fCol1<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">FirstTable f<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">ThirdTable s </span><span style="color:blue;">ON </span><span style="color:black;">s.Col1 </span><span style="color:blue;">= </span><span style="color:black;">f.col1<br />
GO</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/morequeryresult3.jpg" alt="" width="145" height="185" /></p>
<h2 style="text-align:justify;">Summary</h2>
<p style="text-align:justify;">Inner Join can for sure return more records than the records of the table. Inner join returns the results based on the condition specified in the JOIN condition. If there are more rows that satisfy the condition (as seen in query 2), it will return you more results. Reference: <a href="http://blog.sqlauthority.com/2009/04/13/sql-server-introduction-to-joins-basic-of-joins/" target="_blank"><strong>Introduction to Join &#8211; Visual Explanation</strong></a>.</p>
<p style="text-align:justify;">Well, feel free to send your questions or even solutions. If I find them interesting I will share them with everybody with due credit.</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/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-joins/'>SQL Joins</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17261&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/09/sql-server-inner-join-returning-more-records-than-exists-in-table/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/join.jpg" medium="image" />

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

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

		<media:content url="http://www.pinaldave.com/bimg/morequeryresult3.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Convert Subquery to CTE &#8211; SQL in Sixty Seconds #001 &#8211; Video</title>
		<link>http://blog.sqlauthority.com/2012/02/08/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/</link>
		<comments>http://blog.sqlauthority.com/2012/02/08/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 01:30:58 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 in Sixty Seconds]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17245</guid>
		<description><![CDATA[SQL Server is an ocean of information. I believe if one starts learning today, after 60 years he/she may still be learning the subject (there are always a few exceptions)! Recently, I published the SQL Server Questions and Answers video tutorial, and since the course came out, I have been receiving lots of request to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17245&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/60.jpg" alt="" width="153" height="108" /></p>
<p style="text-align:justify;">SQL Server is an ocean of information. I believe if one starts learning today, after 60 years he/she may still be learning the subject (there are always a few exceptions)! Recently, I published the <a href="http://bit.ly/sql-qa" target="_blank"><strong>SQL Server Questions and Answers</strong></a> video tutorial, and since the course came out, I have been receiving lots of request to share SQL Tips which are small and easy to digest.</p>
<p style="text-align:justify;">While writing the SQL books with my co-authors <a href="http://blogs.extremeexperts.com/" target="_blank">Vinod Kumar</a> and <a href="http://joes2pros.com/" target="_blank">Rick Morelan</a>, we often came across very interesting and useful tips which we believe would be helpful to readers. Sometimes the tips are so small that we could not find an appropriate place for them in the book. We call them <strong><em>Sixty Seconds Tips</em></strong>. The tips are so small that sometimes sixty seconds are too long for them. Keeping the notion of quick and easy tips &#8211; we have decided to come up with new series called “SQL in Sixty Seconds.” Every week we will post one small but useful video tip. We believe that <strong><em>Sixty Seconds </em></strong>is metaphor for<strong><em> quick and easy tip.</em></strong></p>
<p style="text-align:justify;">I have seen many developers staying away from CTE (Common Table Expression), their excuse is that they do not know how to convert subqueries to CTE or they think it is very complicated to do so. In the very first episode of <strong><em>SQL in Sixty Seconds</em></strong> we will see how easily one can convert Subqueries to CTE and CTE to Subqueries.</p>
<p style="text-align:justify;"><span style="text-align:center; display: block;"><a href="http://blog.sqlauthority.com/2012/02/08/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/"><img src="http://img.youtube.com/vi/Z7VuYBXX2dg/2.jpg" alt="" /></a></span></p>
<p style="text-align:justify;"><strong>More on CTE:</strong><br />
<a href="http://blog.sqlauthority.com/2008/07/28/sql-server-simple-example-of-recursive-cte/" target="_blank">Simple Example of Recursive CTE</a><br />
<a href="http://blog.sqlauthority.com/2009/08/08/sql-server-multiple-cte-in-one-select-statement-query/" target="_blank">Multiple CTE in One SELECT Statement Query</a><br />
<a href="http://blog.sqlauthority.com/2011/05/10/sql-server-common-table-expression-cte-and-few-observation/" target="_blank">Common Table Expression (CTE) and Few Observation</a><br />
<a href="http://blog.sqlauthority.com/2009/06/23/sql-server-2005-2008-delete-duplicate-rows/" target="_blank">Delete Duplicate Rows</a><br />
<a href="http://blog.sqlauthority.com/2008/07/29/sql-server-sql-server-simple-example-of-recursive-cte-part-2-maxrecursion-prevent-cte-infinite-loop/" target="_blank">Simple Example of Recursive CTE – Part 2 – MAXRECURSION – Prevent CTE Infinite Loop</a><br />
<a href="http://blog.sqlauthority.com/2007/06/11/sql-server-2005-t-sql-paging-query-technique-comparison-over-and-row_number-cte-vs-derived-table/" target="_blank">T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) – CTE vs. Derived Table</a></p>
<p style="text-align:justify;">I encourage you to submit your ideas for <strong><em>SQL in Sixty Seconds</em></strong>. We will try to accommodate as many as we can.</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/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-in-sixty-seconds/'>SQL in Sixty Seconds</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/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/video/'>Video</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17245&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/08/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/60.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Installation Log Summary File Location &#8211; 2012 &#8211; 2008 R2</title>
		<link>http://blog.sqlauthority.com/2012/02/07/sql-server-installation-log-summary-file-location-2012-2008-r2/</link>
		<comments>http://blog.sqlauthority.com/2012/02/07/sql-server-installation-log-summary-file-location-2012-2008-r2/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 01:30:41 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Error Messages]]></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=17232</guid>
		<description><![CDATA[Here is email received from user: &#8220;Pinal, I am new DBA in my organization and I have to manage SQL Server 2005, 2008 and 2008 R2. Today is my first day at job and my manager has asked me to install all these different edition on our test environment. I have finished installing them. Later [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17232&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Here is email received from user:</p>
<p style="text-align:justify;">&#8220;Pinal,</p>
<p style="text-align:justify;">I am new DBA in my organization and I have to manage SQL Server 2005, 2008 and 2008 R2. Today is my first day at job and my manager has asked me to install all these different edition on our test environment. I have finished installing them. Later he has asked me provide him Installation Log Summary. I searched on internet and I could not find it, would you send me format of the installation log summary?&#8221;</p>
<p style="text-align:justify;">I like this question, even though it is very simple, it demonstrates how new job can be confusing on very first day.</p>
<p style="text-align:justify;">I sent him following reply</p>
<p style="text-align:justify;">&#8220;Jeff,</p>
<p style="text-align:justify;">I believe your manager is asking you following summary log produced by SQL Server installation. You can find it from following location on various version</p>
<p style="text-align:justify;">Let us assume that your installation directory is: C:\Program Files\Microsoft SQL Server</p>
<p style="text-align:justify;">SQL Server 2012 - C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\Summary.txt<br />
SQL Server 2008\R2 - C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\Summary.txt</p>
<p style="text-align:justify;">Congratulations on first day!&#8221;</p>
<p style="text-align:justify;">He immediately replied that I was correct, his manager was looking for summary file in above mentioned folder. You should replace the path of your installation directory with the C drive I specified in above response.</p>
<p style="text-align:justify;">This remind me my first day at job. I was very much confused and lost too. I did not know the abbreviation and jargon used in organization. Thanks to my seniors and co-workers that I am now familiar with the same. However, the learning is forever ongoing activity. Every single day I learn something new when I walk into my office, <em><strong>I consider every day as my first day for learning something new.</strong></em></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/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-error-messages/'>SQL Error Messages</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/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17232&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/07/sql-server-installation-log-summary-file-location-2012-2008-r2/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>
	</item>
		<item>
		<title>SQL SERVER &#8211; ERROR: FIX &#8211; Database diagram support objects cannot be installed because this database does not have a valid owner</title>
		<link>http://blog.sqlauthority.com/2012/02/06/sql-server-error-fix-database-diagram-support-objects-cannot-be-installed-because-this-database-does-not-have-a-valid-owner/</link>
		<comments>http://blog.sqlauthority.com/2012/02/06/sql-server-error-fix-database-diagram-support-objects-cannot-be-installed-because-this-database-does-not-have-a-valid-owner/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 01:30:16 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Error Messages]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17223</guid>
		<description><![CDATA[Recently one of my friend sent me email that he is having some problem with his very small database. We talked for few minutes and we agreed that to further investigation I will need access to the whole database. As the database was very big he dropped it in common location (you can use livemesh [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17223&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Recently one of my friend sent me email that he is having some problem with his very small database. We talked for few minutes and we agreed that to further investigation I will need access to the whole database. As the database was very big he dropped it in common location (you can use <strong>livemesh</strong> or <strong><a href="http://db.tt/MaD77Omb" target="_blank">dropbox</a></strong>  or any other similar product) and I picked up from the location.</p>
<p style="text-align:justify;">I was able to install the database successful. He informed me that he has created database diagram so I can easily understand his database tables. As soon as I tried to open the database diagram I faced following error. For a while I could not figure out how to resolve the error.</p>
<p style="text-align:justify;"><strong>Error:</strong><br />
<span style="color:#ff0000;">Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.</span></p>
<p style="text-align:justify;"><strong>Workaround / Fix / Solution :</strong></p>
<p style="text-align:justify;">Well for a while I attempted few things and nothing worked. After that I carefully read the error and I realized that solution was proposed in the error only. I just have to read it carefully. Here are the steps I did to make this work.</p>
<p><code style="font-size:12px;"><span style="color:green;">-- Replace YourDatabaseName in following script<br />
</span><span style="color:blue;">ALTER AUTHORIZATION ON </span><span style="color:black;">DATABASE::YourDatabaseName </span><span style="color:blue;">TO </span><span style="color:black;">sa<br />
GO<br />
</span></code></p>
<ul style="text-align:justify;">
<li>Select your database &gt;&gt; Right Click &gt;&gt; Select Properties</li>
<li>Select FILE in left side of page</li>
<li>In the OWNER box, select button which has three dots (&#8230;) in it</li>
<li>Now select user &#8216;sa&#8217; or NT AUTHORITY\SYSTEM and click OK.</li>
</ul>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/diagerror.jpg" alt="" width="500" height="448" /></p>
<p style="text-align:justify;">This should solve your problem.</p>
<p style="text-align:justify;">Please note, I suggest you check your security policies before changing authorization. I did this to quickly solve my problem on my development server. If you are on production server, you may open yourself to potential security compromise.</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/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-error-messages/'>SQL Error Messages</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 rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17223&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/06/sql-server-error-fix-database-diagram-support-objects-cannot-be-installed-because-this-database-does-not-have-a-valid-owner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/diagerror.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Microsoft SQL Server AlwaysOn Solutions Guide for High Availability and Disaster Recovery</title>
		<link>http://blog.sqlauthority.com/2012/02/05/sqlauthority-news-microsoft-sql-server-alwayson-solutions-guide-for-high-availability-and-disaster-recovery/</link>
		<comments>http://blog.sqlauthority.com/2012/02/05/sqlauthority-news-microsoft-sql-server-alwayson-solutions-guide-for-high-availability-and-disaster-recovery/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 01:30:33 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 White Papers]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17216</guid>
		<description><![CDATA[SQL Server 2012 is has very exciting new feature of SQL Server AlwaysOn. This new feature reduces planned and unplanned downtime and maximize application available. Additionally it provides data protection keeping database always available. Microsoft has released a whitepaper on this subject where it discusses common context business stakeholders, technical decision makers, system architects, infrastructure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17216&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">SQL Server 2012 is has very exciting new feature of SQL Server AlwaysOn. This new feature reduces planned and unplanned downtime and maximize application available. Additionally it provides data protection keeping database always available. Microsoft has released a whitepaper on this subject where it discusses common context business stakeholders, technical decision makers, system architects, infrastructure engineers, and database administrators.</p>
<p style="text-align:justify;">This whitepaper discusses two major points. Following is the abstract from book online:</p>
<p style="text-align:justify;"><strong>High Availability and Disaster Recovery Concepts.</strong> Provide a brief discussion of the drivers and challenges of planning, managing, and measuring the business objectives of a highly available database environment. This discussion is followed by a brief overview of the high availability and disaster recovery capabilities of SQL Server 2012 AlwaysOn and Windows Server solutions.</p>
<p style="text-align:justify;"><strong>SQL Server AlwaysOn Layers of Protection.</strong> Provide a deeper discussion of the feature capabilities, rationale, and dependencies of the layers of protection offered by a SQL Server AlwaysOn solution. It will cover infrastructure availability, SQL Server instance-level protection, database-level protection, and data tier application capabilities.</p>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/hh781257.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Microsoft SQL Server AlwaysOn Solutions Guide for High Availability and Disaster Recovery</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/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-white-papers/'>SQL White Papers</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/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17216&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/05/sqlauthority-news-microsoft-sql-server-alwayson-solutions-guide-for-high-availability-and-disaster-recovery/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; Finding Count of Logical CPU using T-SQL Script &#8211; Identify Virtual Processors</title>
		<link>http://blog.sqlauthority.com/2012/02/04/sql-server-finding-count-of-logical-cpu-using-t-sql-script-identify-virtual-processors/</link>
		<comments>http://blog.sqlauthority.com/2012/02/04/sql-server-finding-count-of-logical-cpu-using-t-sql-script-identify-virtual-processors/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 01:30:03 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL DMV]]></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=17208</guid>
		<description><![CDATA[I recently received email from one of my very close friend from California. His question was very interesting. He wanted to know how many virtual processors are there available for SQL Server. He already had script for SQL Server 2008 but was mainly looking for SQL Server 2000. He made me go to my past. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17208&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I recently received email from one of my very close friend from California. His question was very interesting. He wanted to know how many virtual processors are there available for SQL Server. He already had script for SQL Server 2008 but was mainly looking for SQL Server 2000. He made me go to my past. I found following script from my old emails (I have no reference listed along with it, so not sure the original source).</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Identify Virtual Processors in for SQL Server 2005, 2008, 2008R2, 2012<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">cpu_count<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_os_sys_info<br />
GO<br />
</span><span style="color:green;">-- Identify Virtual Processors in for SQL Server 2000<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:#434343;">#TempTable<br />
</span><span style="color:gray;">(</span><span style="color:black;">[Index] </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">2000</span><span style="color:gray;">),<br />
</span><span style="color:black;">[Name] </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">2000</span><span style="color:gray;">),<br />
</span><span style="color:black;">[Internal_Value] </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">2000</span><span style="color:gray;">),<br />
</span><span style="color:black;">[Character_Value] </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">2000</span><span style="color:gray;">)) ;<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:#434343;">#TempTable<br />
</span><span style="color:blue;">EXEC </span><span style="color:darkred;">xp_msver</span><span style="color:gray;">;<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">Internal_Value </span><span style="color:blue;">AS </span><span style="color:black;">VirtualCPUCount<br />
</span><span style="color:blue;">FROM </span><span style="color:#434343;">#TempTable<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">Name </span><span style="color:blue;">= </span><span style="color:red;">'ProcessorCount'</span><span style="color:gray;">;<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:#434343;">#TempTable<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">Yesterday I shared on <strong><a href="http://www.facebook.com/SQLAuth" target="_blank">facebook page</a></strong> about I am writing this blog post, SQL Server Expert<strong> <a href="http://simranjindal.wordpress.com/" target="_blank">Simran Jindal</a></strong> shared following script which is applicable to SQL Server 2005 and later versions. I just got update from her that this query is of my dear friend and <strong><a href="http://sqlserverperformance.wordpress.com/" target="_blank">SQL Server MVP Glenn Berry</a></strong>. Thanks Glenn.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:black;">cpu_count </span><span style="color:blue;">AS </span><span style="color:black;">[Logical CPU Count]</span><span style="color:gray;">, </span><span style="color:black;">hyperthread_ratio </span><span style="color:blue;">AS </span><span style="color:black;">Hyperthread_Ratio</span><span style="color:gray;">,<br />
</span><span style="color:black;">cpu_count</span><span style="color:gray;">/</span><span style="color:black;">hyperthread_ratio </span><span style="color:blue;">AS </span><span style="color:black;">Physical_CPU_Count</span><span style="color:gray;">,<br />
</span><span style="color:black;">physical_memory_in_bytes</span><span style="color:gray;">/</span><span style="color:black;">1048576 </span><span style="color:blue;">AS </span><span style="color:black;">Physical_Memory_in_MB</span><span style="color:gray;">,<br />
</span><span style="color:black;">sqlserver_start_time</span><span style="color:gray;">, </span><span style="color:black;">affinity_type_desc </span><span style="color:green;">-- (affinity_type_desc is only in 2008 R2)<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_os_sys_info</span></code></p>
<p style="text-align:justify;">If know any other reliable method to get the count of logical CPU, please share that in comment and I will update this blog post with due credit.</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/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-dmv/'>SQL DMV</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/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17208&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/04/sql-server-finding-count-of-logical-cpu-using-t-sql-script-identify-virtual-processors/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; An Incredible Successful SQL Saturday #116 Event &#8211; First SQL Saturday in India</title>
		<link>http://blog.sqlauthority.com/2012/02/03/sqlauthority-news-an-incredible-successful-sql-saturday-116-event-first-sql-saturday-in-india/</link>
		<comments>http://blog.sqlauthority.com/2012/02/03/sqlauthority-news-an-incredible-successful-sql-saturday-116-event-first-sql-saturday-in-india/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 01:30:20 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL PASS]]></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=17169</guid>
		<description><![CDATA[We have recently wrapped up our most recent event, SQL Saturday #116, and I am I am sure I am not alone in reporting that it was a huge success!  We had a full crowd – every seat taken, plus standing-room-only in the back.  We also had a lot of good feedback and the crowd [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17169&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">We have recently wrapped up our most recent event, SQL Saturday #116, and I am I am sure I am not alone in reporting that it was a huge success!  We had a full crowd – every seat taken, plus standing-room-only in the back.  We also had a lot of good feedback and the crowd was definitely involved and engaged, so I think it was an all-around success.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_2.png" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Given the success of our UG meetings in Bangalore, this year we tried to accommodate even more people by hosting two technical tracks at the same event.  I think this plan worked out well and I have heard a lot of supportive comments about it.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_1.png" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Because we now were able to provide six speaking slots, we had a lot of great speakers this year.  Karan Gulati spoke about BI in Denal, Amit Banerjee gave a talk titled “Demystifying SQL Server Memory Dumps.”  My co-author <strong><a href="http://blogs.extremeexperts.com/" target="_blank">Vinod Kumar</a></strong> even gave a talk about &#8220;Security with SQL Server &#8211; Discovering Pitfalls&#8221;, and some of the pitfalls you might come up against. Very interesting and inspiring session. I learned lots of tricks from this session and wished that this session never ends.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_4.png" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">I was proud to be asked to speak at this event.  I was third in the line-up in the Developer track.   I think the talk went very well.  My topic was “SQL Server Performance Tips &amp; Tricks,” and I started out with a Q&amp;A with the audience.  I think group participation like this is a great way to learn about a subject.  The questions from the audience came fast and furious, but I think I answered everyone to the best of my ability, and I am happy to report that everyone laughed in the right places.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_5.png" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">After my talk, Balmukund Lakhani spoke about a topic he called “Always on Unplugged.”  He talked about a new feature that is coming up in SQL Server called Availability Group.  Last was Rick Morelan, who gave a talk called “Basic Performance Tips &amp; Gotchas.”  I think readers may recognize his name from another book I co-authored (<strong><a href="http://blog.sqlauthority.com/sql-server-books/sql-wait-stats-joes-2-pros-sql-performance-tuning-techniques-using-wait-statistics-types-queues/" target="_blank">SQL Wait Stats</a></strong>), and it was exciting to share the stage with him again.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_6.png" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">When all the talks were over, the fun was not finished!   I am also very excited to tell all my readers that a special give-away at this event was none other than my book, <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><em>.</em>  There was even time for book signing afterwards, and it feels like everyone wanted their copy signed.  The book wasn’t the only giveaway, either.  Every attendee received a free 7-day trial subscription to <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>, which I hope everyone takes advantage of. Vinod and I have co-authored <strong><a href="http://bit.ly/plsql-qa" target="_blank">SQL Server Questions and Answers </a></strong>course on Pluralsight as well. Thanks to SQLPASS, Sponsors, and Microsoft for making this event a bit success.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_7.png" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">In the end, the conference was a great success and I am very pleased with the amount of attendees and participation.  I am now very tired after all that hard work, but I am also feeling very satisfied with a job well done.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_8.png" alt="" width="500" height="700" /></p>
<p style="text-align:justify;">Here are few write ups on by community members:- <a href="http://blogs.extremeexperts.com/2012/01/11/sql-saturday-116thanks-all/" target="_blank">Vinod</a>, <a href="http://www.kashyapas.com/2012/01/09/sqlexperience-ndash-my-sql-saturday-116-experience/" target="_blank">Lohit</a>, <a href="http://sudeeptaganguly.wordpress.com/2012/01/09/knowledge-networking-sqlsat116/" target="_blank">Sudeepta</a>, <a href="http://manasdash.wordpress.com/2012/01/08/sqlsaturday-116-bangalore-a-note-on-my-learning-and-experience/" target="_blank">Manas</a>, <a href="http://sqltune.wordpress.com/2012/01/07/question-of-the-day-when-grant-overrides-deny-in-sql-server-sqlsaturday-sqlsat116/" target="_blank">Varun</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/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-pass/'>SQL PASS</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/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17169&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/03/sqlauthority-news-an-incredible-successful-sql-saturday-116-event-first-sql-saturday-in-india/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/sqlsat116/sqlsat_2.png" medium="image" />

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

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

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

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

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

		<media:content url="http://www.pinaldave.com/bimg/sqlsat116/sqlsat_8.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; An Inspiring Personal Story &#8211; Movie from The Book &#8211; Video Course &#8211; SQL Server Questions and Answers &#8211; Pluralsight</title>
		<link>http://blog.sqlauthority.com/2012/02/02/sql-server-an-inspiring-personal-story-movie-from-the-book-video-course-sql-server-questions-and-answers-pluralsight/</link>
		<comments>http://blog.sqlauthority.com/2012/02/02/sql-server-an-inspiring-personal-story-movie-from-the-book-video-course-sql-server-questions-and-answers-pluralsight/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 01:30:36 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></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[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=17178</guid>
		<description><![CDATA[Nov 3, 2011 &#8211; Visit to Grandma When our SQL Server Interview Questions and Answers book got published I ran to my grandma with a copy of the book for her blessings. Well, just like every grandma, she loves me, her grandson, unconditionally. She is not into the technology domain (obviously), but she loved the book. She read the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17178&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 style="text-align:justify;">Nov 3, 2011 &#8211; Visit to Grandma</h2>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/grandma.jpg" alt="" width="267" height="189" />When our <a href="http://bit.ly/sqlinterviewbook" target="_blank"><strong>SQL Server Interview Questions and Answers</strong></a> book got published I ran to my grandma with a copy of the book for her blessings. Well, just like every grandma, she loves me, her grandson, unconditionally. She is not into the technology domain (obviously), but she loved the book. She read the first few pages where I was mentioned and read about my co-author <a href="http://blogs.extremeexperts.com/" target="_blank">Vinod Kumar</a>. After reading the introduction she looked at me and said &#8220;<strong><em>When I was young we used to read books, now all those good books are converted into the movies, when do you think this book will be converted into a movie?</em></strong>&#8220;</p>
<p style="text-align:justify;"><strong><em>Silence.</em></strong> A very long silence.</p>
<p style="text-align:justify;">I just could not answer her right away.  As a matter of fact, I went into a deep thought. I never thought that she could actually ask me such question. It may be a very simple question, but I felt that it was very important to me. I was just stunned and speechless. I returned home from my grandma’s place, with her blessings and an interesting thought of a &#8220;Movie from the Book&#8221;. I just could not get this out of my mind.</p>
<h2 style="text-align:justify;">Jan 24, 2012 - Movie from Book</h2>
<p style="text-align:justify;">I talked to my grandma very often, but since the last conversation my wife called her<img class="alignright" src="http://www.pinaldave.com/bimg/movie.jpg" alt="" width="250" /> often and I did not talk to her at all. There was no reason to talk to her maybe because I constantly felt that she is with me. Her blessings were with me. I could not get her question out of my mind, still. I was extremely motivated and inspired from my last conversation with her. I called her early morning on January 24. Her very first questions were how I was doing and how was her great granddaughter. I told her that regarding our last conversation, there is actually a movie which is inspired from the book. Her very first reaction was that she knew this would happen as she was confident that my book would reach milestones. We talked for long hours.</p>
<h2 style="text-align:justify;">Today &#8211; Fast Forward</h2>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/ff.png" alt="" width="150" />Well, the book was an inspiration for the course, but the video course was developed using totally different angle. We made sure that we’d take the broader idea from the book but wanted present something unique and novel. Vinod Kumar and I thought about it for a long time. We wanted to decide on the format of our course. We spent hours talking about the course &#8211; how we could make it unique and give a different experience to every attendee. We wanted to keep the subject light enough to digest, yet deep enough to satisfy everyone’s learning eagerness. After spending some days and efforts for the preparation of the unique content and exceptional demos, the course has become a reality for us.</p>
<h2 style="text-align:justify;"><a href="http://bit.ly/sql-qa" target="_blank">SQL Server Questions and Answers</a></h2>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/pinal-dave-v1.png" alt="" width="93" height="99" />This course is designed to help you have a better understanding on how to use SQL Server effectively. The course presents many of the common misconceptions about SQL Server, and then carefully debunks those misconceptions with clear explanations and short but compelling demos, showing you how SQL Server really works. This course is for anyone who works in SQL Server databases, and basically for those who want to improve their knowledge and understanding of this complex platform.</p>
<p style="text-align:justify;"><img class="alignright" style="text-align:justify;border-color:initial;border-style:initial;" src="http://www.pinaldave.com/bimg/vinod-kumar-v1.png" alt="" width="93" height="99" /></p>
<p style="text-align:justify;">In this course, each topic starts with a question and ends with an answer which is supplemented with a demo. Every question has an exercise file and a demo associated with it. Additionally, in the very last session, we have covered lots of SSMS tips and tricks. Here are the topics we have covered in this course:</p>
<ul style="text-align:justify;">
<li>Introduction</li>
<li>Retrieving IDENTITY value using @@IDENTITY</li>
<li>Concepts Related to Identity Values</li>
<li>Difference between WHERE and HAVING</li>
<li>Order in WHERE clause</li>
<li>Concepts Around Temporary Tables and Table Variables</li>
<li>Are stored procedures pre-compiled?</li>
<li>UNIQUE INDEX and NULLs problem</li>
<li>DELETE VS TRUNCATE</li>
<li>Locks and Duration of Transactions</li>
<li>Nested Transaction and Rollback</li>
<li>Understanding Date/Time Datatypes</li>
<li>Differences between VARCHAR and NVARCHAR datatypes</li>
<li>Precedence of DENY and GRANT security permissions</li>
<li>Identify Blocking Process</li>
<li>NULLS usage with Dynamic SQL</li>
<li>Appendix Tips and Tricks with Tools</li>
</ul>
<p style="text-align:justify;">Today we are very happy that our course is out. The journey from the book to the <a href="http://bit.ly/sql-qa" target="_blank"><strong>Training Course</strong></a> took 80 days and the experience was wonderful. In a future post, I will share the experience of writing book and building the training course.</p>
<p style="text-align:justify;">In the end, we just want to thank YOU, our dear reader, who made this experience possible.</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/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/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/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17178&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/02/sql-server-an-inspiring-personal-story-movie-from-the-book-video-course-sql-server-questions-and-answers-pluralsight/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/grandma.jpg" medium="image" />

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

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

		<media:content url="http://www.pinaldave.com/bimg/pinal-dave-v1.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/vinod-kumar-v1.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; What is Slowly Changing Dimension &#8211; Quiz &#8211; Puzzle &#8211; 31 of 31</title>
		<link>http://blog.sqlauthority.com/2012/02/01/sql-server-what-is-slowly-changing-dimension-quiz-puzzle-31-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/02/01/sql-server-what-is-slowly-changing-dimension-quiz-puzzle-31-of-31/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 01:30:23 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16651</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16651&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<p style="text-align:justify;"><img class="alignnone" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/31.jpg" alt="" width="500" height="500" /></p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;">Reporting and analytics cannot be achieved without a very good data model at the background. And using Analysis services for reporting requirement is always something very common architecture to this. But getting data from relational engine and keeping data for analysis up to date is the challenge. Having these in mind, what is the concept of Slowly Changing Dimension? And what is a Hybrid Slowly Changing Dimension?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/218/reporting-and-analytics-cannot-be-achieved-without-a-very-good-data-model-at-the-background.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">Modeling can be a tricky activity. The way to load a <a href="http://msdn.microsoft.com/en-us/library/ms141715.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">SCD </a> can be achieved interestingly via the SSIS route. Though the basics of SCD can be a larger discussion, tell us more about a thing or two on what you have learned so far in loading SCD.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Let us talk about a product in a shop. Let us assume the product is newly launched. The price of the product is very high and it is put in the ‘newly arrived products’ section. After. a while the book becomes best seller and it is moved to the ‘best seller’ section. As time progresses, the rate of sales of the book declines, leading to it getting moved off the best sellers’ group to the ‘regular items’ section. Eventually, the same book is moved to the bargain section and with a very low price value. Well, this product life process is slow changing. If we consider the price of the book as well as the duration it spent in particular section, it is very much comparable to a slowly changing dimension in SQL Server. Now that you know this simple comparison, the quiz should be easier for you.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#179-180</p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/218/reporting-and-analytics-cannot-be-achieved-without-a-very-good-data-model-at-the-background.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16651/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16651/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16651/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16651&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/02/01/sql-server-what-is-slowly-changing-dimension-quiz-puzzle-31-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/31.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Advantages of Partitioning &#8211; Quiz &#8211; Puzzle &#8211; 30 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/31/sql-server-advantages-of-partitioning-quiz-puzzle-30-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/31/sql-server-advantages-of-partitioning-quiz-puzzle-30-of-31/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 01:30:43 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16648</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16648&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/30.jpg" alt="" />As databases volumes become bigger and bigger, the best way to optimize would be to take the huge problem and break it up into smaller chunks. During a large server deployment, a DBA used this advice; he suggested implementing an extensive partitioning for our transaction tables. In line with this, what are the basics of creating, managing and deploying SQL Server partitioning?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/217/as-databases-volumes-become-big-and-big-the-best-way-to-optimize-would-be-take-the-big-problem.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">There are several options when it comes to using partitioning concepts inside SQL Server. Here’s a <a href="http://msdn.microsoft.com/en-us/library/ms178148.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">hint</a>: choose and explain what SQL Server introduced and what has been enhanced in SQL Server 2008 version.  In relation to this, can you tellm at Aligned Indexes are when it comes to partitioning?</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Partitioning is a very old concept, yet it has always been implemented indirectly. I remember durinv my very early career years, we used to create partitioning using the work around. When any table gets very huge and has an enormous amount of data into the table, we used to create new table by means of appending it with _1 or _2 value. After doing that, we created the view on the top of this table and selected the data from it. This way, we had to change a few parts of our code and we had to implement the concept of partitioning right away. Now, in SQL Server, we get the partitioning feature as a native feature, as well as means of getting a cool syntax to populate and remove data.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#168-170<br />
<a href="http://blog.sqlauthority.com/2008/01/25/sql-server-2005-database-table-partitioning-tutorial-how-to-horizontal-partition-database-table/" target="_blank">Database Table Partitioning Tutorial – How to Horizontal Partition Database Table</a><br />
<a href="http://blog.sqlauthority.com/2009/12/13/sql-server-white-paper-partitioned-table-and-index-strategies-using-sql-server-2008/" target="_blank">White Paper – Partitioned Table and Index Strategies Using SQL Server 2008</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/217/as-databases-volumes-become-big-and-big-the-best-way-to-optimize-would-be-take-the-big-problem.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16648/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16648/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16648&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/31/sql-server-advantages-of-partitioning-quiz-puzzle-30-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/30.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Data Collector Usage &#8211; Quiz &#8211; Puzzle &#8211; 29 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 01:30:02 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16641</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16641&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/29.jpg" alt="" /></p>
<p style="text-align:justify;">From Perfmon to SQL Profiler to other third Party tools, there are a good number of performance troubleshooting tools which a DBA can use inside SQL Server. One of the hidden features of most troubleshooting tools is the Data Collector inside SQL Server. What is a Data Collector, anyway? What are the predefined collectors inside SQL Server which can be used?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/216/there-are-multiple-performance-troubleshooting-tools-which-a-dba-can-use-inside-sql-server.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">Data Collector is truly a hidden gem in SQL Server. <a href="http://msdn.microsoft.com/en-us/library/bb677248.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Data Collector</a> is a great tool to track what is happening inside the SQL Server. Are you using the Data Collector? Have you extended it by any chance? Let us hear your stories and how would you have implemented the same in SQL Server 2005 versions?</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Data Collection is our old habit. Isn&#8217;t that the very reason why we have reached this far? I think we might have started to count because we wanted to remember how much inventory we have (may be not &#8211; but you got the point). Now, collection of the data is not really helpful unless they are arranged, filtered, cleaned up and put together in a nice algorithm. These can make data start talking and reveal its various intelligence. Data Collector is a very important subject, but I often see it not getting the proper exposure as it deserves.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#144</p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/216/there-are-multiple-performance-troubleshooting-tools-which-a-dba-can-use-inside-sql-server.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16641/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16641/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16641/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16641&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/30/sql-server-data-collector-usage-quiz-puzzle-29-of-31/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/num/29.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Reclaiming Space Back from Database &#8211; Quiz &#8211; Puzzle &#8211; 28 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/29/sql-server-reclaiming-space-back-from-database-quiz-puzzle-28-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/29/sql-server-reclaiming-space-back-from-database-quiz-puzzle-28-of-31/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 01:30:36 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16640</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16640&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/28.jpg" alt="" /></p>
<p style="text-align:justify;">Recently, I was contacted by one of my friends who operated a large database. He told me he was running out of disk space because some tables with many indexes were unnecessarily created. Even after truncating the table, the space was not given back to the OS. When does SQL Server give the space back once data is deleted?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/215/recently-i-was-contacted-by-one-of-my-friends-operating-a-large-database-that-he-was-running-out-of.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">There are multiple options, but to get the space back, but what are your other options to explore to reclaim the space and yet not get into fragmentation problems. Let me give you a <a href="http://msdn.microsoft.com/en-us/library/ms189493.aspx" target="_blank">hint</a>.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">There was a time when hard drives were expensive and space was the most important asset. I remember having my very first computer with only 2 GB of hard drive and 16 MB of RAM. At that time, space was truly a very important concept. File splitter was very important as we needed to fit every thing in multiple floppies. But in the modern age we have today, the once-expensive hard drives became so much cheaper, which led the importance of the space to become not as much as it was years back. In spite of this, I still see lots of efforts in the database world to reclaim the space back from the database. I often come across people become worried about keeping the database size as small as possible. Their worries made them attempt DBCC ShrinkDB and other tricks that are seriously not recommended. I think today&#8217;s question is in this similar line. We all have faced a situation when the table is deleted and yet the space is not released to OS by SQL Server. Any idea why this occurs?</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#136<br />
<a href="http://blog.sqlauthority.com/2010/08/12/sql-server-shrinkdatabase-for-every-database-in-the-sql-server/" target="_blank">SHRINKDATABASE For Every Database in the SQL Server</a><br />
<a href="http://blog.sqlauthority.com/2011/01/19/sql-server-shrinking-database-is-bad-increases-fragmentation-reduces-performance/" target="_blank">Shrinking Database is Bad – Increases Fragmentation – Reduces Performance</a><br />
<a href="http://blog.sqlauthority.com/2008/01/11/sql-server-reclaim-space-after-dropping-variable-length-columns-using-dbcc-cleantable/" target="_blank">Reclaim Space After Dropping Variable-Length Columns Using DBCC CLEANTABLE</a><br />
<a href="http://blog.sqlauthority.com/2010/03/01/sql-server-data-and-page-compressions-data-storage-and-io-improvement/" target="_blank">Data and Page Compressions – Data Storage and IO Improvement</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/215/recently-i-was-contacted-by-one-of-my-friends-operating-a-large-database-that-he-was-running-out-of.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16640/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16640&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/29/sql-server-reclaiming-space-back-from-database-quiz-puzzle-28-of-31/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/num/28.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Lots of Date Functions &#8211; Find Right One to Use &#8211; Quiz &#8211; Puzzle &#8211; 27 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/28/sql-server-lots-of-date-functions-find-right-one-to-use-quiz-puzzle-27-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/28/sql-server-lots-of-date-functions-find-right-one-to-use-quiz-puzzle-27-of-31/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 01:30:43 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16637</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16637&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/27.jpg" alt="" />Using datetime functions inside SQL Server have always been a struggle even if there are multiple options. There have been interesting usages of GETDATE, but appealing functions like SYSDATETIME(), GETUTCDATE() and SYSYTCDATETIME() functions were also introduced. When would you use these functions and what are their differences?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/214/using-datetime-functions-inside-sql-server-have-always-been-a-struggle-and-there-are-multiple-option.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">GETDATE() from the SQL Server 2000 days has been a common function which developers started to utilize. To answer the question, <a href="http://msdn.microsoft.com/en-us/library/ms188383.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">read the hint here</a>. The changes on usage are fascinating as the precision levels and storage needs of these can be altered drastically. Can you name some of these changes?</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">I remember an old story told to me when I was just a beginning DBA. I had set up a job which was supposed to run at exact 12 AM (midnight). After a few runs, we realized that the job was running always 30 seconds earlier than the desired time. Every single day, at precisely 30 seconds before 12 AM, it would start to run. After a while, we had to create a complete investigation team on this subject. A senior DBA eventually figured it out &#8211; it was because we had used SMALLDATETIME datatype for a variable. This variable was storing the current datetime, and as precision of SMALLDATETIME is in terms of minutes, we had to face that issue. Our IT manager finally made all of us to go through every single datatype available in the SQL Server and get familiarized with all of them. I learned the lesson very well so now I want to share this experience with everybody.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#133<br />
<a href="http://blog.sqlauthority.com/2010/06/11/sql-server-difference-between-datetime-and-datetime2/" target="_blank">Difference Between DATETIME and DATETIME2</a><br />
<a href="http://blog.sqlauthority.com/2010/06/10/sql-server-difference-between-getdate-and-sysdatetime/" target="_blank">Difference Between GETDATE and SYSDATETIME</a><br />
<a href="http://blog.sqlauthority.com/2009/08/06/sql-server-get-time-in-hourminute-format-from-a-datetime-get-date-part-only-from-datetime/" target="_blank">Get Time in Hour:Minute Format from a Datetime – Get Date Part Only from Datetime</a><br />
<a href="http://blog.sqlauthority.com/2010/07/16/sql-server-datetime-function-todatetimeoffset-example/" target="_blank">Datetime Function TODATETIMEOFFSET Example</a><br />
<a href="http://blog.sqlauthority.com/2010/11/15/sql-server-information-related-to-datetime-and-datetime2/" target="_blank">Information Related to DATETIME and DATETIME2</a><br />
<a href="http://blog.sqlauthority.com/2010/07/15/sql-server-datetime-function-switchoffset-example/" target="_blank">Datetime Function SWITCHOFFSET Example</a><br />
<a href="http://blog.sqlauthority.com/2010/06/12/sql-server-difference-between-datetime-and-datetime2-with-getdate/" target="_blank">Difference Between DATETIME and DATETIME2 – WITH GETDATE</a><br />
<a href="http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/" target="_blank">DATE and TIME in SQL Server 2008</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/214/using-datetime-functions-inside-sql-server-have-always-been-a-struggle-and-there-are-multiple-option.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16637/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16637&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/28/sql-server-lots-of-date-functions-find-right-one-to-use-quiz-puzzle-27-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/27.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Common Gotcha&#8217;s Associated with Common Table Expressions (CTE) &#8211; Quiz &#8211; Puzzle &#8211; 26 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/27/sql-server-common-gotchas-associated-with-common-table-expressions-cte-quiz-puzzle-26-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/27/sql-server-common-gotchas-associated-with-common-table-expressions-cte-quiz-puzzle-26-of-31/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 01:30:27 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16634</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16634&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/26.jpg" alt="" />As part of performance tuning exercises, our developer always suggest to use SET based operations rather than procedural languages. One of the suggestions given as a substitute for hierarchical data structure was to use CTE. What are CTEs inside SQL Server, what are their advantages and how can you rewrite a subquery using CTEs?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/213/as-part-of-performance-tuning-exercise-our-developer-always-suggested-to-use-set-based-operations.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/ms190766.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Common Table Expressions</a> a.k.a CTEs are an important addition to SQL Server. Though CTE is available as an alternative for Views, Subqueries, there is a special case scenario for using CTEs. Tell us, how innovatively have you used CTEs? Can there be recursive CTEs? If yes, have you ever tried them?</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">CTEs are often confused with Temp Table and Subqueries, but there are more facts about this subject. While working with recursive CTEs, one has to make sure that they do not go into an infinite loop and stop after certain numbers of fixed iteration. SQL Server does have an option to limit the numbers of iteration; however, there is a default number which is associated with number of loops. CTEs are also very useful in terms of readability. I’ve started to use CTEs in many places, but before I began to practice CTEs, I made sure that I’d spend a good amount of time to learn about them, and so I did.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#109-112<br />
<a href="http://blog.sqlauthority.com/2011/05/10/sql-server-common-table-expression-cte-and-few-observation/" target="_blank">Common Table Expression (CTE) and Few Observation</a><br />
<a href="http://blog.sqlauthority.com/2009/08/08/sql-server-multiple-cte-in-one-select-statement-query/" target="_blank">Multiple CTE in One SELECT Statement Query</a><br />
<a href="http://blog.sqlauthority.com/2009/06/23/sql-server-2005-2008-delete-duplicate-rows/" target="_blank">Delete Duplicate Rows</a><br />
<a href="http://blog.sqlauthority.com/2008/07/28/sql-server-simple-example-of-recursive-cte/" target="_blank">Simple Example of Recursive CTE</a><br />
<a href="http://blog.sqlauthority.com/2008/07/29/sql-server-sql-server-simple-example-of-recursive-cte-part-2-maxrecursion-prevent-cte-infinite-loop/" target="_blank">SQL SERVER – Simple Example of Recursive CTE – Part 2 – MAXRECURSION – Prevent CTE Infinite Loop</a><br />
<a href="http://blog.sqlauthority.com/2007/06/11/sql-server-2005-t-sql-paging-query-technique-comparison-over-and-row_number-cte-vs-derived-table/" target="_blank">T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) – CTE vs. Derived Table</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/213/as-part-of-performance-tuning-exercise-our-developer-always-suggested-to-use-set-based-operations.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16634/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16634&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/27/sql-server-common-gotchas-associated-with-common-table-expressions-cte-quiz-puzzle-26-of-31/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/num/26.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Interview with Book Authors after 2 Months of Book Released</title>
		<link>http://blog.sqlauthority.com/2012/01/26/sqlauthority-news-interview-with-book-authors-after-2-months-of-book-released/</link>
		<comments>http://blog.sqlauthority.com/2012/01/26/sqlauthority-news-interview-with-book-authors-after-2-months-of-book-released/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 01:30:39 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=17120</guid>
		<description><![CDATA[Community is the most motivating force for me. I have often found situations where I have done more and better things because there was community around me. My latest book SQL Server Interview Questions and Answers is the result of the community’s support and love. Without the wide acceptance of the community I would have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17120&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Community is the most motivating force for me. I have often found situations where I have done more and better things because there was community around me. My latest book <em>SQL Server Interview Questions and Answers</em> is the result of the community’s support and love. Without the wide acceptance of the community I would have never reached where I am. Thank you!</p>
<p style="text-align:justify;">Recently, the kind folks of INETA APAC &#8211; Sanjay Shetty and Raj Chaudhuri – conducted an interview with myself and Vinod Kumar (co-author of my book). We had lots of fun during the interview. Sanjay asks questions which, even as an author, I did not think of. My hope is that talking more about our book will help the community in the same way they all helped motivate me to write this book.  Another benefit of the interview was that Raj always has questions which dig out the secrets of the book publishing business. Well, we answered each question candidly. When the interview was about to be over &#8211; we realized that book publishing is indeed long process and, just like us, many need help understanding this subject.</p>
<p style="text-align:justify;">I know that I cannot be the only person who ever dreamed of becoming a published author. We would like to offer help to anybody who wants to write book. Writing this one book has taught us a lot and we are eager to share our hard-earned knowledge with you. If you have also written a technical book about computers, SQL Server, or just technology in general, I know that we will be able to help you in some way. Even if you are the sort of person who writes short stories in their free time, give us a try and we might be able to help you, too!</p>
<p style="text-align:justify;">Once again: Thanks Sanjay and Raj for giving us the honor to be featured in an interview with you.</p>
<p style="text-align:justify;"><span style="text-align:center; display: block;"><a href="http://blog.sqlauthority.com/2012/01/26/sqlauthority-news-interview-with-book-authors-after-2-months-of-book-released/"><img src="http://img.youtube.com/vi/_uQOSiq73f0/2.jpg" alt="" /></a></span></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/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/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>, <a href='http://blog.sqlauthority.com/category/video/'>Video</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=17120&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/26/sqlauthority-news-interview-with-book-authors-after-2-months-of-book-released/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>
	</item>
		<item>
		<title>SQL SERVER &#8211; Different Aspect of Policy Based Management &#8211; Quiz &#8211; Puzzle &#8211; 25 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/26/sql-server-different-aspect-of-policy-based-management-quiz-puzzle-25-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/26/sql-server-different-aspect-of-policy-based-management-quiz-puzzle-25-of-31/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 01:30:33 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16631</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16631&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/25.jpg" alt="" />Compliance is one of the non-negotiable things in this era. SQL Server has had so many options like C2 Auditing since the SQL Server 2000 days. With the advent of Policy Based Management inside SQL Server 2005, what are the different aspects involving PBM one needs to know?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/212/compliance-is-one-of-the-non-negotiable-in-this-era.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">Tough Auditing is a great way to monitor SQL Server, but when you try to explore what all methods does the PBM give when compared to Auditing, <a href="http://msdn.microsoft.com/en-us/library/dd938891%28v=SQL.100%29.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Policy Based Management</a> can help you take the management of SQL Server to the next level better than Auditing. Also, there are some interesting ways to extend and make your own custom policy using special commands. To learn more, explore these concepts and tell us your views.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Have you ever desired to know who has touched your data? In this tightly conformed world, it is very important to know who has an access to the data and which among the data has been accessed. There are important cases when some data are never accessed by anybody. Preventing data access is one story, while being a DBA who might have his best practices is another story. A DBA may never want the Auto Shrink to become activated in their databases. All these and more can be done using Policy Based Management.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#154-155<br />
<a href="http://blog.sqlauthority.com/2009/11/13/sql-server-policy-based-management-create-evaluate-and-fix-policies/" target="_blank">Policy Based Management – Create, Evaluate and Fix Policies</a><br />
<a href="http://blog.sqlauthority.com/2008/06/13/sql-server-2008-introduction-to-policy-management-enforcing-rules-on-sql-server/" target="_blank">Introduction to Policy Management – Enforcing Rules on SQL Server</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/212/compliance-is-one-of-the-non-negotiable-in-this-era.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16631/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16631&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/26/sql-server-different-aspect-of-policy-based-management-quiz-puzzle-25-of-31/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/num/25.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Correct Value for Fillfactor &#8211; Quiz &#8211; Puzzle &#8211; 24 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/25/sql-server-correct-value-for-fillfactor-quiz-puzzle-24-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/25/sql-server-correct-value-for-fillfactor-quiz-puzzle-24-of-31/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 01:30:45 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16628</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16628&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/24.jpg" alt="" />Any database design can include only the Normal forms. But while a DBA performs a product deployment, it is critical to take care of certain factors for Index creation. With this noted, explain <em>FILL</em>FACTOR<em> </em>and<em> PAT</em>FACTOR inside SQL Server. What are their uses and when would you use each of them?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/211/any-database-design-can-include-only-the-normal-forms.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">Tough FILLFACTOR is used from the side of performance tuning techniques. It also has an impact on storage needs &#8211; the IO increases for Reads if done incorrectly. This <a href="http://msdn.microsoft.com/en-us/library/ms177459.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Hint</a> has the information related to these notes. Is there a skill that you use regarding this matter? Feel free to share.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Fillfactor is an interesting concept. When I tell several DBA and developers that fillfactor 0 is the same as 100, I have seen them not believing what I said. An appropriate fillfactor can have a heavy impact on performance. The fillfactor can be adjusted at server level as well as at index level. A similar concept is PATFACTOR. I have seen it being abused, leading to a terrible performance on server. Aside from fillfactor, there are many additional performance tuning concepts one needs to master if performance is his primary concern for database.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#151-153<br />
<a href="http://blog.sqlauthority.com/2011/01/31/sql-server-what-is-fill-factor-and-what-is-the-best-value-for-fill-factor/" target="_blank">SQL SERVER – What is Fill Factor and What is the Best Value for Fill Factor</a><br />
<a href="http://blog.sqlauthority.com/2009/12/16/sql-server-fillfactor-index-and-in-depth-look-at-effect-on-performance/" target="_blank">Fillfactor, Index and In-depth Look at Effect on Performance</a><br />
<a href="http://blog.sqlauthority.com/2009/01/30/sql-server-2008-2005-rebuild-every-index-of-all-tables-of-database-rebuild-index-with-fillfactor/" target="_blank">Rebuild Every Index of All Tables of Database – Rebuild Index with FillFactor</a><br />
<a href="http://blog.sqlauthority.com/2007/05/25/sql-server-change-default-fill-factor-for-index/" target="_blank">Change Default Fill Factor For Index</a><br />
<a href="http://blog.sqlauthority.com/2007/06/24/sql-server-comparison-index-fragmentation-index-de-fragmentation-index-rebuild-sql-server-2000-and-sql-server-2005/" target="_blank">Comparison Index Fragmentation, Index De-Fragmentation, Index Rebuild – SQL SERVER 2000 and SQL SERVER 2005</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/211/any-database-design-can-include-only-the-normal-forms.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16628/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16628/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16628/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16628&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/25/sql-server-correct-value-for-fillfactor-quiz-puzzle-24-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/24.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Database Mirroring and Fine-Prints &#8211; Quiz &#8211; Puzzle &#8211; 23 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/24/sql-server-database-mirroring-and-fine-prints-quiz-puzzle-23-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/24/sql-server-database-mirroring-and-fine-prints-quiz-puzzle-23-of-31/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 01:30:41 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16624</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16624&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/23.jpg" alt="" />Though high availability is something critical for all large database deployments, there are other multiple options one can use. For today’s discussion, what is database mirroring option? What are the Database Mirroring enhancements done in SQL Server 2008 R2 edition? How is it different from Log shipping?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/210/though-high-availability-is-something-critical-for-all-large-database-deployments.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">DBM is a very famous method of HA options that I have seen enterprises use in their environments. <a href="http://msdn.microsoft.com/en-us/library/bb934127.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">The concepts</a> are simple and well-explained. There are also fine-prints when implementing DBM, which need special attention.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">&#8220;Is database mirroring a high-availability solution, or a disaster recovery solution?&#8221; When I ask this question, I keep on getting a different answer every single time. Database mirroring maintains two copies of a single database that must reside on different server instances of SQL Server Database Engine. Now, mirroring requires that the database has to be in full recovery mode and the database resides on different instances. A lesser known fact is that mirroring is also related to the Page Restore concept. Why not spend time to know what the main interesting factors related to database mirroring are? I’m sure it would be a worthwhile learning experience for you.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#158-159, 166<br />
<a href="http://blog.sqlauthority.com/2010/03/16/sql-server-quick-note-of-database-mirroring/" target="_blank">Quick Note of Database Mirroring</a><br />
<a href="http://blog.sqlauthority.com/2009/07/11/sql-server-standby-servers-and-types-of-standby-servers/" target="_blank">Standby Servers and Types of Standby Servers</a><br />
<a href="http://blog.sqlauthority.com/2010/03/18/sql-server-mirroring-configured-without-domain-the-server-network-address-tcpsqlservername5023-can-not-be-reached-or-does-not-exist/" target="_blank">Mirroring Configured Without Domain </a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/210/though-high-availability-is-something-critical-for-all-large-database-deployments.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16624/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16624&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/24/sql-server-database-mirroring-and-fine-prints-quiz-puzzle-23-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/23.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; What is Piecemeal Restore &#8211; Quiz &#8211; Puzzle &#8211; 22 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/23/sql-server-what-is-piecemeal-restore-quiz-puzzle-22-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/23/sql-server-what-is-piecemeal-restore-quiz-puzzle-22-of-31/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 01:30:49 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16616</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16616&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/22.jpg" alt="" /></p>
<p style="text-align:justify;">The work of a DBA is never to be underestimated. An effective DBA’s role maybe understated for the 364 days in a year, but that 1 day when the database gets into a corrupt state is when all the skills come to the fore.</p>
<p style="text-align:justify;"> Recently, while working on a 24&#215;7 large database split into multiple filegroups, it suddenly got into a corrupt state. The DBA brought the database ONLINE quickly and was doing a restore process in the background. To understand what he had done, what is Piecemeal Restore inside SQL Server? When was this introduced and what are the options of using this feature?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/209/work-of-a-dba-is-never-to-be-underestimated.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">The behaviors and options of using a Database backup are indeed critical, yet an effective DBA should be able to harness the best results in the shortest time. <span style="text-decoration:underline;">Hint:</span> it is like a great bookmark to understand the options available when looking for restore strategies with SQL Server. To help you more, read topics around ONLINE restores.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Here are a few quotes from users I often hear:</p>
<p style="text-align:justify;">&#8220;I have all the necessary backups but I could not restore the backup.&#8221;<br />
&#8220;Three hours have passed and yet our restore is still going on?&#8221;<br />
&#8220;We have a mirroring set up and never faced an issue of corruption.&#8221;</p>
<p style="text-align:justify;">When I hear them, I often wonder if they really know the aspects of backup and restore. Piecemeal is another similar concept that people often overlook, ignore and avoid learning. I think all of us should explore this technology further and see if we can avoid saying the above quotes.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#161<br />
<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">Backup Timeline and Understanding of Database Restore Process in Full Recovery Model</a><br />
<a href="http://blog.sqlauthority.com/2011/12/28/sql-server-effect-of-compressed-backup-setting-at-server-level-on-database-backup/" target="_blank">Effect of Compressed Backup Setting at Server Level on Database Backup</a><br />
<a href="http://blog.sqlauthority.com/2011/12/27/sql-server-target-recovery-time-of-a-database-advance-option-in-sql-server-2012/" target="_blank">Target Recovery Time of a Database – Advance Option in SQL Server 2012</a><br />
<a href="http://blog.sqlauthority.com/2011/12/23/sql-server-a-quick-script-for-point-in-time-recovery-back-up-and-restore/" target="_blank">A Quick Script for Point in Time Recovery – Back Up and Restore</a><br />
<a href="http://blog.sqlauthority.com/2011/05/27/sql-server-copy-database-from-instance-to-another-instance-copy-paste-in-sql-server/" target="_blank">Copy Database from Instance to Another Instance – Copy Paste in SQL Server</a><br />
<a href="http://blog.sqlauthority.com/2009/09/02/sql-server-mirrored-backup-and-restore-and-split-file-backup-2/" target="_blank">Mirrored Backup and Restore and Split File Backup</a><br />
<a href="http://blog.sqlauthority.com/2010/10/24/sql-server-corrupted-backup-file-and-unsuccessful-restore/" target="_blank">Corrupted Backup File and Unsuccessful Restore</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/209/work-of-a-dba-is-never-to-be-underestimated.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16616/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16616&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/23/sql-server-what-is-piecemeal-restore-quiz-puzzle-22-of-31/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/num/22.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Difference between Create Index &#8211; Drop Index &#8211; Rebuild Index &#8211; Quiz &#8211; Puzzle &#8211; 21 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/22/sql-server-difference-between-create-index-drop-index-rebuild-index-quiz-puzzle-21-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/22/sql-server-difference-between-create-index-drop-index-rebuild-index-quiz-puzzle-21-of-31/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 01:30:58 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16619</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16619&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/21.jpg" alt="" />Even though storage as a subsystem is cheap these days, we have seen several DBAs struggling to find Log files run out of space and stop transactions. Understanding the size of Log files is a critical aspect. And now, table data, index data, log data and other related data are becoming important competencies of an effective DBA. In relation to these, how do you enable and disable an Index? What is the behavior of the size when compared to dropping an Index? How does storage change?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/208/even-though-storage-as-a-subsystem-is-cheap-these-dayswe-have-seen-dbas-struggle-to-find-log-file.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">Understanding the <a href="http://msdn.microsoft.com/en-us/library/ms190457.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Indexing basics</a> will demystify the differences of how Clustered Index and Non-Clustered Indexes work. The nuances of how the de-allocation happens are completely dependent on the specifics of the version. In line with this, it would be helpful to learn about the formula for calculating the size of a <a href="http://msdn.microsoft.com/en-us/library/ms190620.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">non-clustered index</a>.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">I admit &#8211; there was a time when I had absolutely no clue about the difference between CREATE and DROP Indexes versus REBUILD Indexes. Not knowing this simple fact, I have often used each other in place where I should have not used it. There are many differences between them; the one which stands out the most is related to performance as well storage. After sometime, I came to learn about this so I started practicing what is right and more appropriate. Today, I have the puzzle put in front of you. Do you really know the difference between them or do you just use whatever comes to mind first?</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#149<br />
<a href="http://blog.sqlauthority.com/2011/01/04/sql-server-2008-unused-index-script-download/" target="_blank">Unused Index Script – Download</a><br />
<a href="http://blog.sqlauthority.com/2011/01/03/sql-server-2008-missing-index-script-download/" target="_blank">Missing Index Script – Download</a><br />
<a href="http://blog.sqlauthority.com/2010/04/29/sql-server-disable-clustered-index-and-data-insert/" target="_blank">Disable Clustered Index and Data Insert</a><br />
<a href="http://blog.sqlauthority.com/2010/03/26/sql-server-generate-report-for-index-physical-statistics-ssms/" target="_blank">Generate Report for Index Physical Statistics – SSMS</a><br />
<a href="http://blog.sqlauthority.com/2010/05/12/sql-server-understanding-alter-index-all-rebuild-with-disabled-clustered-index/" target="_blank">Understanding ALTER INDEX ALL REBUILD with Disabled Clustered Index</a><br />
<a href="http://blog.sqlauthority.com/2010/09/14/sql-server-disabled-index-and-index-levels-and-b-tree/" target="_blank">Disabled Index and Index Levels and B-Tree</a><br />
<a href="http://blog.sqlauthority.com/2010/07/04/sql-server-index-levels-page-count-record-count-and-dmv-%C2%A0sys-dm_db_index_physical_stats/" target="_blank">Index Levels, Page Count, Record Count and DMV &#8211; sys.dm_db_index_physical_stats</a><br />
<a href="http://blog.sqlauthority.com/2010/05/09/sql-server-size-of-index-table-for-each-index-solution-2/" target="_blank">Size of Index Table for Each Index – Solution 2</a><br />
<a href="http://blog.sqlauthority.com/2010/08/22/sql-server-computed-columns-index-and-performance/" target="_blank">Computed Columns – Index and Performance</a><br />
<a href="http://blog.sqlauthority.com/2010/12/18/sql-server-index-created-on-view-not-used-often-limitation-of-the-view-12/" target="_blank">Index Created on View not Used Often – Limitation of the View 12</a><br />
<a href="http://blog.sqlauthority.com/2011/11/07/sql-server-video-performance-improvement-in-columnstore-index/" target="_blank">Video – Performance Improvement in Columnstore Index</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/208/even-though-storage-as-a-subsystem-is-cheap-these-dayswe-have-seen-dbas-struggle-to-find-log-file.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16619/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16619&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/22/sql-server-difference-between-create-index-drop-index-rebuild-index-quiz-puzzle-21-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/21.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Methods for Accessing SQL Server XML Datatype &#8211; Quiz &#8211; Puzzle &#8211; 20 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/21/sql-server-methods-for-accessing-sql-server-xml-datatype-quiz-puzzle-20-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/21/sql-server-methods-for-accessing-sql-server-xml-datatype-quiz-puzzle-20-of-31/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 01:30:15 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16613</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16613&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/20.gif" alt="" />From SQL Server 2000, XML has gained more and more popular due to its many applications. With SQL Server 2005 XML, became a first class datatype and applications are likely to use more natively. In line with this, what are the basic 5 methods provided by XML Datatype for access? When would you use one over the other?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/207/from-sql-server-2000-the-use-of-xml-has-been-more-and-more-by-applications.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">The standard methods of using XML are interesting. Read here for <a href="http://msdn.microsoft.com/en-us/library/ms190798.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">further details</a>. Using the right option is what makes the usages remarkable, though. Just dig a little more in understanding Typed Vs Untyped XML as part of this learning.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">XML is a very exciting subject. I often see two different kinds of opinion about XML; some developers like it very much while others just hate it. I have seen expert developers sweltering when they have to deal with XML.</p>
<p style="text-align:justify;">Let me ask you one question: “If a webpage has 100 of the form element and we want to capture all of those which are filled, how would you do it?” See, there are cases where XML just works and moreover it works like a charm. Learning how to read XML data is essential.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#137-139<br />
<a href="http://blog.sqlauthority.com/2010/06/23/sqlauthority-news-guest-post-select-from-xml-jacob-sebastian/" target="_blank">SELECT * FROM XML</a><br />
<a href="http://blog.sqlauthority.com/2011/09/02/sql-server-tips-from-the-sql-joes-2-pros-development-series-shredding-xml-day-33-of-35/" target="_blank">Shredding XML</a><br />
<a href="http://blog.sqlauthority.com/2009/12/02/sql-server-validate-an-xml-document-in-tsql-using-xsd-by-jacob-sebastian/" target="_blank">Validate an XML document in TSQL using XSD</a><br />
<a href="http://blog.sqlauthority.com/2009/02/13/sql-server-simple-example-of-reading-xml-file-using-t-sql/" target="_blank">Simple Example of Reading XML File Using T-SQL</a><br />
<a href="http://blog.sqlauthority.com/2009/02/12/sql-server-simple-example-of-creating-xml-file-using-t-sql/" target="_blank">Simple Example of Creating XML File Using T-SQL</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/207/from-sql-server-2000-the-use-of-xml-has-been-more-and-more-by-applications.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16613/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16613/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16613/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16613&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/21/sql-server-methods-for-accessing-sql-server-xml-datatype-quiz-puzzle-20-of-31/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/num/20.gif" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; MERGE or INSERT, UPDATE, DELETE  &#8211; Quiz &#8211; Puzzle &#8211; 19 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/20/sql-server-merge-or-insert-update-delete-quiz-puzzle-19-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/20/sql-server-merge-or-insert-update-delete-quiz-puzzle-19-of-31/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 01:30:31 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16608</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16608&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/19.jpg" alt="" /></p>
<p style="text-align:justify;">In any performance-testing discussion for a huge, significant development, one of the common requirements is to send multiple values to SQL Server in a single shot. So to help achieve this this requirement, SQL Server introduced the MERGE statement. What is the construct of a MERGE statement? What are the restrictions of using the MERGE?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/206/in-any-performance-testing-discussion-for-large-development-one-of-the-common-requirements.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">A MERGE statement has great benefits as ETL requirements. Read for <a href="http://msdn.microsoft.com/en-us/library/bb510625.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">more details</a>. As you use them in relational engine, can you tell how you can get details of how many INSERTS, UPDATES and DELETES have happened as part of the database?</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">What is UPSERT? It is commonly used word for INSERT and UPDATE. How about adding DELETE to the UPSERT as well &#8211; what will you call? I will call it MERGE. When I came across MERGE I was very happy as it was not only INSERT, UPDATE and DELETE but if used correctly there were many advantages associated with this operation. Initially, it was very hard into use MERGE statement as I was so used to writing INSERT, UPDATE and DELETE. As I kept myself open to this new procedure; I learned that this can be very helpful. To master any feature, solution or tool, one needs to learn about the limitations of MERGE . Today&#8217;s question is based on the main questions above: “What is MERGE and what are the restrictions of the MERGE statement?”</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#112<br />
<a href="http://blog.sqlauthority.com/2010/06/08/sql-server-merge-operations-insert-update-delete-in-single-execution/" target="_blank">Merge Operations – Insert, Update, Delete in Single Execution</a><br />
<a href="http://blog.sqlauthority.com/2008/08/28/sql-server-2008-introduction-to-merge-statement-one-statement-for-insert-update-delete/" target="_blank">Introduction to Merge Statement – One Statement for INSERT, UPDATE, DELETE</a><br />
<a href="http://blog.sqlauthority.com/2007/04/28/sql-server-explanation-sql-server-merge-join/" target="_blank">Explanation SQL SERVER Merge Join</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/206/in-any-performance-testing-discussion-for-large-development-one-of-the-common-requirements.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16608/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16608/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16608/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16608&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/20/sql-server-merge-or-insert-update-delete-quiz-puzzle-19-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/19.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Importance of Resource Database &#8211; Quiz &#8211; Puzzle &#8211; 18 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/19/sql-server-importance-of-resource-database-quiz-puzzle-18-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/19/sql-server-importance-of-resource-database-quiz-puzzle-18-of-31/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 01:30:20 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16605</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16605&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/18.jpg" alt="" /></p>
<p style="text-align:justify;">As an effective DBA, it is critical to keep updated on the various server side databases. Recently, I encountered a Developer who was saying that the “sys” schema objects were no longer in the MASTER database. Interestingly, what is the use of RESOURCE Database inside SQL Server? Tell us one change in RESOURCE Database inside SQL Server 2008 R2 edition. Also, how can we find the properties of the RESOURCE database, like what its version is, etc.?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/205/as-an-effective-dba-it-is-critical-to-keep-tap-on-the-various-server-side-databases.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">RESOURCE databases are <a href="http://msdn.microsoft.com/en-us/library/ms190940.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">special databases</a>. And these were created separately for a specific reason. Can you also tell how we can find the details of a RESOURCE database version, and other description of this database? In addition, in your plan to backup the system databases, are you also planning to take the backup of the RESOURCE database? Answering these questions can lead you to the right answer to the SQL Quiz question mentioned earlier. Tell me your views.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">Today, instead of hint and sound bytes, let me give a question back at you. How many system databases are there in SQL Server? I often end up receiving the answer “FOUR”.</p>
<p style="text-align:justify;">I think that during the course of SQL Server evolution, DBAs and developers frequently miss their respective rhythm to keep updated. I often say that there’s no empty knowledge; we can find small knowledge from everything. At one place, I have seen a developer deleting a resource database, then SQL Server began to face issues when it was attempting to start. This experience tells us that resources database is very important and it has a specific and crucial use. Honestly, every single system database is very significant, and one should know more about them and keep their knowledge updated.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#104<br />
<a href="Resource Database ID – 32767" target="_blank">Resource Database ID – 32767</a><br />
<a href="http://blog.sqlauthority.com/2010/01/31/sql-server-location-of-resource-database-in-sql-server-editions/" target="_blank">Location of Resource Database in SQL Server Editions</a><br />
<a href="http://blog.sqlauthority.com/2008/07/27/sql-server-mssqlsystemresource-resource-database/" target="_blank">mssqlsystemresource – Resource Database</a><br />
<a href="http://blog.sqlauthority.com/2007/10/31/sql-server-importance-of-master-database-for-sql-server-startup/" target="_blank">Importance of Master Database for SQL Server Start-up</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/205/as-an-effective-dba-it-is-critical-to-keep-tap-on-the-various-server-side-databases.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16605/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16605/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16605/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16605&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/19/sql-server-importance-of-resource-database-quiz-puzzle-18-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/18.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Various Ways to Create Constraints &#8211; Quiz &#8211; Puzzle &#8211; 17 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/18/sql-server-various-ways-to-create-constraints-quiz-puzzle-17-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/18/sql-server-various-ways-to-create-constraints-quiz-puzzle-17-of-31/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 01:30:27 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16599</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16599&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/17.jpg" alt="" />Auditing is always fun when we do code reviews. And in a product back-end check we found a lot of junk names for the Default constraints inside the database. What are the different ways you can use to create a CONSTRAINT inside SQL Server?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/204/auditing-is-always-fun-when-we-do-code-reviews.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">CONSTRAINTS are critical from a business requirement as we design the databases. <a href="http://msdn.microsoft.com/en-us/library/ms189862.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Read more</a> about them. Are you still using the RULE mode? Well, be careful because this is getting removed in the future release.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">When I heard of a question about how many different types of ways there are in order for us to create a constraint, I could not believe the answers given to this, at first. Maybe it’s because I find it a bit confusing at times. However, I think the real answer to this question can be achieved if we understand the fundamentals properly. It is important to know how many types of constraints exist in SQL Server before trying to figure out how many different ways the constraints can be created. There are also cases when the constraint has not only helped maintain data integrity but also performance.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#137-139<br />
<a href="http://blog.sqlauthority.com/2011/04/21/sql-server-prevent-constraint-to-allow-null/" target="_blank">Prevent Constraint to Allow NULL</a><br />
<a href="http://blog.sqlauthority.com/2008/05/31/sql-server-create-default-constraint-over-table-column/" target="_blank">Create Default Constraint Over Table Column</a><br />
<a href="http://blog.sqlauthority.com/2010/04/22/sql-server-create-primary-key-with-specific-name-when-creating-table/" target="_blank">Create Primary Key with Specific Name when Creating Table</a><br />
<a href="http://blog.sqlauthority.com/2008/09/08/sql-server-%E2%80%93-2008-creating-primary-key-foreign-key-and-default-constraint/" target="_blank">Creating Primary Key, Foreign Key and Default Constraint</a><br />
<a href="http://blog.sqlauthority.com/2011/04/24/sql-server-how-to-alter-constraint/" target="_blank">How to ALTER CONSTRAINT</a><br />
<a href="http://blog.sqlauthority.com/2009/11/12/sql-server-disable-check-constraint-enable-check-constraint/" target="_blank">Disable CHECK Constraint – Enable CHECK Constraint</a><br />
<a href="http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/" target="_blank">Query to Display Foreign Key Relationships and Name of the Constraint for Each Table in Database<br />
List All The Constraint of Database – Find Primary Key and Foreign Key Constraint in Database</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/204/auditing-is-always-fun-when-we-do-code-reviews.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16599/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16599&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/18/sql-server-various-ways-to-create-constraints-quiz-puzzle-17-of-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/num/17.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; CHECKPOINT Behavior and Database Recovery Models &#8211; Quiz &#8211; Puzzle &#8211; 16 of 31</title>
		<link>http://blog.sqlauthority.com/2012/01/17/sql-server-checkpoint-behavior-and-database-recovery-models-quiz-puzzle-16-of-31/</link>
		<comments>http://blog.sqlauthority.com/2012/01/17/sql-server-checkpoint-behavior-and-database-recovery-models-quiz-puzzle-16-of-31/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 01:30:24 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<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 Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Puzzle]]></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=16588</guid>
		<description><![CDATA[Year 2011 was a year of learning and opportunity for me. My recent book, SQL Server Interview Questions and Answers, has received such overwhelming love and support from all of you. While writing the book, I had two simple goals: (1) Master the Basics and (2) Ignite Learning. There was a constant request from the Community to take the learning of these books to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16588&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Year 2011 was a year of learning and opportunity for me. My recent book, <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>, has received such overwhelming love and support from all of you. While writing the book, I had <a href="http://blog.sqlauthority.com/2011/12/22/sql-server-mastering-the-basics-igniting-learning-a-unique-learning-experience/" target="_blank"><strong>two simple goals</strong></a>: (1) <strong><em>Master the Basics</em></strong> and (2) <strong><em>Ignite Learning</em></strong>. There was a constant request from the Community to take the learning of these books to the next level. Here is an article which discusses the <a href="http://blog.sqlauthority.com/2012/01/01/sql-server-interview-questions-and-answers-perspectives-of-an-author/" target="_blank"><strong>Author&#8217;s Perspective</strong></a>.</p>
<p style="text-align:justify;">Beyond Relational has come up with a very interesting concept &#8211; they have converted a few of the questions from my book into<strong> </strong>the<strong> </strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/default.aspx" target="_blank"><strong>SQL Quiz</strong></a>. The quiz is indeed focused on my two goals. In addition, it’s going to put the learning of the book to a higher stage. Looking at this novel concept, <a href="http://blogs.extremeexperts.com/" target="_blank"><strong>Vinod Kumar</strong></a> (Co-author) and I have decided to help every participant and reader by giving a few hints and suggestions to solve the quiz.</p>
<h3 style="text-align:justify;">SQL Quiz</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/num/16.jpg" alt="" /></p>
<p style="text-align:justify;">Recently, a DBA said that the Log files were growing bigger than the data file size. During the discussion, he mentioned using CHECKPOINT to solve this problem. In relation to this, what does CHECKPOINT do inside SQL Server? Is the behavior change based on Database recovery models?</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/203/recently-got-a-dba-who-said-the-log-files-was-growing-bigger-than-the-data-file-size.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<h3 style="text-align:justify;">Notes of Vinod Kumar</h3>
<p style="text-align:justify;">Database CHECKPOINTS are interesting. <a href="http://msdn.microsoft.com/en-us/library/ms189573%28v=SQL.110%29.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Read more</a> about them. And, as you read more and more, you will surely stumble upon these related questions: What are the correlations of RECOVERY models and their effect? Do dirty records also force flushed to data file during CHECKPOINT? As a DBA, go ahead and play around with this; you’ll find out this is an interesting exercise, trust me.</p>
<h3 style="text-align:justify;">Notes of Pinal Dave</h3>
<p style="text-align:justify;">CHECKPOINT is very exciting concept. I have seen how this function is used, and mis-used. The only advice I have for everyone who is not familiar with this command is that NEVER experiment with it on your production server. In one of the recent technical presentations, I noticed that a few attendees were using CHECKPOINT incorrectly. When I asked a few follow up questions, I learned that their understanding of the dirty records was incorrect. All the advanced concepts require a solid understanding of the basic concepts. Without the basic understanding one person can never master the subject.</p>
<h3 style="text-align:justify;">Additional Notes</h3>
<p style="text-align:justify;">SQL Server Interview Questions and Answers ISBN: 1466405643 Page#137<br />
<a href="http://blog.sqlauthority.com/2011/12/27/sql-server-target-recovery-time-of-a-database-advance-option-in-sql-server-2012/" target="_blank">Target Recovery Time of a Database – Advance Option in SQL Server 2012</a></p>
<h3 style="text-align:justify;">Prize</h3>
<p style="text-align:justify;">There are exciting prizes awaiting the winners. Click here for <a href="http://beyondrelational.com/quiz/sqlserver/general/2012/prizes.aspx" target="_blank">Prizes</a> and <a href="http://beyondrelational.com/quiz/faq.aspx" target="_blank">Frequently Asked Questions</a>.</p>
<p style="text-align:justify;"><strong><a href="http://beyondrelational.com/quiz/sqlserver/general/2012/questions/203/recently-got-a-dba-who-said-the-log-files-was-growing-bigger-than-the-data-file-size.aspx" target="_blank">Link to participate in SQL Quiz</a></strong></p>
<p style="text-align:justify;">Note: SQL Quiz, winners and prizes are administrated by Beyond Relational. The goal of this blog post is to provide additional learning pointers only.</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/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/sql-interview-questions-and-answers/'>SQL Interview Questions and Answers</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</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/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16588/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16588/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16588/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16588/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16588/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16588/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16588/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16588/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16588&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/17/sql-server-checkpoint-behavior-and-database-recovery-models-quiz-puzzle-16-of-31/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/num/16.jpg" medium="image" />
	</item>
	</channel>
</rss>
