While Executing SSIS package getting error "The value violated the integrity constraints for the column" .
It means that it tried to insert null value into the non nullable column in the database. What you want to do is check the table definition of the destination table for any integrity constraints like NOT NULL or PRIMARY KEY.
You can distinguish from whether violation due to Not NULL or Primary Key by looking at Error column.
Generally if Error column is 0 (zero) then it is a PK violation otherwise it is a Not NULL key violation.
So need to analyze source data and correction if required.
Super helpful!!!
ReplyDelete