need to copy 130,000 rows from one access db into another access db

Hi,

i need to copy a large number of rows from one Access db (31.9 MB) (db_1) into another Access db (57.6 MB) (db_2).   db_1 has 130,172 rows.   db_2 has 208,778 rows.  Both db's have the same structure.

Thanks!
Cam RabenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pdebaetsCommented:
One way to do this is to link the table you want to copy the records from, then use the query wizard to create an append query.
0
Cam RabenAuthor Commented:
How do I do this?  I am a SQL novice so explicit instructions would be great.
0
aikimarkCommented:
or just use the external data import menu, if this is going to be a one-time import.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Cam RabenAuthor Commented:
It imported successfully.  Thanks much!
0
Cam RabenAuthor Commented:
ps  Now that I have both tables in my original db, how would I append the rows of the newly imported table into the table in my existing db.    (both tables are identical)
0
aikimarkCommented:
just create an append query
0
Cam RabenAuthor Commented:
I did and got a warning that "MS Access can't append all records in the append query:  MS Access set 0 fields to Null due to a type conversion failure, and it didn't add 66201 records to the table due to key violations.   ??
0
Cam RabenAuthor Commented:
It appears to be due to "key" violations.  Both tables have an ID field that is an autonumber primary key.  I think the failure to append 66,201 records has to do with this key but I'm not sure.  ?
0
Cam RabenAuthor Commented:
Ok, I got it to work but..... I had to remove my ID field (autonumbered PK) from both tables.  From what I know about relational db's this is not recommended.  Is this true, and if so, is there a workaround to retain the integrity of my PK field?   If I don't need it so be it, but I want to make sure before I go further.  

Thanks much for any advice you'd give me on this Aikimark (this is that database of NC water quality data, btw).
0
aikimarkCommented:
The ID field of the target database will automatically increment.  This might only be a problem if you have other tables that you join with these two tables on the ID column.  Otherwise, no problem.
0
Cam RabenAuthor Commented:
Excellent - thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.