Ok here's my problem (challenge!)....
I have one table with approx. 1 million records with the following fields: Membership ID, Joining Date, Cancellation Date
Each month I will be appending new data to the table which will have the same fields.
I don't want to have any duplicate membership Id's in the table, therefore if a membership Id appears on the monthly file I want to add this to the table and replace the old record. If a membership ID does not appear on the old file then I want to keep the original record. Finally if the membership ID does not appear on the old file but is on a monthly file then I want to add it to the table.
Has anyone got any ideas on how I will go about this-I presume I will need a couple of matching/unmatched queries and an append query??
Thanks,
StephenD
I have one table with approx. 1 million records with the following fields: Membership ID, Joining Date, Cancellation Date
Each month I will be appending new data to the table which will have the same fields.
I don't want to have any duplicate membership Id's in the table, therefore if a membership Id appears on the monthly file I want to add this to the table and replace the old record. If a membership ID does not appear on the old file then I want to keep the original record. Finally if the membership ID does not appear on the old file but is on a monthly file then I want to add it to the table.
Has anyone got any ideas on how I will go about this-I presume I will need a couple of matching/unmatched queries and an append query??
Thanks,
StephenD