<?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 6 of 31</title>
	<atom:link href="http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/</link>
	<description>SQL, SQL Server, MySQL, Big Data and NoSQL</description>
	<lastBuildDate>Thu, 20 Jun 2013 09:56:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Sadia Aziz</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-432675</link>
		<dc:creator><![CDATA[Sadia Aziz]]></dc:creator>
		<pubDate>Wed, 06 Mar 2013 07:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-432675</guid>
		<description><![CDATA[right madhivanan]]></description>
		<content:encoded><![CDATA[<p>right madhivanan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: surya</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-423262</link>
		<dc:creator><![CDATA[surya]]></dc:creator>
		<pubDate>Mon, 18 Feb 2013 09:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-423262</guid>
		<description><![CDATA[Hi Pinal ,
It is very help full for freshers who are visiting this sites you provide a very basic concepts of sql it would be great help from you if you suggest any practical queries]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal ,<br />
It is very help full for freshers who are visiting this sites you provide a very basic concepts of sql it would be great help from you if you suggest any practical queries</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhas</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-356053</link>
		<dc:creator><![CDATA[Abhas]]></dc:creator>
		<pubDate>Fri, 05 Oct 2012 05:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-356053</guid>
		<description><![CDATA[Dieudonné : No sure if you got the answer to your query which is more than 1 yr old. But ideally whenever you wanna enter data with ‘ (the apostrophe) you should use double ‘ (the apostrophe). So values should be entered like l ‘‘ endroit, l ‘‘ île, l ‘‘ enjeu. 
Hope it helps ;)]]></description>
		<content:encoded><![CDATA[<p>Dieudonné : No sure if you got the answer to your query which is more than 1 yr old. But ideally whenever you wanna enter data with ‘ (the apostrophe) you should use double ‘ (the apostrophe). So values should be entered like l ‘‘ endroit, l ‘‘ île, l ‘‘ enjeu.<br />
Hope it helps ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-287617</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 23 May 2012 12:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-287617</guid>
		<description><![CDATA[refer this www.connectionstrings.com]]></description>
		<content:encoded><![CDATA[<p>refer this <a href="http://www.connectionstrings.com" rel="nofollow">http://www.connectionstrings.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MANI</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-282778</link>
		<dc:creator><![CDATA[MANI]]></dc:creator>
		<pubDate>Mon, 07 May 2012 23:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-282778</guid>
		<description><![CDATA[i am making client-server application in vb.net 2005 first time. i have 3 User-Interfaces on client side and Ms sql-server on server side. How i will connect my client side forms with sql-server 2000. What will be the connection string 
in vb.net to connect the Ms SQLserver 2000.

kindly helpe me]]></description>
		<content:encoded><![CDATA[<p>i am making client-server application in vb.net 2005 first time. i have 3 User-Interfaces on client side and Ms sql-server on server side. How i will connect my client side forms with sql-server 2000. What will be the connection string<br />
in vb.net to connect the Ms SQLserver 2000.</p>
<p>kindly helpe me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-154479</link>
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Sat, 06 Aug 2011 20:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-154479</guid>
		<description><![CDATA[Thanks. I *thought* that&#039;s what it meant; however, I was confused because earlier in the list of points it says (for TRUNCATE) &quot;The counter used by an identity for new rows is reset to the seed for the column.&quot; and (for DELETE) it says &quot;DELETE does not reset Identity property of the table.&quot; In other words, there are *two* somewhat similar &quot;identity&quot; reference points for each command.

I figured each command might do something *additional*, identity-wise, beyond the effect upon any IDENTITY columns.]]></description>
		<content:encoded><![CDATA[<p>Thanks. I *thought* that&#8217;s what it meant; however, I was confused because earlier in the list of points it says (for TRUNCATE) &#8220;The counter used by an identity for new rows is reset to the seed for the column.&#8221; and (for DELETE) it says &#8220;DELETE does not reset Identity property of the table.&#8221; In other words, there are *two* somewhat similar &#8220;identity&#8221; reference points for each command.</p>
<p>I figured each command might do something *additional*, identity-wise, beyond the effect upon any IDENTITY columns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieudonné Wadara</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-154396</link>
		<dc:creator><![CDATA[Dieudonné Wadara]]></dc:creator>
		<pubDate>Sat, 06 Aug 2011 11:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-154396</guid>
		<description><![CDATA[Hi Pinal,
Im sorry Im not talkin about TRUNCATE and DELETE statements but I know u have a quick answer for me. The issue is: &quot;Im using C# for .Net VStudio 2005 and MS SQL server2005, in the user interface in C#, Im using french to type data in a textbox of C# and then save them in the database; when I enter a text with apostrophe(like l &#039; endroit, l &#039; île, l &#039; enjeu), it refuses to save coz of the &#039; (the apostrophe). How can I capture text with apostrophe from a textbox and save them in the SQL Server database. Is the problem in C# or in SQL server ?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
Im sorry Im not talkin about TRUNCATE and DELETE statements but I know u have a quick answer for me. The issue is: &#8220;Im using C# for .Net VStudio 2005 and MS SQL server2005, in the user interface in C#, Im using french to type data in a textbox of C# and then save them in the database; when I enter a text with apostrophe(like l &#8216; endroit, l &#8216; île, l &#8216; enjeu), it refuses to save coz of the &#8216; (the apostrophe). How can I capture text with apostrophe from a textbox and save them in the SQL Server database. Is the problem in C# or in SQL server ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manub22</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-154311</link>
		<dc:creator><![CDATA[manub22]]></dc:creator>
		<pubDate>Sat, 06 Aug 2011 04:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-154311</guid>
		<description><![CDATA[This means if a table has an IDENTITY column, or a column defined as IDENTITY, like create table xyz (col_id IDENTITY(1,1) INT, col2....)

Then if you ever truncate the table the initial IDENTITY or seed value of Col_id  is reset, like here to 1.

But this does not happens with DELETE. It retains the last IDENTITY value of that column.]]></description>
		<content:encoded><![CDATA[<p>This means if a table has an IDENTITY column, or a column defined as IDENTITY, like create table xyz (col_id IDENTITY(1,1) INT, col2&#8230;.)</p>
<p>Then if you ever truncate the table the initial IDENTITY or seed value of Col_id  is reset, like here to 1.</p>
<p>But this does not happens with DELETE. It retains the last IDENTITY value of that column.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-154196</link>
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Fri, 05 Aug 2011 18:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-154196</guid>
		<description><![CDATA[Love this series!

&quot;TRUNCATE resets the identity of the table.&quot;
&quot;DELETE does not reset the identity of the table.&quot;

Can you explain this? In the context being described here, what is &quot;the identity of the table&quot; referring to?]]></description>
		<content:encoded><![CDATA[<p>Love this series!</p>
<p>&#8220;TRUNCATE resets the identity of the table.&#8221;<br />
&#8220;DELETE does not reset the identity of the table.&#8221;</p>
<p>Can you explain this? In the context being described here, what is &#8220;the identity of the table&#8221; referring to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh Erasani</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-150236</link>
		<dc:creator><![CDATA[Rajesh Erasani]]></dc:creator>
		<pubDate>Sat, 23 Jul 2011 18:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-150236</guid>
		<description><![CDATA[@SDDesh:
1) Every time we use truncate statement it locks the whole table with &quot;Schema modification (Sch-M)&quot; lock, which is not good for a time sensitive OLTP system. So we have to carefully decide which statement to use (Delete or Truncate).
2) Delete acquires an exclusive lock only on all the rows that satisfy the where condition.]]></description>
		<content:encoded><![CDATA[<p>@SDDesh:<br />
1) Every time we use truncate statement it locks the whole table with &#8220;Schema modification (Sch-M)&#8221; lock, which is not good for a time sensitive OLTP system. So we have to carefully decide which statement to use (Delete or Truncate).<br />
2) Delete acquires an exclusive lock only on all the rows that satisfy the where condition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieudonné WADARA</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-148485</link>
		<dc:creator><![CDATA[Dieudonné WADARA]]></dc:creator>
		<pubDate>Fri, 15 Jul 2011 12:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-148485</guid>
		<description><![CDATA[Great job Mr Pinal,
This is helpful for advanced and nivices users. It&#039;s a good opportunity for checkup for those who are experienced and the news users. Keep go on spread the SQL tech.]]></description>
		<content:encoded><![CDATA[<p>Great job Mr Pinal,<br />
This is helpful for advanced and nivices users. It&#8217;s a good opportunity for checkup for those who are experienced and the news users. Keep go on spread the SQL tech.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SDDesh</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-148340</link>
		<dc:creator><![CDATA[SDDesh]]></dc:creator>
		<pubDate>Thu, 14 Jul 2011 21:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-148340</guid>
		<description><![CDATA[what kind of locks do delete and truncate acquire?]]></description>
		<content:encoded><![CDATA[<p>what kind of locks do delete and truncate acquire?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manub22</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-146896</link>
		<dc:creator><![CDATA[manub22]]></dc:creator>
		<pubDate>Fri, 08 Jul 2011 13:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-146896</guid>
		<description><![CDATA[Hi Pinal,
As mentioned by you for DELETE: It can be rolled back.

It seems that TRUNCATE cannot be rolled back. But TRUNCATE just like DELETE can be rolled backed if used in transaction, otherwise not. This also stands true for DELETE.

If DELETE is not in transaction then also it cannot be rolled back.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
As mentioned by you for DELETE: It can be rolled back.</p>
<p>It seems that TRUNCATE cannot be rolled back. But TRUNCATE just like DELETE can be rolled backed if used in transaction, otherwise not. This also stands true for DELETE.</p>
<p>If DELETE is not in transaction then also it cannot be rolled back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: varun4sql</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-146557</link>
		<dc:creator><![CDATA[varun4sql]]></dc:creator>
		<pubDate>Thu, 07 Jul 2011 04:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-146557</guid>
		<description><![CDATA[Great post Pinal....]]></description>
		<content:encoded><![CDATA[<p>Great post Pinal&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iyappan Seeva</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-146418</link>
		<dc:creator><![CDATA[Iyappan Seeva]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 13:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-146418</guid>
		<description><![CDATA[Hai pinal pls give the answer for the puzzle u asked]]></description>
		<content:encoded><![CDATA[<p>Hai pinal pls give the answer for the puzzle u asked</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-146363</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 10:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-146363</guid>
		<description><![CDATA[Yes it will be rolled back only used inside a transaction]]></description>
		<content:encoded><![CDATA[<p>Yes it will be rolled back only used inside a transaction</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/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-146348</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>Wed, 06 Jul 2011 09:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-146348</guid>
		<description><![CDATA[[...] on July 6, 2011 at 7:01 am &#124; Reply  SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 6 of 31 Journe... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] on July 6, 2011 at 7:01 am | Reply  SQL SERVER – Interview Questions and Answers – Frequently Asked Questions – Day 6 of 31 Journe&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ferac</title>
		<link>http://blog.sqlauthority.com/2011/07/06/sql-server-interview-questions-and-answers-frequently-asked-questions-day-6-of-31/#comment-146311</link>
		<dc:creator><![CDATA[ferac]]></dc:creator>
		<pubDate>Wed, 06 Jul 2011 04:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13300#comment-146311</guid>
		<description><![CDATA[Hi Pinal, 1st post, your blog is the greatest!
How can you roll back a delete? (does it have to be inside a begin commit transaction?)
Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal, 1st post, your blog is the greatest!<br />
How can you roll back a delete? (does it have to be inside a begin commit transaction?)<br />
Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
