<?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 Interview Questions and Answers &#8211; Part 4</title>
	<atom:link href="http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SQL SERVER - Database Interview Questions and Answers Complete List Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-47258</link>
		<dc:creator>SQL SERVER - Database Interview Questions and Answers Complete List Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-47258</guid>
		<description>[...] Server Interview Questions and Answers - Part 2 SQL Server Interview Questions and Answers - Part 3 SQL Server Interview Questions and Answers - Part 4 SQL Server Interview Questions and Answers - Part 5 SQL Server Interview Questions and Answers - [...]</description>
		<content:encoded><![CDATA[<p>[...] Server Interview Questions and Answers &#8211; Part 2 SQL Server Interview Questions and Answers &#8211; Part 3 SQL Server Interview Questions and Answers &#8211; Part 4 SQL Server Interview Questions and Answers &#8211; Part 5 SQL Server Interview Questions and Answers &#8211; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-43032</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Sat, 20 Sep 2008 06:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-43032</guid>
		<description>&lt;strong&gt;UPDATE &lt;/strong&gt;: Interview Questions and Answers are now updated with SQL Server 2008 Questions and its answers. &lt;strong&gt;New Location : &lt;a href=&quot;http://blog.sqlauthority.com/2008/09/20/sql-server-2008-interview-questions-and-answers-complete-list-download/&quot; rel=&quot;nofollow&quot;&gt;SQL Server 2008 Interview Questions and Answers.&lt;/a&gt;&lt;/strong&gt;

Please continue with your questions and answers at new location.</description>
		<content:encoded><![CDATA[<p><strong>UPDATE </strong>: Interview Questions and Answers are now updated with SQL Server 2008 Questions and its answers. <strong>New Location : <a href="http://blog.sqlauthority.com/2008/09/20/sql-server-2008-interview-questions-and-answers-complete-list-download/" rel="nofollow">SQL Server 2008 Interview Questions and Answers.</a></strong></p>
<p>Please continue with your questions and answers at new location.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pratap</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-40224</link>
		<dc:creator>Pratap</dc:creator>
		<pubDate>Mon, 14 Jul 2008 20:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-40224</guid>
		<description>I read all the question-answers. It was great to have this kind of knowledge. However, I got confused with the following question-answer.

I do not know whether you made a typo in the question. Even if you made a typo, I am not satisfied with the answer of the question about the temp tables. Please let all know about the real answer.

Thanks.

Pratap.


What is the difference between a local and a global variable?
A local temporary table exists only for the duration of a connection or, if defined inside a compound statement, for the duration of the compound statement.

A global temporary table remains in the database permanently, but the rows exist only within a given connection. When connection are closed, the data in the global temporary table disappears. However, the table definition remains with the database for access when database is opened next time.</description>
		<content:encoded><![CDATA[<p>I read all the question-answers. It was great to have this kind of knowledge. However, I got confused with the following question-answer.</p>
<p>I do not know whether you made a typo in the question. Even if you made a typo, I am not satisfied with the answer of the question about the temp tables. Please let all know about the real answer.</p>
<p>Thanks.</p>
<p>Pratap.</p>
<p>What is the difference between a local and a global variable?<br />
A local temporary table exists only for the duration of a connection or, if defined inside a compound statement, for the duration of the compound statement.</p>
<p>A global temporary table remains in the database permanently, but the rows exist only within a given connection. When connection are closed, the data in the global temporary table disappears. However, the table definition remains with the database for access when database is opened next time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mani</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-39911</link>
		<dc:creator>mani</dc:creator>
		<pubDate>Tue, 08 Jul 2008 14:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-39911</guid>
		<description>I need to know whether we can  create single user for two different database in sql 2005</description>
		<content:encoded><![CDATA[<p>I need to know whether we can  create single user for two different database in sql 2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharad Agarwal</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-35495</link>
		<dc:creator>Sharad Agarwal</dc:creator>
		<pubDate>Thu, 24 Apr 2008 12:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-35495</guid>
		<description>HII Mr. Dave,

Sir i have a question which was asked to me in an interview.
plz telll me the solution :

if i fire a set of queries or a single query in database, and after that want to know the status of database means, how much rows are affected.how much aredeleted how much are updated and how much are untouched.and how much are inserted.

I think thr is a property in sqlserver by which we can know that staus of database.

Sir Plz help me.

Thank you

Sharad Agarwal</description>
		<content:encoded><![CDATA[<p>HII Mr. Dave,</p>
<p>Sir i have a question which was asked to me in an interview.<br />
plz telll me the solution :</p>
<p>if i fire a set of queries or a single query in database, and after that want to know the status of database means, how much rows are affected.how much aredeleted how much are updated and how much are untouched.and how much are inserted.</p>
<p>I think thr is a property in sqlserver by which we can know that staus of database.</p>
<p>Sir Plz help me.</p>
<p>Thank you</p>
<p>Sharad Agarwal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ignatius</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-35234</link>
		<dc:creator>Ignatius</dc:creator>
		<pubDate>Mon, 21 Apr 2008 09:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-35234</guid>
		<description>hi Pin,
Very good work ! I wish you to do more!
may GOD bless you

by
IGNATIUS</description>
		<content:encoded><![CDATA[<p>hi Pin,<br />
Very good work ! I wish you to do more!<br />
may GOD bless you</p>
<p>by<br />
IGNATIUS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-33134</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Sat, 19 Jan 2008 23:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-33134</guid>
		<description>Hello Pinal.
I have SQL server 2000 with SQL Authentication. Can I test user&#039;s login and IP when he is connecting to the server. Our network doesn&#039;t use Domain. Maybe you know some intresting links where I&#039;ll find the answer.
All what I want is just - &quot;User can logging only from his computer&quot;.

Thanks</description>
		<content:encoded><![CDATA[<p>Hello Pinal.<br />
I have SQL server 2000 with SQL Authentication. Can I test user&#8217;s login and IP when he is connecting to the server. Our network doesn&#8217;t use Domain. Maybe you know some intresting links where I&#8217;ll find the answer.<br />
All what I want is just &#8211; &#8220;User can logging only from his computer&#8221;.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-14824</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Fri, 05 Oct 2007 10:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-14824</guid>
		<description>Excellent Answers 


 Thanx
 Rahul</description>
		<content:encoded><![CDATA[<p>Excellent Answers </p>
<p> Thanx<br />
 Rahul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surj</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-11119</link>
		<dc:creator>Surj</dc:creator>
		<pubDate>Tue, 04 Sep 2007 13:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-11119</guid>
		<description>Hi Pinal,
I am tryng to write a trigger in SQL server 2000 to capture the NT usernames updating a databasev table .Can you please let me know how can I do that ?
Thanks 
Surj</description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I am tryng to write a trigger in SQL server 2000 to capture the NT usernames updating a databasev table .Can you please let me know how can I do that ?<br />
Thanks<br />
Surj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saeed Tabrizi</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-8368</link>
		<dc:creator>Saeed Tabrizi</dc:creator>
		<pubDate>Sun, 19 Aug 2007 15:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-8368</guid>
		<description>Hi Dear 
Im using sql server 2005 in my network  .
But I have a problem with it  .
Sql server 2005 is too slow on windows authentication mode .
For Example , my administrator account connect to server by 15 second&#039;s delay . 
Did You know any thing about this problem ?
I tried by mix mode( sql authentication ), all things is Ok .
Thanks .</description>
		<content:encoded><![CDATA[<p>Hi Dear<br />
Im using sql server 2005 in my network  .<br />
But I have a problem with it  .<br />
Sql server 2005 is too slow on windows authentication mode .<br />
For Example , my administrator account connect to server by 15 second&#8217;s delay .<br />
Did You know any thing about this problem ?<br />
I tried by mix mode( sql authentication ), all things is Ok .<br />
Thanks .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Priyanka</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-6573</link>
		<dc:creator>Priyanka</dc:creator>
		<pubDate>Fri, 03 Aug 2007 07:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-6573</guid>
		<description>Excellent interview questions.</description>
		<content:encoded><![CDATA[<p>Excellent interview questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mallika</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-5595</link>
		<dc:creator>Mallika</dc:creator>
		<pubDate>Fri, 20 Jul 2007 09:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-5595</guid>
		<description>excellent reply</description>
		<content:encoded><![CDATA[<p>excellent reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-4587</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Wed, 11 Jul 2007 04:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-4587</guid>
		<description>Vikram,

I always used log to restore database in point of time, I never tried to print them. You may search for third party tool to do that.

Regards,
Pinal Dave (http://www.SQLAuthority.com)</description>
		<content:encoded><![CDATA[<p>Vikram,</p>
<p>I always used log to restore database in point of time, I never tried to print them. You may search for third party tool to do that.</p>
<p>Regards,<br />
Pinal Dave (<a href="http://www.SQLAuthority.com" rel="nofollow">http://www.SQLAuthority.com</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikram P</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-4560</link>
		<dc:creator>Vikram P</dc:creator>
		<pubDate>Tue, 10 Jul 2007 19:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-4560</guid>
		<description>Hi Pinal ,
We are trying to print some logs from an MS SQL function. 
Since it trows error for print, tried inserting to a table declared within the function. I think the scope of the table that is used to create logs ends when the functions stops. 

Would you have any idea what we could do to print the logs?</description>
		<content:encoded><![CDATA[<p>Hi Pinal ,<br />
We are trying to print some logs from an MS SQL function.<br />
Since it trows error for print, tried inserting to a table declared within the function. I think the scope of the table that is used to create logs ends when the functions stops. </p>
<p>Would you have any idea what we could do to print the logs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-703</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Wed, 18 Apr 2007 15:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-703</guid>
		<description>srisailam,
A query execution plan outlines how the SQL Server query optimizer actually ran  a specific query. This information if very valuable when it comes time to find out why a specific query is running slow.
Thank you,
Pinal Dave
(http://www.SQLAuthority.com)</description>
		<content:encoded><![CDATA[<p>srisailam,<br />
A query execution plan outlines how the SQL Server query optimizer actually ran  a specific query. This information if very valuable when it comes time to find out why a specific query is running slow.<br />
Thank you,<br />
Pinal Dave<br />
(<a href="http://www.SQLAuthority.com" rel="nofollow">http://www.SQLAuthority.com</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srisailam</title>
		<link>http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-701</link>
		<dc:creator>srisailam</dc:creator>
		<pubDate>Wed, 18 Apr 2007 15:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/18/sql-server-interview-questions-part-4/#comment-701</guid>
		<description>what is query execution plan</description>
		<content:encoded><![CDATA[<p>what is query execution plan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
