Solved

Databases reconciliation - Urgent !!!

Posted on 1999-01-19
2
154 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

759 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

19 Experts available now in Live!

Get 1:1 Help Now