Add Primary Key to existing table

PHOTO EMBED

Fri Jul 08 2022 23:26:15 GMT+0000 (UTC)

Saved by @dhfinch #sqlserver #dbmaintenance

ALTER TABLE Environmental
ADD CONSTRAINT PK_Environmental_nID PRIMARY KEY (nID[, optionalcolumns]);
content_copyCOPY