The Insert statement conflicted with the foreign key 'ProductXXXXX'. The Conflict occurred in Database 'DatabaseName', table "dbo.TableName", column 'ColumnName'
The Statement has been terminated.
Asked
Active
Viewed 29 times
2

amit adeshara
- 21
- 2
-
The problem occurs when you are trying to insert a record with a value in the foreign key column that doesn't exist in the parent table. May be your mapping data is wrong in excel. – 4L4M1N Sep 19 '22 at 10:44