T
t.roff
I will be importing data from text files every week or so. In the table that
I am importing into, there are two fields that can have duplicates but not at
the same time: ie. field 1 field 2
A 1
A 2
B 1
B 2
is ok, but
A 1
A 1
is not.
I've tried setting up a unique index for the two fields together. Upon
importing, I get a key violation message, but some of the data still gets
imported into the table (a few columns are missing, making a real mess).
What I really want is a message that warns me that the import will create
duplicates of the two fields in question and the option to stop the import
process or overwrite the existing data.
Any ideas?
I am importing into, there are two fields that can have duplicates but not at
the same time: ie. field 1 field 2
A 1
A 2
B 1
B 2
is ok, but
A 1
A 1
is not.
I've tried setting up a unique index for the two fields together. Upon
importing, I get a key violation message, but some of the data still gets
imported into the table (a few columns are missing, making a real mess).
What I really want is a message that warns me that the import will create
duplicates of the two fields in question and the option to stop the import
process or overwrite the existing data.
Any ideas?