我需要删除StudentSQL Server数据库中表的主键.
我已经在表格中编辑了,我得到的脚本是
ALTER TABLE dbo.Student
DROP CONSTRAINT PK__Student__9CC368536561EF8B
Run Code Online (Sandbox Code Playgroud)
但是当我在SQL Server查询浏览器中运行此脚本以删除主键时
它显示了该消息
Msg 3728,Level 16,State 1,Line
1'PK__Student__9CC368536561EF8B'不是约束.
Msg 3727,Level 16,State 0,Line 1
令我担心的是,我认为PK__Student__9CC368536561EF8B这将随机生成,请帮助我使用脚本删除主键约束.
提前致谢