B
Bill
I have a database thast has been undergoing many changes. The new version of
the database adds a bunch of forms and reports, a couple of new tables.
Now, it's time to switch over to the new version of the database. I need to
get current production information over to the new version. I'm looking for
some advice on how to make this happen- the easiest/quickest.
On the new version, the tables are out of date. I would like to just copy
the tables over from the Production version of the database to this new
updated version, but re-establishing relationships looks like a problem.
Here are a few options I've thought of:
Option 1:
One method I've tried is to import the tables from the current production
version of the database. For example, the address table- import the
production address table as address_1. Break the relationship and Delete
the existing address table, then rename address_1 to address and try to setup
the relationship again. But, when I try to re-establish the relationship
with referential integrity, I get: "can't create this relationship, data in
the table violates ref. integrity rules".
Trying to figure out what's different and causing the error will be a chore
- it happens on each table I try to go to.
Option 2:
Import the address table as address_1. Create an update query to update the
data in "address" from the "address_1" data. Looks like I'll need to do an
update, then delete query (to remove records), then append to make sure I get
the new data imported. Seems like a real pain for each table, or, am I going
down the wrong path.
Any suggestions?
the database adds a bunch of forms and reports, a couple of new tables.
Now, it's time to switch over to the new version of the database. I need to
get current production information over to the new version. I'm looking for
some advice on how to make this happen- the easiest/quickest.
On the new version, the tables are out of date. I would like to just copy
the tables over from the Production version of the database to this new
updated version, but re-establishing relationships looks like a problem.
Here are a few options I've thought of:
Option 1:
One method I've tried is to import the tables from the current production
version of the database. For example, the address table- import the
production address table as address_1. Break the relationship and Delete
the existing address table, then rename address_1 to address and try to setup
the relationship again. But, when I try to re-establish the relationship
with referential integrity, I get: "can't create this relationship, data in
the table violates ref. integrity rules".
Trying to figure out what's different and causing the error will be a chore
- it happens on each table I try to go to.
Option 2:
Import the address table as address_1. Create an update query to update the
data in "address" from the "address_1" data. Looks like I'll need to do an
update, then delete query (to remove records), then append to make sure I get
the new data imported. Seems like a real pain for each table, or, am I going
down the wrong path.
Any suggestions?