开发者

SQL Server Create multiple foreign keys

开发者 https://www.devze.com 2022-12-21 08:02 出处:网络
The table contains a PRIMARY KEY column and another column which is FOREIGN KEY. This works fine. When I attempt t开发者_开发百科o add another column as a FOREIGN KEY I get the following message:

The table contains a PRIMARY KEY column and another column which is FOREIGN KEY. This works fine. When I attempt t开发者_开发百科o add another column as a FOREIGN KEY I get the following message:

Link to pic


This is unrelated to the PKs or FKs.

There is a setting in SQL Server 2008 SSSM to prevent table rebuilds via the designer.

Tools..Options..Designers... clear the option “Prevent saving changes that require table re-creation”.

0

精彩评论

暂无评论...
验证码 换一张
取 消