Hi All,
I have a look up table with old data, which i need to truncate and load with the new set of data, however when loading i'm getting the following error
[OLE DB Destination [32]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Cannot insert duplicate key row in object 'dbo.CaseType' with unique index 'idx_CaseType'. The duplicate key value is (49, AH).".
I know , what it means that since CaseType column has a unique index we cannot insert duplicate key, but in real world the scenarios are different , the record in question is as follows: so what is the workaround in this kind of scenario other than making it Non-unique Index?
Thanks
CaseTypeID | CountyID | CaseCategory | CaseTypeCode | CaseTypeName |
21 | 49 | Probate | AH | Probate |
48 | 49 | Civil | AH | Adoption History |
SV