![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi: I am new to SQL server. I need to import data to my SQL database periodically. The external data may contains duplicated data to my database. I was using "Import data" initially but it will fail if there is a violation of PRIMARY KEY constraint. Then I discoverred this DTS package which allow me to customise the data transfer process. But I still facing problem of "Violation of PRIMARY KEY constraint" due to the duplicated data. How can I skip the duplicated data and proceed to transfer the the rest of the non-error data? Thank you. Chin Lin |
#3
| |||
| |||
|
|
Hi: I am new to SQL server. I need to import data to my SQL database periodically. The external data may contains duplicated data to my database. I was using "Import data" initially but it will fail if there is a violation of PRIMARY KEY constraint. Then I discoverred this DTS package which allow me to customise the data transfer process. But I still facing problem of "Violation of PRIMARY KEY constraint" due to the duplicated data. How can I skip the duplicated data and proceed to transfer the the rest of the non-error data? Thank you. Chin Lin |
#4
| |||
| |||
|
|
Hi: I am new to SQL server. I need to import data to my SQL database periodically. The external data may contains duplicated data to my database. I was using "Import data" initially but it will fail if there is a violation of PRIMARY KEY constraint. Then I discoverred this DTS package which allow me to customise the data transfer process. But I still facing problem of "Violation of PRIMARY KEY constraint" due to the duplicated data. How can I skip the duplicated data and proceed to transfer the the rest of the non-error data? Thank you. Chin Lin |
![]() |
| Thread Tools | |
| Display Modes | |
| |