<?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; 2000 &#8211; SQL SERVER &#8211; Delete Duplicate Records &#8211; Rows &#8211; Readers Contribution</title>
	<atom:link href="http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/</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; #027 &#124; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-468654</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #027 &#124; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 04 May 2013 01:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-468654</guid>
		<description><![CDATA[[...] Delete Duplicate Records – Rows – Readers Contribution A quick script from reader very important article but very less explored by users. Let me know your thoughts about this one. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Delete Duplicate Records – Rows – Readers Contribution A quick script from reader very important article but very less explored by users. Let me know your thoughts about this one. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Select and Delete Duplicate Records &#8211; SQL in Sixty Seconds #036 &#8211; Video &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-395756</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Select and Delete Duplicate Records &#8211; SQL in Sixty Seconds #036 &#8211; Video &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Wed, 19 Dec 2012 01:30:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-395756</guid>
		<description><![CDATA[[...] Delete Duplicate Records – Rows – Readers Contribution [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Delete Duplicate Records – Rows – Readers Contribution [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krzysiek</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-363321</link>
		<dc:creator><![CDATA[Krzysiek]]></dc:creator>
		<pubDate>Tue, 23 Oct 2012 11:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-363321</guid>
		<description><![CDATA[Hi,
Creating table copy with unique clustered index on ID column, and coping
original table rows to table copy sounds reasonable , specially for large tables. It works fast !!! using SQL Server in-built unique clustred key constraint with eliminate duplicates with IGNORE_DUP_KEY option enabled.

For instance:

CREATE TABLE Data_backup..... (the same structure as original table Data with duplicates)

(SQL Server 2000)
CREATE UNIQUE CLUSTERED INDEX PK_Data_backup
ON Data_backup(ID)
WITH IGNORE_DUP_KEY, FILLFACTOR = 90
GO 

SET IDENTITY_INSERT Data_backup ON
INSERT INTO Dane_backup(ID,data1,data2)
       SELECT * from Data
SET IDENTITY_INSERT Data_backup OFF

Finally you will get table Data_backup with duplicates removed automatically by unique clustered key contraint mechanism.

Krzsiek.    IT WORKS FAST FOR LARGE TABLES.

:)]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Creating table copy with unique clustered index on ID column, and coping<br />
original table rows to table copy sounds reasonable , specially for large tables. It works fast !!! using SQL Server in-built unique clustred key constraint with eliminate duplicates with IGNORE_DUP_KEY option enabled.</p>
<p>For instance:</p>
<p>CREATE TABLE Data_backup&#8230;.. (the same structure as original table Data with duplicates)</p>
<p>(SQL Server 2000)<br />
CREATE UNIQUE CLUSTERED INDEX PK_Data_backup<br />
ON Data_backup(ID)<br />
WITH IGNORE_DUP_KEY, FILLFACTOR = 90<br />
GO </p>
<p>SET IDENTITY_INSERT Data_backup ON<br />
INSERT INTO Dane_backup(ID,data1,data2)<br />
       SELECT * from Data<br />
SET IDENTITY_INSERT Data_backup OFF</p>
<p>Finally you will get table Data_backup with duplicates removed automatically by unique clustered key contraint mechanism.</p>
<p>Krzsiek.    IT WORKS FAST FOR LARGE TABLES.</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feodor</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-59947</link>
		<dc:creator><![CDATA[Feodor]]></dc:creator>
		<pubDate>Tue, 19 Jan 2010 18:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-59947</guid>
		<description><![CDATA[Ah, great post. And I am sooo happy that the SQL 2005-2008 introduced the CTEs and the ranking functions! :) By using both you can easily remove duplicate rows.]]></description>
		<content:encoded><![CDATA[<p>Ah, great post. And I am sooo happy that the SQL 2005-2008 introduced the CTEs and the ranking functions! :) By using both you can easily remove duplicate rows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-52753</link>
		<dc:creator><![CDATA[Karthik]]></dc:creator>
		<pubDate>Fri, 05 Jun 2009 04:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-52753</guid>
		<description><![CDATA[This is your answer
CREATE PROC usp_NestLevelValues AS
SELECT @@NESTLEVEL AS &#039;Current Nest Level&#039;;
EXEC sp_executesql N&#039;SELECT @@NESTLEVEL as TwoGreater&#039; ;
GO
EXEC usp_NestLevelValues;
GO]]></description>
		<content:encoded><![CDATA[<p>This is your answer<br />
CREATE PROC usp_NestLevelValues AS<br />
SELECT @@NESTLEVEL AS &#8216;Current Nest Level&#8217;;<br />
EXEC sp_executesql N&#8217;SELECT @@NESTLEVEL as TwoGreater&#8217; ;<br />
GO<br />
EXEC usp_NestLevelValues;<br />
GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kg</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-39609</link>
		<dc:creator><![CDATA[kg]]></dc:creator>
		<pubDate>Mon, 30 Jun 2008 19:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-39609</guid>
		<description><![CDATA[i need an answer to following question if can someone help me out with this 


How would you complete the following string, in order to obtain a value equal to
 2 + the current nesting level?
CREATE PROC usp_NestLevelValues AS
 SELECT @@NESTLEVEL AS &#039;Current Nest Level&#039;;
EXEC __________ N&#039;SELECT @@NESTLEVEL as TwoGreater&#039; ;
GO
EXEC usp_NestLevelValues;
GO]]></description>
		<content:encoded><![CDATA[<p>i need an answer to following question if can someone help me out with this </p>
<p>How would you complete the following string, in order to obtain a value equal to<br />
 2 + the current nesting level?<br />
CREATE PROC usp_NestLevelValues AS<br />
 SELECT @@NESTLEVEL AS &#8216;Current Nest Level&#8217;;<br />
EXEC __________ N&#8217;SELECT @@NESTLEVEL as TwoGreater&#8217; ;<br />
GO<br />
EXEC usp_NestLevelValues;<br />
GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuldeep</title>
		<link>http://blog.sqlauthority.com/2008/05/04/sql-server-2000-sql-server-delete-duplicate-records-rows-readers-contribution/#comment-39471</link>
		<dc:creator><![CDATA[kuldeep]]></dc:creator>
		<pubDate>Tue, 24 Jun 2008 12:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=592#comment-39471</guid>
		<description><![CDATA[HI pinaldave ,
i have one query  how to delete image duplicate row in my table. my table has no primary key or identity column .. if u have any solution then please help me ...



thanks 
kuldeep.]]></description>
		<content:encoded><![CDATA[<p>HI pinaldave ,<br />
i have one query  how to delete image duplicate row in my table. my table has no primary key or identity column .. if u have any solution then please help me &#8230;</p>
<p>thanks<br />
kuldeep.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
