Dec 13, 2004 #1 557 Programmer Oct 25, 2004 64 US if i have a table in which the combination of 2 fields are supposed to be unique, thru an sql, i need to find the records which have these 2 fields with the same value, how can i do this?
if i have a table in which the combination of 2 fields are supposed to be unique, thru an sql, i need to find the records which have these 2 fields with the same value, how can i do this?
Dec 13, 2004 1 #2 swampBoogie Programmer Jan 6, 2003 1,660 SE Code: select c1,c2 from t group by c1,c2 having count(*) > 1 Upvote 0 Downvote
Dec 14, 2004 1 Thread starter #3 557 Programmer Oct 25, 2004 64 US thanks, i used it Upvote 0 Downvote