merging tables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two tables in an access database that I need to merge. Both tables
contain the same fields, such as first name, last name, etc. I want to merge
these two tables into one, containing all of the entries, not just the ones
that are equal. Can someone help?
 
Merging Tables said:
I have two tables in an access database that I need to merge. Both tables
contain the same fields, such as first name, last name, etc. I want to merge
these two tables into one, containing all of the entries, not just the ones
that are equal. Can someone help?

Sound like you want an append query that takes all of the records from one
table and appends them to the other.

You can easily do this in the query design view. Create a query that
selects all the fields from one of the tables. On the "Query" menu, choose
"Append Query", and specify that you want to append the data to the other
table. Run the query.

This will NOT work if there are duplicate primary keys across the two
tables. If that is the case, what you need to do will depend on how,
logically, you want to resolve the duplicates.
 

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

Back
Top