Comments on: How to find duplicate rows with SQL http://www.xaprb.com/blog/2006/10/09/how-to-find-duplicate-rows-with-sql/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Nick Bowden http://www.xaprb.com/blog/2006/10/09/how-to-find-duplicate-rows-with-sql/#comment-20128 Nick Bowden Fri, 13 Jul 2012 06:24:32 +0000 http://www.xaprb.com/blog/?p=239#comment-20128 Very nice article, but I have noticed that it is a bit outdated for SQL 2008.
For me:
create table test(id int not null primary key, day date not null); needs to have dtaetime or it will not work. Also temporary table are created using a # infront of the name. You know all this anyway, but after 5 years of good comments, it would be of benefit to future aspiring SQL administrators to have such a well written piece updated.

]]>
By: Gayan Pathirage http://www.xaprb.com/blog/2006/10/09/how-to-find-duplicate-rows-with-sql/#comment-20059 Gayan Pathirage Tue, 22 May 2012 05:40:17 +0000 http://www.xaprb.com/blog/?p=239#comment-20059 Great post, thanks all.

]]>
By: Abhishek Yada http://www.xaprb.com/blog/2006/10/09/how-to-find-duplicate-rows-with-sql/#comment-19804 Abhishek Yada Fri, 30 Dec 2011 12:01:11 +0000 http://www.xaprb.com/blog/?p=239#comment-19804 Thanks..really helpful post

]]>
By: Simaranjit http://www.xaprb.com/blog/2006/10/09/how-to-find-duplicate-rows-with-sql/#comment-19714 Simaranjit Tue, 25 Oct 2011 20:45:04 +0000 http://www.xaprb.com/blog/?p=239#comment-19714 Well explained. Appreciated!!!

]]>
By: ManishJ http://www.xaprb.com/blog/2006/10/09/how-to-find-duplicate-rows-with-sql/#comment-19611 ManishJ Fri, 09 Sep 2011 10:36:25 +0000 http://www.xaprb.com/blog/?p=239#comment-19611 @ Sara

>> Hi, how could I find duplicates but ignoring case.

select a.loginname from users_tbl a, users_tbl b where a.userid != b.userid and a.loginname ilike b.loginname;

]]>