<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments on: SQL SERVER &#8211; Interview Questions and Answers &#8211; Frequently Asked Questions &#8211; Day 5 of 31</title>
	<atom:link href="http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Sourish Biswas</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-250430</link>
		<dc:creator><![CDATA[Sourish Biswas]]></dc:creator>
		<pubDate>Thu, 09 Feb 2012 12:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-250430</guid>
		<description><![CDATA[I have seen that DISTINCT affect the performance of any SQL query.
Is there any alternative of DISTINCT which will not affect the performance]]></description>
		<content:encoded><![CDATA[<p>I have seen that DISTINCT affect the performance of any SQL query.<br />
Is there any alternative of DISTINCT which will not affect the performance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sourish Biswas</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-250429</link>
		<dc:creator><![CDATA[Sourish Biswas]]></dc:creator>
		<pubDate>Thu, 09 Feb 2012 12:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-250429</guid>
		<description><![CDATA[1.How can I set the Isolation level as &#039;READ UNCOMMITED&#039;?
2.What are the other Isolation levels?
3.Can you provide Syntax or example of it.

4.Also is there anything called Phantom Read. If Yes please explain]]></description>
		<content:encoded><![CDATA[<p>1.How can I set the Isolation level as &#8216;READ UNCOMMITED&#8217;?<br />
2.What are the other Isolation levels?<br />
3.Can you provide Syntax or example of it.</p>
<p>4.Also is there anything called Phantom Read. If Yes please explain</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JeansYang</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-161189</link>
		<dc:creator><![CDATA[JeansYang]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 01:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-161189</guid>
		<description><![CDATA[Hi pinaldave, I found the Order of the Logical Query Processing Phases in Microsoft.Press.Inside.Microsoft.SQL.Server.2005.T-SQL.Querying.Apr.2006 : (edited special quotes from the book name)

(8)  SELECT (9) DISTINCT (11)  
(1)  FROM 
(3)     JOIN 
(2)      ON 
(4)  WHERE 
(5)  GROUP BY 
(6)  WITH {CUBE &#124; ROLLUP}
(7)  HAVING 
(10) ORDER BY 

 the order of TOP and ORDER BY  is different from what you listed.]]></description>
		<content:encoded><![CDATA[<p>Hi pinaldave, I found the Order of the Logical Query Processing Phases in Microsoft.Press.Inside.Microsoft.SQL.Server.2005.T-SQL.Querying.Apr.2006 : (edited special quotes from the book name)</p>
<p>(8)  SELECT (9) DISTINCT (11)<br />
(1)  FROM<br />
(3)     JOIN<br />
(2)      ON<br />
(4)  WHERE<br />
(5)  GROUP BY<br />
(6)  WITH {CUBE | ROLLUP}<br />
(7)  HAVING<br />
(10) ORDER BY </p>
<p> the order of TOP and ORDER BY  is different from what you listed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jj</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-153183</link>
		<dc:creator><![CDATA[jj]]></dc:creator>
		<pubDate>Wed, 03 Aug 2011 14:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-153183</guid>
		<description><![CDATA[When you start with a  begin tran and then you run an insert/delete/update, before you run commit tran to complete your insert/delete/update transaction, go to another query analyzer window, do a select statement with nolock hint, you can view that uncommitted data, that is a dirty read also, correct?]]></description>
		<content:encoded><![CDATA[<p>When you start with a  begin tran and then you run an insert/delete/update, before you run commit tran to complete your insert/delete/update transaction, go to another query analyzer window, do a select statement with nolock hint, you can view that uncommitted data, that is a dirty read also, correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-148240</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 11:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-148240</guid>
		<description><![CDATA[In Access, cant you make use of connection string to connect to SQL Server?]]></description>
		<content:encoded><![CDATA[<p>In Access, cant you make use of connection string to connect to SQL Server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rams</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-148018</link>
		<dc:creator><![CDATA[Rams]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 15:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-148018</guid>
		<description><![CDATA[How do we make a connection between Access forms and SQL Server. I know, we can not through link tables. Is there any better way than this.?]]></description>
		<content:encoded><![CDATA[<p>How do we make a connection between Access forms and SQL Server. I know, we can not through link tables. Is there any better way than this.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rams</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-148013</link>
		<dc:creator><![CDATA[rams]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 15:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-148013</guid>
		<description><![CDATA[yes, dirty read is only happens when Isolation level set to &quot;READ UNCOMITTED&quot; 

Thanks,
Ramesh]]></description>
		<content:encoded><![CDATA[<p>yes, dirty read is only happens when Isolation level set to &#8220;READ UNCOMITTED&#8221; </p>
<p>Thanks,<br />
Ramesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146122</link>
		<dc:creator><![CDATA[Rahul]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 12:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146122</guid>
		<description><![CDATA[Dirty read is only possible in &quot;READ UNCOMMITTED&quot; isolation level. Please confirm . This question always raise when interviewer is asking about read Phenomena as this happens to me all the time :-) .]]></description>
		<content:encoded><![CDATA[<p>Dirty read is only possible in &#8220;READ UNCOMMITTED&#8221; isolation level. Please confirm . This question always raise when interviewer is asking about read Phenomena as this happens to me all the time :-) .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritesh</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146078</link>
		<dc:creator><![CDATA[Ritesh]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 07:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146078</guid>
		<description><![CDATA[Why did U miss the Day 4??]]></description>
		<content:encoded><![CDATA[<p>Why did U miss the Day 4??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NOWISE</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146075</link>
		<dc:creator><![CDATA[NOWISE]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 06:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146075</guid>
		<description><![CDATA[TOUGH TIME !!! 

ISN&#039;T IT PINAL ??]]></description>
		<content:encoded><![CDATA[<p>TOUGH TIME !!! </p>
<p>ISN&#8217;T IT PINAL ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Complete Downloadable List – Day 0 of 31 Journey to SQLAuthority</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146058</link>
		<dc:creator><![CDATA[SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Complete Downloadable List – Day 0 of 31 Journey to SQLAuthority]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 04:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146058</guid>
		<description><![CDATA[[...] SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 5 of 31 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 5 of 31 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146042</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 03:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146042</guid>
		<description><![CDATA[Hi David,

You are correct. I have fixed the issue. The original answer was much longer when edited this was left which was incorrect and confusing. Now fixed.

Thanks again,]]></description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>You are correct. I have fixed the issue. The original answer was much longer when edited this was left which was incorrect and confusing. Now fixed.</p>
<p>Thanks again,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146040</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 03:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146040</guid>
		<description><![CDATA[I agree with your point Aaron. Very well said. Your comment completes the question. I am updating the question to read your comment.]]></description>
		<content:encoded><![CDATA[<p>I agree with your point Aaron. Very well said. Your comment completes the question. I am updating the question to read your comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Bertrand</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-146004</link>
		<dc:creator><![CDATA[Aaron Bertrand]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 01:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-146004</guid>
		<description><![CDATA[I&#039;m only going to touch the IDENTITY section - didn&#039;t read much further than that. 

&quot;AutoNumber&quot; is an Access term - be careful suggesting it to potential interviewees for a SQL Server position, especially if Access isn&#039;t on their resume.

I&#039;m not sure how a GUID column generates numbers. I think you meant to specify the UNIQUEIDENTIFIER data type, and specifically one with a default value of NEWID() or NEWSEQUENTIALID(). This is certainly not a number:

639A167C-13F7-46FD-9C99-74DAEB22D12D

You say that the value of an identity cannot be controlled, but I think you need to be more specific. I can reset an identity seed manually via TRUNCATE TABLE or DBCC CHECKIDENT - I can also skip as many rows as I want by issuing inserts and then rolling back. I think what you want to stress here is that you shouldn&#039;t rely on it to produce a continuous sequence of numbers with no gaps.

Finally, you say that identity/GUID columns do not need to be indexed. Like a few of the other comments I think you need to be more specific here; the way I read that statement, it sounds like you are implying they shouldn&#039;t be indexed. Maybe what you meant was that they don&#039;t necessarily need to be indexed, or they don&#039;t necessarily need to participate in the primary key?

If interviewees believe and repeat these things, they will get nowhere.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m only going to touch the IDENTITY section &#8211; didn&#8217;t read much further than that. </p>
<p>&#8220;AutoNumber&#8221; is an Access term &#8211; be careful suggesting it to potential interviewees for a SQL Server position, especially if Access isn&#8217;t on their resume.</p>
<p>I&#8217;m not sure how a GUID column generates numbers. I think you meant to specify the UNIQUEIDENTIFIER data type, and specifically one with a default value of NEWID() or NEWSEQUENTIALID(). This is certainly not a number:</p>
<p>639A167C-13F7-46FD-9C99-74DAEB22D12D</p>
<p>You say that the value of an identity cannot be controlled, but I think you need to be more specific. I can reset an identity seed manually via TRUNCATE TABLE or DBCC CHECKIDENT &#8211; I can also skip as many rows as I want by issuing inserts and then rolling back. I think what you want to stress here is that you shouldn&#8217;t rely on it to produce a continuous sequence of numbers with no gaps.</p>
<p>Finally, you say that identity/GUID columns do not need to be indexed. Like a few of the other comments I think you need to be more specific here; the way I read that statement, it sounds like you are implying they shouldn&#8217;t be indexed. Maybe what you meant was that they don&#8217;t necessarily need to be indexed, or they don&#8217;t necessarily need to participate in the primary key?</p>
<p>If interviewees believe and repeat these things, they will get nowhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Ames</title>
		<link>http://blog.sqlauthority.com/2011/07/05/sql-server-interview-questions-and-answers-frequently-asked-questions-day-5-of-31/#comment-145999</link>
		<dc:creator><![CDATA[David Ames]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 01:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13298#comment-145999</guid>
		<description><![CDATA[Pinal,

What do you mean by &quot; Identity/GUID columns do not need to be indexed.&quot;?

I&#039;d have thought that 99% of the time, identity/guids form the basis of the primary/foreign key relationships and therefore should be indexed.]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>What do you mean by &#8221; Identity/GUID columns do not need to be indexed.&#8221;?</p>
<p>I&#8217;d have thought that 99% of the time, identity/guids form the basis of the primary/foreign key relationships and therefore should be indexed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
