Answers for "how to add primary key in existing table in sql"

SQL
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 primary key in existing table in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language