且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在SQL Server 2005的现有表中添加主键(查询)

更新时间:2021-11-14 06:37:30

要解决此问题,需要将应声明PRIMARY KEY约束的所有列显式创建为NOT NULL .试试看,让我们知道.
To fix this this case all columns over which the PRIMARY KEY constraint should be declared needs to be explicitly created as NOT NULL. Give a try and let us know.


是的,我已经完成了,谢谢你给我回复
yes i have done Thank u for sending me a response