Answers for "how to add a primary key to an existing table"

SQL
6

add primary key to existing table sql

alter table Persion add primary key (persionId,Pname,PMID)
Posted by: Guest on February-08-2021
0

add primary key to table

ALTER TABLE Persons

ADD PRIMARY KEY (ID);
Posted by: Guest on June-07-2021
0

sql server add primary key to existing table with data

ALTER TABLE Production.TransactionHistoryArchive
   ADD CONSTRAINT PK_TransactionHistoryArchive_TransactionID PRIMARY KEY CLUSTERED (TransactionID);
Posted by: Guest on July-22-2020

Code answers related to "how to add a primary key to an existing table"

Code answers related to "SQL"

Browse Popular Code Answers by Language