I am getting the following error. Could you please help me?
Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the FOREIGN
I also got the same error in my SQL Code, This solution works for me,
Check the data in Primary Table May be you are entering a column value which is not present in the primary key column.