<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to delete duplicate rows with SQL</title>
	<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/</link>
	<description>Stay curious!</description>
	<pubDate>Fri, 16 May 2008 03:53:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: IAyame</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-14528</link>
		<author>IAyame</author>
		<pubDate>Thu, 08 May 2008 21:23:52 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-14528</guid>
		<description>Very nice post.
I am trying to find duplicate entries based on different column in a joined table. In my senerio I have upto 5 columns that has to be identical to determine if the entry is duplicate.
I am using SQL Server 2005. Any help would be grately appretiated.</description>
		<content:encoded><![CDATA[<p>Very nice post.<br />
I am trying to find duplicate entries based on different column in a joined table. In my senerio I have upto 5 columns that has to be identical to determine if the entry is duplicate.<br />
I am using SQL Server 2005. Any help would be grately appretiated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shailesh</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-14425</link>
		<author>shailesh</author>
		<pubDate>Fri, 11 Apr 2008 08:27:43 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-14425</guid>
		<description>if you want to remove duplicate records with ntext,text and image datatype .please do the  below link stap.

http://www.codegroups.com/blog/index.php/deleting-duplicate-records-from-table-with-text-ntext-or-image-data-type/

I hope this is help !

Regards,
Shaileshk</description>
		<content:encoded><![CDATA[<p>if you want to remove duplicate records with ntext,text and image datatype .please do the  below link stap.</p>
<p><a href="http://www.codegroups.com/blog/index.php/deleting-duplicate-records-from-table-with-text-ntext-or-image-data-type/" rel="nofollow">http://www.codegroups.com/blog/index.php/deleting-duplicate-records-from-table-with-text-ntext-or-image-data-type/</a></p>
<p>I hope this is help !</p>
<p>Regards,<br />
Shaileshk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13720</link>
		<author>Sam</author>
		<pubDate>Wed, 28 Nov 2007 10:39:15 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13720</guid>
		<description>Very very helpful, and great discussion on the topic. Thanks!</description>
		<content:encoded><![CDATA[<p>Very very helpful, and great discussion on the topic. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MajMcDonald.com &#187; My del.icio.us bookmarks for November 20th</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13709</link>
		<author>MajMcDonald.com &#187; My del.icio.us bookmarks for November 20th</author>
		<pubDate>Mon, 26 Nov 2007 15:56:43 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13709</guid>
		<description>[...] How to delete duplicate rows with SQL at Xaprb - [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] How to delete duplicate rows with SQL at Xaprb - [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BC_Man</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13603</link>
		<author>BC_Man</author>
		<pubDate>Fri, 02 Nov 2007 00:03:09 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13603</guid>
		<description>There's probably some reason for having to do this internally to mySQL, but another way is this...

sort -f -u -t , --key=2,51 cumindex.tab.txt &#62; cumindex_unique.tab.txt

Export the table, sort removing duplicate keys, import.

BC_Man</description>
		<content:encoded><![CDATA[<p>There&#8217;s probably some reason for having to do this internally to mySQL, but another way is this&#8230;</p>
<p>sort -f -u -t , &#8211;key=2,51 cumindex.tab.txt &gt; cumindex_unique.tab.txt</p>
<p>Export the table, sort removing duplicate keys, import.</p>
<p>BC_Man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Chevalier</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13555</link>
		<author>Patrick Chevalier</author>
		<pubDate>Sun, 21 Oct 2007 08:01:32 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13555</guid>
		<description>Thank you so much, this article is fantastic: I had exactly this problem and my solutions were too slow. With your 'Technique 1' I have solved my problem very quickly and the answer is very fast
best regards

Patrick Chevalier</description>
		<content:encoded><![CDATA[<p>Thank you so much, this article is fantastic: I had exactly this problem and my solutions were too slow. With your &#8216;Technique 1&#8242; I have solved my problem very quickly and the answer is very fast<br />
best regards</p>
<p>Patrick Chevalier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2007-09-13 &#171; manalang</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13392</link>
		<author>links for 2007-09-13 &#171; manalang</author>
		<pubDate>Thu, 13 Sep 2007 04:23:57 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13392</guid>
		<description>[...] How to delete duplicate rows with SQL at Xaprb excellent reference on how to delete dup rows in sql (tags: mysql database howto sql duplicates tips) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] How to delete duplicate rows with SQL at Xaprb excellent reference on how to delete dup rows in sql (tags: mysql database howto sql duplicates tips) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john.mocambique</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13311</link>
		<author>john.mocambique</author>
		<pubDate>Wed, 15 Aug 2007 15:53:35 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-13311</guid>
		<description>Technique #1 worked really well for the problem I was having.  I used it to check for the max.  Thanks.</description>
		<content:encoded><![CDATA[<p>Technique #1 worked really well for the problem I was having.  I used it to check for the max.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satya</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-12755</link>
		<author>satya</author>
		<pubDate>Mon, 30 Jul 2007 12:33:24 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-12755</guid>
		<description>Nice Artical, very usefull to bigners like me

By,
Satya</description>
		<content:encoded><![CDATA[<p>Nice Artical, very usefull to bigners like me</p>
<p>By,<br />
Satya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rollo</title>
		<link>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-12521</link>
		<author>Rollo</author>
		<pubDate>Wed, 25 Jul 2007 01:23:54 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/11/how-to-delete-duplicate-rows-with-sql/#comment-12521</guid>
		<description>Really helpful stuff, thanks!

But I'm having trouble adapting your Technique 1 for a particular purpose. I would like to eliminate duplicates only if they have a certain value for a given column (in this case "lang='0'"). (I plan then to do a second pass to get rid of the rest by MIN id.)

Seems to be a case for a WHERE clause but I just can't figure out how to construct the query. Ideas appreciated!</description>
		<content:encoded><![CDATA[<p>Really helpful stuff, thanks!</p>
<p>But I&#8217;m having trouble adapting your Technique 1 for a particular purpose. I would like to eliminate duplicates only if they have a certain value for a given column (in this case &#8220;lang=&#8217;0&#8242;&#8221;). (I plan then to do a second pass to get rid of the rest by MIN id.)</p>
<p>Seems to be a case for a WHERE clause but I just can&#8217;t figure out how to construct the query. Ideas appreciated!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
