Solved

Databases reconciliation - Urgent !!!

Posted on 1999-01-19
2
165 Views
Last Modified: 2012-06-27
At the start of a project I had one master database which holded central information. I provided copies of that database to different people, *for info only*. Of course they used it and built on it, adding information (no new tables/relationships... just new data in existing tables).
Murphy came around (read management) and decided that the new information in the different database is extremely valuable and should be compiled.
Problem then : I now need to combine those databases into one. Trouble is, most of the tables have fields which are unique(autonumber, sequential). And the data which I need to  combine is spread over several tables (relationships exist), each with unique numberings. But those unique number per database, I will of course find them more than once when I try to combine the different databases.
Any suggestion on how to solve that problem ?
Thanks
0
Comment
Question by:lilletof
2 Comments
 
LVL 10

Accepted Solution

by:
brewdog earned 100 total points
ID: 1977200
I had to do this with one of my databases. Here's what I did:

1. Remove the relationships on your tables temporarily
2. Change the AutoNumber fields to Number, and add a field to identify each separate database. Your primary key for these tables will then be a combination of the Number and the database source.
3. Reestablish your relationships.
4. Import the data into temp tables, then use append queries to put the temp tables (plus a string for identifying the source) into your master tables.

It's a bit of a process, but it has worked well for me.

brewdog
0
 
LVL 7

Expert Comment

by:Dedushka
ID: 1977201
Hi, lilletof!
To avoid this problems in future you shoul use replication.
What can you do now - "that is the question".

Regards,
Dedushka

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now