I need to delete the primary key of the Student table in the SQL Server database.
I edited in the table and the script got
ALTER TABLE dbo.Student DROP CONSTRAINT PK__Student__9CC368536561EF8B
But when I ran this script in SQL Server Query Browser to remove the primary key
Message is displayed
Msg 3728, Level 16, State 1, Line 1
"PK__Student__9CC368536561EF8B" is not a limitation.
Msg 3727, Level 16, State 0, Line 1
To my concern, I think that PK__Student__9CC368536561EF8B will be randomly generated, please help me reset the primary key constraint using a script .
Thank you in advance
sql-server sql-server-2008 sql-server-2005
muthukumar Dec 19 2018-12-12T00: 00Z
source share