<?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 &amp; Answers Needs Your Help</title>
	<atom:link href="http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Antara</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-121504</link>
		<dc:creator><![CDATA[Antara]]></dc:creator>
		<pubDate>Wed, 02 Mar 2011 07:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-121504</guid>
		<description><![CDATA[Hi Pinal,

I am facing a peculiar issue. Need your help urgently.

This is a unique scenario where a particular code works on one system and fails to behave the same way on another.

we implemented a DPV(Distributed partitioned View on SQL Server 2008 R2)

DPV is as follows:

CREATE VIEW [dbo].[V_TEST_FACT_TXN_STORE_SKU_DAY_NEW]
AS
SELECT *
FROM dbo.TEST_FACT_TXN_STORE_SKU_DAY
UNION ALL
SELECT *
FROM [INFO-DESK107].[adventureworkstargetdw].DBO.TEST_FACT_TXN_STORE_SKU_DAY_HT

The member tables (Both local and remote) have constraints on them as follows:
ALTER TABLE [dbo].[TEST_FACT_TXN_STORE_SKU_DAY_HT] 
ADD CONSTRAINT CK_TRANS_DATE_HT
CHECK (TRANS_DATE = &#039;2007-12-30 00:00:00.000&#039;)

The 2 servers involved are Linked 

Now when we query the View with a condition on the partition column then the query optimizer 
checks the constraints of the member tables in the View and hits only that specific partition.

Eg:

1. select TRANS_DATE
from V_TEST_FACT_TXN_STORE_SKU_DAY
where
TRANS_DATE  &#039;2010-01-01 00:00:00.000&#039;

3. select TRANS_DATE
from V_TEST_FACT_TXN_STORE_SKU_DAY

Now the query 1 hits only remote partition, 2 hits local partition and 3 hits both partition.
This sounds all perfect

But the problem lies here 
On another identical system query 2 fails to hit only the local partition and hits all the partitions which is unexpected.

Both systems use same DDLs.
Linked server properties like Lazy schema validation have been checked to reproduc the same issue but its of no use.

Anyone faced similar issues before??
or is there any database, server or Linked server property which needs to be taken care of ..please let me know.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I am facing a peculiar issue. Need your help urgently.</p>
<p>This is a unique scenario where a particular code works on one system and fails to behave the same way on another.</p>
<p>we implemented a DPV(Distributed partitioned View on SQL Server 2008 R2)</p>
<p>DPV is as follows:</p>
<p>CREATE VIEW [dbo].[V_TEST_FACT_TXN_STORE_SKU_DAY_NEW]<br />
AS<br />
SELECT *<br />
FROM dbo.TEST_FACT_TXN_STORE_SKU_DAY<br />
UNION ALL<br />
SELECT *<br />
FROM [INFO-DESK107].[adventureworkstargetdw].DBO.TEST_FACT_TXN_STORE_SKU_DAY_HT</p>
<p>The member tables (Both local and remote) have constraints on them as follows:<br />
ALTER TABLE [dbo].[TEST_FACT_TXN_STORE_SKU_DAY_HT]<br />
ADD CONSTRAINT CK_TRANS_DATE_HT<br />
CHECK (TRANS_DATE = &#8217;2007-12-30 00:00:00.000&#8242;)</p>
<p>The 2 servers involved are Linked </p>
<p>Now when we query the View with a condition on the partition column then the query optimizer<br />
checks the constraints of the member tables in the View and hits only that specific partition.</p>
<p>Eg:</p>
<p>1. select TRANS_DATE<br />
from V_TEST_FACT_TXN_STORE_SKU_DAY<br />
where<br />
TRANS_DATE  &#8217;2010-01-01 00:00:00.000&#8242;</p>
<p>3. select TRANS_DATE<br />
from V_TEST_FACT_TXN_STORE_SKU_DAY</p>
<p>Now the query 1 hits only remote partition, 2 hits local partition and 3 hits both partition.<br />
This sounds all perfect</p>
<p>But the problem lies here<br />
On another identical system query 2 fails to hit only the local partition and hits all the partitions which is unexpected.</p>
<p>Both systems use same DDLs.<br />
Linked server properties like Lazy schema validation have been checked to reproduc the same issue but its of no use.</p>
<p>Anyone faced similar issues before??<br />
or is there any database, server or Linked server property which needs to be taken care of ..please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASHISH</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63495</link>
		<dc:creator><![CDATA[ASHISH]]></dc:creator>
		<pubDate>Mon, 22 Mar 2010 22:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63495</guid>
		<description><![CDATA[question to check either you aware of frepoolchache dbcc command.....]]></description>
		<content:encoded><![CDATA[<p>question to check either you aware of frepoolchache dbcc command&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63422</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Mon, 22 Mar 2010 04:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63422</guid>
		<description><![CDATA[May be they want to create two positions. 

Current situation:
Everything is Working fine.

Job Position 1:
Which can decrease performance and increase response time

Job Position 2:
To Perform Real DBA stuff... 

~ Just for Fun.]]></description>
		<content:encoded><![CDATA[<p>May be they want to create two positions. </p>
<p>Current situation:<br />
Everything is Working fine.</p>
<p>Job Position 1:<br />
Which can decrease performance and increase response time</p>
<p>Job Position 2:<br />
To Perform Real DBA stuff&#8230; </p>
<p>~ Just for Fun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijaya Kadiyala</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63391</link>
		<dc:creator><![CDATA[Vijaya Kadiyala]]></dc:creator>
		<pubDate>Sun, 21 Mar 2010 10:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63391</guid>
		<description><![CDATA[Hi Ashish

May be you want to re-visit your second question. :) 

If the query is taking 2 secs why would you want to make it wrost :)) LOL.]]></description>
		<content:encoded><![CDATA[<p>Hi Ashish</p>
<p>May be you want to re-visit your second question. :) </p>
<p>If the query is taking 2 secs why would you want to make it wrost :)) LOL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Mathur</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63355</link>
		<dc:creator><![CDATA[Amit Mathur]]></dc:creator>
		<pubDate>Sat, 20 Mar 2010 02:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63355</guid>
		<description><![CDATA[Hi Pinal Sir,

This is actually a great book.
What I think is that these interview questions start from basics and then lead the readers directly on to the SQL 2008 Interview Questions. But in interview candidates are being asked for SQL 2005 questions also. Therefore I feel that if this book contains interview questions related to 2005 also in that case this book will become useful for everyone.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal Sir,</p>
<p>This is actually a great book.<br />
What I think is that these interview questions start from basics and then lead the readers directly on to the SQL 2008 Interview Questions. But in interview candidates are being asked for SQL 2005 questions also. Therefore I feel that if this book contains interview questions related to 2005 also in that case this book will become useful for everyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASHISH</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63345</link>
		<dc:creator><![CDATA[ASHISH]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 22:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63345</guid>
		<description><![CDATA[1) How you will configure your server if you have given chance as administrator to put them in production?

2) Query taking 10 sec previously but now taking 2 sec. I want it back to 10 sec. how to achive?

3) How to open dts(created in sql 2000) in 2008?

few more to add but most of them are in or near to which already listed]]></description>
		<content:encoded><![CDATA[<p>1) How you will configure your server if you have given chance as administrator to put them in production?</p>
<p>2) Query taking 10 sec previously but now taking 2 sec. I want it back to 10 sec. how to achive?</p>
<p>3) How to open dts(created in sql 2000) in 2008?</p>
<p>few more to add but most of them are in or near to which already listed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramdas</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63313</link>
		<dc:creator><![CDATA[Ramdas]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 13:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63313</guid>
		<description><![CDATA[Hi Pinal,
I have some questions in the SSIS area:
1. What type of configurations do you use in the SSIS package (Answer: XML based Config,SQL Server Config these are the tow most used).
2. What are the pros and cons of using one of the above methods.
3. When would you use Lookup task in Data Flow in SSIS (Any downside to using this task?) - When using large tables using lookup task can be an issue. If the person has really used it one should know the pros and cons.

Hope this helps...]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I have some questions in the SSIS area:<br />
1. What type of configurations do you use in the SSIS package (Answer: XML based Config,SQL Server Config these are the tow most used).<br />
2. What are the pros and cons of using one of the above methods.<br />
3. When would you use Lookup task in Data Flow in SSIS (Any downside to using this task?) &#8211; When using large tables using lookup task can be an issue. If the person has really used it one should know the pros and cons.</p>
<p>Hope this helps&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63244</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 07:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63244</guid>
		<description><![CDATA[Hi Mark,

Jonathan is my very good friend and very respected person in community. I think your comments are not against him, it is your story. 

Those who are interested in can read his co-authored book here: http://blog.sqlauthority.com/2010/03/10/sqlauthority-book-review-professional-sql-server-2008-internals-and-troubleshooting/

Thanks for comments.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>Jonathan is my very good friend and very respected person in community. I think your comments are not against him, it is your story. </p>
<p>Those who are interested in can read his co-authored book here: <a href="http://blog.sqlauthority.com/2010/03/10/sqlauthority-book-review-professional-sql-server-2008-internals-and-troubleshooting/" rel="nofollow">http://blog.sqlauthority.com/2010/03/10/sqlauthority-book-review-professional-sql-server-2008-internals-and-troubleshooting/</a></p>
<p>Thanks for comments.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark SQL</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63243</link>
		<dc:creator><![CDATA[Mark SQL]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 07:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63243</guid>
		<description><![CDATA[Hi Jonathan,

Please take my comment as other side and as healthy comment. I see your point here, it is I am using it for my purpose.

Mark]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Please take my comment as other side and as healthy comment. I see your point here, it is I am using it for my purpose.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudeepta</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63242</link>
		<dc:creator><![CDATA[Sudeepta]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 07:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63242</guid>
		<description><![CDATA[Hello Pinal,

Your question sets are really helpful. I have gone through question sets for SQL Server 2005 and learn some new things which I was not aware of earlier. Thank you for that.

My question is, how should a person will start learning about performance tunning? Because the info present in a study guide or post doesn&#039;t show up what exactly to be done. As i understand, this depends on a particular situation, is there any docs available through which a person can learn some more depth of the same.

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal,</p>
<p>Your question sets are really helpful. I have gone through question sets for SQL Server 2005 and learn some new things which I was not aware of earlier. Thank you for that.</p>
<p>My question is, how should a person will start learning about performance tunning? Because the info present in a study guide or post doesn&#8217;t show up what exactly to be done. As i understand, this depends on a particular situation, is there any docs available through which a person can learn some more depth of the same.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark SQL</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63241</link>
		<dc:creator><![CDATA[Mark SQL]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 07:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63241</guid>
		<description><![CDATA[Hi Jonathan,

Good point but there are plenty of interview Q and A online, what is really interesting is that Pinal&#039;s Q and A are much standard them all of them and we are confident about his content.

I as interviewer use his Q and A to initially filter out bad candidates. If they do not know this Q and A, I will not spend my time with them any more. 

Mark]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>Good point but there are plenty of interview Q and A online, what is really interesting is that Pinal&#8217;s Q and A are much standard them all of them and we are confident about his content.</p>
<p>I as interviewer use his Q and A to initially filter out bad candidates. If they do not know this Q and A, I will not spend my time with them any more. </p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63225</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 04:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63225</guid>
		<description><![CDATA[Hi Jonathan,

This is excellent response, in fact I have been discussing it with few people here. 

Yeah I totally agree with you. If you have crossed SQL 101 there is no need to refer this questions at all. However, people any way search for them before going to interview and it is my attempt to them to find easy to single place, this way they can atleast read something and go to interview and instead of not read it and go.

When I wrote it I was new to this field, now I am seeking help of community to add more value and more details to this questions. This way, they have more knowledge when they appear for interview. Expert like you will right away figure out if candidate has enough knowledge or have memorized Q and A.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>This is excellent response, in fact I have been discussing it with few people here. </p>
<p>Yeah I totally agree with you. If you have crossed SQL 101 there is no need to refer this questions at all. However, people any way search for them before going to interview and it is my attempt to them to find easy to single place, this way they can atleast read something and go to interview and instead of not read it and go.</p>
<p>When I wrote it I was new to this field, now I am seeking help of community to add more value and more details to this questions. This way, they have more knowledge when they appear for interview. Expert like you will right away figure out if candidate has enough knowledge or have memorized Q and A.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Kehayias</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63219</link>
		<dc:creator><![CDATA[Jonathan Kehayias]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 01:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63219</guid>
		<description><![CDATA[Pinal,

While posting potential Interview questions and answers may help some people, it really makes my job as a interviewer that much harder because I have to then determine if someone really knows their stuff, or they just memorized the questions and answers from a list.  I have started using lists such as these to know what questions to avoid in interviews, or to tailor my follow up questions to ensure that a person actually knows what they are talking about and not regurgitating responses they studied online.]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>While posting potential Interview questions and answers may help some people, it really makes my job as a interviewer that much harder because I have to then determine if someone really knows their stuff, or they just memorized the questions and answers from a list.  I have started using lists such as these to know what questions to avoid in interviews, or to tailor my follow up questions to ensure that a person actually knows what they are talking about and not regurgitating responses they studied online.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshan</title>
		<link>http://blog.sqlauthority.com/2010/03/19/sql-server-interview-questions-answers-needs-your-help/#comment-63238</link>
		<dc:creator><![CDATA[Roshan]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 01:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=8242#comment-63238</guid>
		<description><![CDATA[Hi Pinal,

Absolutely, This is fantastic efforts and we are big fans of your interview questions and answers. 

Is there any way you can help us with other technology.

Roshan]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Absolutely, This is fantastic efforts and we are big fans of your interview questions and answers. </p>
<p>Is there any way you can help us with other technology.</p>
<p>Roshan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

