ka****@rocketmail.com (KT) wrote:
I was worrying about this issue also because I will import tables
frequently (like twice a month), and tables that I import will contain
records that I will have already imported (archive), so is setting up
PK with combinations of fields gonna take care of that too?
Setting up the PK should at least help. To better answer that
question, perhaps you could expound a little as to what is contained
in this table and the nature of the data in the tables that you will
be importing.
For instance, each time you import and you already have some of the
records from your previous import, could the data for those records
have changed since the last import? If not, then you only need to
import those records which have never been imported before.
Perhaps you are importing multiple copies of the tables from different
sources at the same time (as you would if you were importing data from
5 different Customer tables, one from each of 5 different sales
regions). If each table contained data about mutually exlusive
customers, then you don't have a problem.
However, if each copy could contain data about the same customer, then
you have to figure out which copy has the newest info about that
particular customer. And if each location could independently update
that same customer, then you'd have to figure out what changes each
location did to that customer, and import the accumulated changes.
This would be quite an involved process.