Help Primary Key violation
I'm trying to port access DB to Sql Server database.
With access I can insert several rows also if someone are present in the
destination table.
For example if I have 20 rows in the dest table and I want to insert 30 rows
from orig table to dest table, but 20 rows are present in the dest table, an
insert command, will insert the 10 new rows and return a message of primary
key violation.
Sql Server, return primary key violation message, but don't insert the new
10 rows.
How can I do?
The problem is that the destination table have 3.000.000 of records and
source table have 400.000 record.
Thanks for your help.
Andrew
|