Duplicates

  • Thread starter Thread starter Gianmaria I.
  • Start date Start date
G

Gianmaria I.

Hi,
i'm tring to set a column as primary key but the operations is impossible
cause i have duplicates in this column.. how can i search and delete this
duplicates?

Regards
 
Queries>New: Find Duplicates Query Wizard
(Assuming you have a full installation...)

or:

The following would list the Description and AssetIDs for all records with
duplicate Descriptions in table datAsset:
SELECT Description, AssetID
FROM datAssets
WHERE (((Description) In (SELECT [Description]
FROM [datAssets] As Tmp
GROUP BY [Description] HAVING Count(*)>1 )))
ORDER BY Description;

HTH,
 

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

Similar Threads


Back
Top