Mar 8, 2006 #1 Bell1991 Programmer Aug 20, 2003 386 US how do you find duplictes when you have a primary key that consists of 3 fields? I know how to if i have only one field Select c from tblName Group By columns having (coulmn) > 1
how do you find duplictes when you have a primary key that consists of 3 fields? I know how to if i have only one field Select c from tblName Group By columns having (coulmn) > 1
Mar 8, 2006 #2 SQLDenis Programmer Oct 1, 2005 5,575 US Select field1,field2,field3 from tblName Group By field1,field2,field3 having count (*) > 1 Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
Select field1,field2,field3 from tblName Group By field1,field2,field3 having count (*) > 1 Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/