Hi I have an error while inserting data into database. So kindly please clear my doubt. Here is my error.
The INSERT statement conflicted with the FOREIGN KEY constraint "FK__Dealers__DealerI__0C50D423". The conflict occurred in database "sujaytamil", table "dbo.MinorCategory", column 'MinorCategoryID'.
The statement has been terminated.
Insert Statement Error
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Piyush PansuriyaRank #454 · 5.5K reputationPosted Jan 4, 2015, 11:42 PM EST
If you are Inserting Same MinorCategoryID again in table then it will occure.
Give it to Auto Increment or try different ID