How to make Primary Key in Sql Server Using Alter Statement? -
I have forgotten that create a primary key for my table. Now I update the My code is below. I tried this syntax but it is not correct. To create a clustered primary key on an existing table: To create a non-clustered primary key on an existing table: DocDay_Id column I want to make it and make it a primary key. How can I do this?
Optional table Doctoral Optional column DocDay_Id int IDENTITY (1,1) Primary key faucet table form doctor's device (DocDay_Id int IDENTITY (1,1) No, zero, Doc_Id int Foreign Key Reference Doctor (Doc_Id ) No, zero, day_directory difference foreign key reference day (Day_Id) not zero)
Optional Table Doctorus Insert Do Pike_ DocDays primary key class (DocDay_Id);
Insert an optional table doctor's PK_DocDays primary key denied (DocDay_Id);
Comments
Post a Comment