C
Clif McIrvin
Working on cleaning up existing data where duplicated records exist in
production tables.
A2003.
Select query with order by clause which returns duplicate records from
one table.
I'd like a query that returns every other row from the above query. Is
such a thing possible without VBA?
Even better would be a query that returns all but one row from each set
of duplicates, as I have found cases with multiple duplicates. (Not
strictly necessary, because deleting alternate rows from the original
query in successive iterations would always end up with the correct
result after n-1 iterations, where n is the number of duplicates in the
largest set.)
The factors contributing to the generation of these duplicates are still
being identified (and data integrity rules defined) so this will be a
recurring process.
production tables.
A2003.
Select query with order by clause which returns duplicate records from
one table.
I'd like a query that returns every other row from the above query. Is
such a thing possible without VBA?
Even better would be a query that returns all but one row from each set
of duplicates, as I have found cases with multiple duplicates. (Not
strictly necessary, because deleting alternate rows from the original
query in successive iterations would always end up with the correct
result after n-1 iterations, where n is the number of duplicates in the
largest set.)
The factors contributing to the generation of these duplicates are still
being identified (and data integrity rules defined) so this will be a
recurring process.