Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Foreign Key Constraint Error

$
0
0

Hi Guru's

In my package I have a transformation OLEDB Command. This is used to update if employee details but i'm getting the following error.

[Update Case Detail [696]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E2F.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E2F  Description: "The statement has been terminated.".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E2F  Description: "The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_EmployeeDetail_EmployeeeStatus". The conflict occurred in database "DBNAME", table "dbo.EmployeeStatus", column 'EmployeeStatus'.".

Can anyone please guide me how to get around this error?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>