I'm hoping someone can help me out with this. I think the answer is pretty straightfoward but I would rather ask first rather than end up corrupting live data.
I used the SQL Server Migration Assistant for Access to upsize an Access 2003 database to a SQL 2005 backend. The migration appeared to work OK, and I was able to put the new system in production. About a week later I was informed that about 5000 historical records were missing. After digging into things I found that three records with illegal characters caused the import of the remaining data in one table to not complete. I have now removed the offending records and imported the entire contents of the table in question to a temporary table in SQL. Now I need to append the missing data into the correct table without affeting the good records and the new records that have been entered since the system went on-line. My concern is the primary keys. The PK field is auto-incrementing, and when I tried to do a simple import I received the primary key violation error. Can anyone tell me how to import the non-duplicate records while maintaining PK integrety?
Thanks in advance,
Joe
I used the SQL Server Migration Assistant for Access to upsize an Access 2003 database to a SQL 2005 backend. The migration appeared to work OK, and I was able to put the new system in production. About a week later I was informed that about 5000 historical records were missing. After digging into things I found that three records with illegal characters caused the import of the remaining data in one table to not complete. I have now removed the offending records and imported the entire contents of the table in question to a temporary table in SQL. Now I need to append the missing data into the correct table without affeting the good records and the new records that have been entered since the system went on-line. My concern is the primary keys. The PK field is auto-incrementing, and when I tried to do a simple import I received the primary key violation error. Can anyone tell me how to import the non-duplicate records while maintaining PK integrety?
Thanks in advance,
Joe
Comment