Facing this error : "The INSERT statement conflicted with the FOREIGN KEY constraint "FK_tb_stadmdet...
Error :
"The INSERT statement conflicted with the FOREIGN KEY constraint "FK_tb_stadmdet_tb_usr". The conflict occurred in database "admission", table "dbo.tb_usr", column 'usrcod'. The statement has been terminated."
Now if I will remove foreign key relationship, I am not getting the values from other tables to my table(because of which i have made foreign key relation).
Now what can be done to overcome this error, and I can get values from other tables to a table.
Thanks