Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete Duplicate records

Status
Not open for further replies.

Hokis

Technical User
May 21, 2007
51
US
Hi,Is there a way to delete the duplicate records within a table, or a query without doing that copy the query to a table & do the distinct thing, there must be an easier way, like in the query design view or in SQL command, please Help.
Thank you,
 
If there isn't something unique to every record in a table, I doubt any SQL statement can remove/delete duplicates. You can add an autonumber key and then delete all duplicates that aren't the min of the autonumber field.

Duane
Hook'D on Access
MS Access MVP
 

Could faq701-5721 possibly help?

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top