<?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; Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON</title>
	<atom:link href="http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/</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: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #010 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-403900</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #010 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 05 Jan 2013 01:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-403900</guid>
		<description><![CDATA[[...] Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashok</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-353851</link>
		<dc:creator><![CDATA[Ashok]]></dc:creator>
		<pubDate>Fri, 28 Sep 2012 07:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-353851</guid>
		<description><![CDATA[Hey man.

  Yo are doing wonderful job. 

Thanks for sharing,
 Ashok.]]></description>
		<content:encoded><![CDATA[<p>Hey man.</p>
<p>  Yo are doing wonderful job. </p>
<p>Thanks for sharing,<br />
 Ashok.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nagendra</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-306881</link>
		<dc:creator><![CDATA[Nagendra]]></dc:creator>
		<pubDate>Thu, 28 Jun 2012 09:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-306881</guid>
		<description><![CDATA[Can I use IGNORE_DUP_KEY property on Clustered index]]></description>
		<content:encoded><![CDATA[<p>Can I use IGNORE_DUP_KEY property on Clustered index</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhosh</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-127376</link>
		<dc:creator><![CDATA[santhosh]]></dc:creator>
		<pubDate>Thu, 07 Apr 2011 13:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-127376</guid>
		<description><![CDATA[Hi Pinal,
Thanks for the article.
I&#039;ve a question.  Can i Insert duplicate values on a non clustered indexed column.
If true can you please expalin how.

Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
Thanks for the article.<br />
I&#8217;ve a question.  Can i Insert duplicate values on a non clustered indexed column.<br />
If true can you please expalin how.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-121757</link>
		<dc:creator><![CDATA[Simon]]></dc:creator>
		<pubDate>Thu, 03 Mar 2011 19:44:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-121757</guid>
		<description><![CDATA[Hi Dave, thanks for your excellent blogs - you always seem to answer questions simply and succinctly, without being patronising or drowning everything in endless complexity, or assuming that people already know almost everything - if tha was the case, they wouldn&#039;t need to ask, would they?

My extension to this question is, if you have a duplicate key, is there a standard way to identify the duplicate? The &quot;duplicate&quot; message always drives me mad, since SQL Server must know what the duplicate is or it couldn&#039;t say it was a duplicate. So why not add the key values to the duplicate message, to give you a fighting chance of doing something about it?

Not so hard on single inserts, but can be a nightmare for bulk inserts, esp where you may not have much control about the data contents.]]></description>
		<content:encoded><![CDATA[<p>Hi Dave, thanks for your excellent blogs &#8211; you always seem to answer questions simply and succinctly, without being patronising or drowning everything in endless complexity, or assuming that people already know almost everything &#8211; if tha was the case, they wouldn&#8217;t need to ask, would they?</p>
<p>My extension to this question is, if you have a duplicate key, is there a standard way to identify the duplicate? The &#8220;duplicate&#8221; message always drives me mad, since SQL Server must know what the duplicate is or it couldn&#8217;t say it was a duplicate. So why not add the key values to the duplicate message, to give you a fighting chance of doing something about it?</p>
<p>Not so hard on single inserts, but can be a nightmare for bulk inserts, esp where you may not have much control about the data contents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharati</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-79008</link>
		<dc:creator><![CDATA[Bharati]]></dc:creator>
		<pubDate>Wed, 07 Jul 2010 02:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-79008</guid>
		<description><![CDATA[Hi Pinal,

I have came across a problem in my inhouse website.  

With Unique, Non-Clustered index and IGNORE_DUP_KEY=ON, duplicate value is inserted in a column, without throwing any error.

This happened only once. Otherwise, it is running as expected. When I tried to insert duplicate value, it does not allow, which is correct.

Only this one record has got duplicate value which is puzzling me. I am trying to figure out the reason.

Any help appreciated.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I have came across a problem in my inhouse website.  </p>
<p>With Unique, Non-Clustered index and IGNORE_DUP_KEY=ON, duplicate value is inserted in a column, without throwing any error.</p>
<p>This happened only once. Otherwise, it is running as expected. When I tried to insert duplicate value, it does not allow, which is correct.</p>
<p>Only this one record has got duplicate value which is puzzling me. I am trying to figure out the reason.</p>
<p>Any help appreciated.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chavoux Luyt</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-78432</link>
		<dc:creator><![CDATA[Chavoux Luyt]]></dc:creator>
		<pubDate>Thu, 01 Jul 2010 12:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-78432</guid>
		<description><![CDATA[Thanks Pinal

So do I understand correctly that even with IGNORE_DUP_KEY=ON, I still will not have duplicates in the table? If so, this is exactly what I wanted... then I don&#039;t have to check my SELECT data for duplicates before inserting!

Cheers
Chavoux]]></description>
		<content:encoded><![CDATA[<p>Thanks Pinal</p>
<p>So do I understand correctly that even with IGNORE_DUP_KEY=ON, I still will not have duplicates in the table? If so, this is exactly what I wanted&#8230; then I don&#8217;t have to check my SELECT data for duplicates before inserting!</p>
<p>Cheers<br />
Chavoux</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samir</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-63369</link>
		<dc:creator><![CDATA[samir]]></dc:creator>
		<pubDate>Sat, 20 Mar 2010 15:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-63369</guid>
		<description><![CDATA[thanks u  r index query but i get error when i am trying to create   UNIQUE NONCLUSTERED INDEX  they give me 

Error
----Server: Msg 170, Level 15, State 1, Line 4
Line 4: Incorrect syntax near &#039;(&#039;.


GO
CREATE TABLE DupIndex (ID INT,
FirstName VARCHAR(100),
LastName VARCHAR(100),
City VARCHAR(100))
GO

Go
CREATE UNIQUE NONCLUSTERED INDEX [IX_DupIndex_FirstName]
ON [dbo].[DupIndex]
(
[FirstName] ASC
) WITH (IGNORE_DUP_KEY = ON) ON [PRIMARY]
GO


Plz Help me ...........
and 
How to data retrieval  fast in server to client]]></description>
		<content:encoded><![CDATA[<p>thanks u  r index query but i get error when i am trying to create   UNIQUE NONCLUSTERED INDEX  they give me </p>
<p>Error<br />
&#8212;-Server: Msg 170, Level 15, State 1, Line 4<br />
Line 4: Incorrect syntax near &#8216;(&#8216;.</p>
<p>GO<br />
CREATE TABLE DupIndex (ID INT,<br />
FirstName VARCHAR(100),<br />
LastName VARCHAR(100),<br />
City VARCHAR(100))<br />
GO</p>
<p>Go<br />
CREATE UNIQUE NONCLUSTERED INDEX [IX_DupIndex_FirstName]<br />
ON [dbo].[DupIndex]<br />
(<br />
[FirstName] ASC<br />
) WITH (IGNORE_DUP_KEY = ON) ON [PRIMARY]<br />
GO</p>
<p>Plz Help me &#8230;&#8230;&#8230;..<br />
and<br />
How to data retrieval  fast in server to client</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis Keller</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-60149</link>
		<dc:creator><![CDATA[Lewis Keller]]></dc:creator>
		<pubDate>Sat, 23 Jan 2010 23:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-60149</guid>
		<description><![CDATA[Pinaldave,

Which version of SQL Server did you use? Did you use 2000, 2005, or 2008? I&#039;m very curious about this.]]></description>
		<content:encoded><![CDATA[<p>Pinaldave,</p>
<p>Which version of SQL Server did you use? Did you use 2000, 2005, or 2008? I&#8217;m very curious about this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Patel</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-60058</link>
		<dc:creator><![CDATA[Jay Patel]]></dc:creator>
		<pubDate>Thu, 21 Jan 2010 19:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-60058</guid>
		<description><![CDATA[In what scenarios would you want to turn the IGNORE_DUP_KEY setting ON?

From a data consistency standpoint, I would want it &#039;OFF&#039;, but perhaps there are other uses for it.

What do you guys use the ON setting for?]]></description>
		<content:encoded><![CDATA[<p>In what scenarios would you want to turn the IGNORE_DUP_KEY setting ON?</p>
<p>From a data consistency standpoint, I would want it &#8216;OFF&#8217;, but perhaps there are other uses for it.</p>
<p>What do you guys use the ON setting for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON – A Transactional Behavior Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-59379</link>
		<dc:creator><![CDATA[SQL SERVER – Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON – A Transactional Behavior Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Wed, 06 Jan 2010 01:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-59379</guid>
		<description><![CDATA[[...] 6, 2010 by pinaldave    Earlier, I had written on SQL SERVER – Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON, and I received a comment regarding when this option can be useful. On the same day, I met Jacob [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 6, 2010 by pinaldave    Earlier, I had written on SQL SERVER – Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON, and I received a comment regarding when this option can be useful. On the same day, I met Jacob [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-59341</link>
		<dc:creator><![CDATA[Anand]]></dc:creator>
		<pubDate>Mon, 04 Jan 2010 21:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-59341</guid>
		<description><![CDATA[Just a small update, it works with Unique Clustered Index too.]]></description>
		<content:encoded><![CDATA[<p>Just a small update, it works with Unique Clustered Index too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-59329</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Mon, 04 Jan 2010 13:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-59329</guid>
		<description><![CDATA[Marko,

I have follow up post demonstrating the usage of this particular feature.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Marko,</p>
<p>I have follow up post demonstrating the usage of this particular feature.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-59327</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Mon, 04 Jan 2010 12:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-59327</guid>
		<description><![CDATA[Hello Marko,

After implementing the uniqueness of a column if we take the below requirement:

When a duplicate value arrive in an INSERT statement, Should the INSERT statement failed without inserting a single record or just ignore the records of duplicate value?

The answer &#039;yes&#039; or &#039;no&#039; depends on business and SQL Server provides us an handy option to implement that is &quot;IGNORE_DUP_KEY&quot;.

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hello Marko,</p>
<p>After implementing the uniqueness of a column if we take the below requirement:</p>
<p>When a duplicate value arrive in an INSERT statement, Should the INSERT statement failed without inserting a single record or just ignore the records of duplicate value?</p>
<p>The answer &#8216;yes&#8217; or &#8216;no&#8217; depends on business and SQL Server provides us an handy option to implement that is &#8220;IGNORE_DUP_KEY&#8221;.</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-59312</link>
		<dc:creator><![CDATA[Ganesh]]></dc:creator>
		<pubDate>Mon, 04 Jan 2010 09:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-59312</guid>
		<description><![CDATA[Thanks dave. Its very useful to me to take the unique records.]]></description>
		<content:encoded><![CDATA[<p>Thanks dave. Its very useful to me to take the unique records.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko Parkkola</title>
		<link>http://blog.sqlauthority.com/2010/01/04/sql-server-unique-nonclustered-index-creation-with-ignore_dup_key-on/#comment-59307</link>
		<dc:creator><![CDATA[Marko Parkkola]]></dc:creator>
		<pubDate>Mon, 04 Jan 2010 07:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7697#comment-59307</guid>
		<description><![CDATA[But if I&#039;m creating UNIQUE index, why would I want it NOT to throw an error when trying to add duplicate value? I mean, I don&#039;t see any situation where I wouldn&#039;t want it to throw an error.]]></description>
		<content:encoded><![CDATA[<p>But if I&#8217;m creating UNIQUE index, why would I want it NOT to throw an error when trying to add duplicate value? I mean, I don&#8217;t see any situation where I wouldn&#8217;t want it to throw an error.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
