Given: 3 separate databases. An "Individuals" table was created in each of the 3 dbs. Each individual was input into the separate dbs at different times resulting in different (automatic) primary keys.
I need to normalize these dbs using the IndPKs which are in table 1 to map records in tbl2 and tbl3 so that I end up with 1 database containing 4 tables: Individuals (with PKs in Table 1), RecordsFromTbl1 (foreign key IndPK), RecordsFromTbl2 (foreign key IndPK), and RecordsFromTbl3 (foreign key IndPK).
As an example, I now have JoeSmoe with an pkID in tbl1 of "3", in tbl2 of "19", and tbl3 with "28".
There are only about 150 individuals and 50 or so other records in each table. Even if I do this manually, it won't take long but I would like suggestions on how this can be done most easily (both on these small ones and on largers dbs, when necessary).
As usual, thanks for all the help.
swtrader
-- The trouble with doing something right the first time is that no one appreciates how hard it was.
I need to normalize these dbs using the IndPKs which are in table 1 to map records in tbl2 and tbl3 so that I end up with 1 database containing 4 tables: Individuals (with PKs in Table 1), RecordsFromTbl1 (foreign key IndPK), RecordsFromTbl2 (foreign key IndPK), and RecordsFromTbl3 (foreign key IndPK).
As an example, I now have JoeSmoe with an pkID in tbl1 of "3", in tbl2 of "19", and tbl3 with "28".
There are only about 150 individuals and 50 or so other records in each table. Even if I do this manually, it won't take long but I would like suggestions on how this can be done most easily (both on these small ones and on largers dbs, when necessary).
As usual, thanks for all the help.
swtrader
-- The trouble with doing something right the first time is that no one appreciates how hard it was.