Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Merging Multiple Databases

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
I'm going to be merging multiple databases into a central one.

I know that during importing to a merged database, a GUID ID can be added. However, this will only be helpful for the database, not the GUI application I'm using. Is there anyway to make the Standard Primary Key ID's unique as well? And be updated in the relational data?

Obviously an Order Table with have an OrderID and the OrderDetails Table with have an OrderID. But having a GUID will not relate these two tables. Performing a query joining both tables would end in a kind of cartesian result, because there would be many of the Same ORDERID's in the Orders Tabl.

I hope there's a standard response to this. It seems like by now there would be. I just haven't found one yet.

Thanks

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
I would have to say, never mind this for now. I have a solution.

Fortunately i have a SiteID witch would be the ID of each database. I will append this to the PKID's when importing into the main database. I believe this will cover it.

Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top