我正在尝试更新表(产品)列- ProductID(FK)和ProductType(FK)。这两列与MProduct表的MProductID(PK)和MProductType(PK)列有关系。我检查了MProduct表,它有所有有效的记录供查找。我不能更改我的表结构。and M.ProductType = P.ProductType and M.ProductID is null
并且没有输出,这意味着在查找表中</em
我有一个问题,是什么让我犯了这个错误:The INSERT statement conflicted with the FOREIGN KEY constraint "FK_CourseEnrolled_StudentDemographic". The conflict occurred in database "PK_Final", table "dbo.StudentDemographic", column 'St