I have an access table that has over 470,000 rows. I need to delete
the duplicates. None of the "append" query ideas will work as it
involves copying and pasing the structure, and Access won't allow me
to copy 470,000 rows. Does anyone have a suggestion on how to
accomplish this?
Nobody would suggest copying and pasting ten rows, much less 470000.
Copy and paste the *STRUCTURE* of the table - not the table. Select the table
in the tables window; type Ctrl-C to copy and Ctrl-V to paste. You'll get a
popup window offering three choices - Structure Only, Structure and Data, and
Add records to existing table. Check Structure Only.
You'll then be asked for a new table name. Open this new table, and set a
unique Index on the combination of fields which identify a duplicate.
Compact the database at this point to be sure it's starting clean.
Then create a new Query based on the original table. Change it to an Append
query and select the new table. Run the query using the ! icon; you'll get a
warning message "25236 records were not appended due to key violations" -
that's the duplicates you're trying to get rid of.
John W. Vinson [MVP]