![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm using SQL Server 2000 and created a simple DTS to append records from one table to another. The second table has got a composite primary key (col1 and col2). When I run the DTS is gives me this error: ---------- Violation of Primary key constraint "PK_Table2". Cannot insert duplicate key in object "Table2". ---------- This works fine in Access because the composite of the two columns is not a duplicate, and those that are duplicates will be skipped. Is there something I'm missing, or does SQL 2K not support this feature in the same way Access does? Would appreciate your help. Thanks. Raul |
![]() |
| Thread Tools | |
| Display Modes | |
| |