SQL Server 2008: The columns in table do not match an existing primary key or unique constraint

前端 未结 11 1196
梦谈多话
梦谈多话 2020-12-28 11:50

I need to make some changes to a SQL Server 2008 database.

This requires the creation of a new table, and inserting a foreign key in the new table that references t

11条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-28 12:22

    This issue caught me out, I was adding the relationship on the wrong table. So if you're trying to add a relationship in table A to table B, try adding the relationship in table B to table A.

提交回复
热议问题