[thelist] MS SQL 2000

Jay Blanchard jblanchard at pocket.com
Mon Aug 21 11:19:26 CDT 2006


[snip]
Is it possible to run a query that would return all rows that are exact
duplicates except for the unique identifier?
[/snip]
 
Yes, it is possible.





























Start here....

SELECT COUNT(`foo`) AS `duplicate` FROM `bar` GROUP BY `foo` HAVING
`duplicate` > 1 



More information about the thelist mailing list