Duplicates

  • Thread starter Thread starter Guest
  • Start date Start date
Do you mean duplicate records in a table?

Assuming you do,

Is somthing like

SELECT KeyField1, Keyfield2, Count(1) as DuplicateCount
From MyTable
GROUP BY KeyField1, KeyField2
HAVING Count(1) > 1;

Any good??

Where KeyField1, KeyField2 are the fields where your interested in the
duplicates...

Cheers,

Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top