Skip to content

Instantly share code, notes, and snippets.

@ArCiGo
Last active May 19, 2019 21:36
Show Gist options
  • Save ArCiGo/cf068636de620d6a81773d61f8c8b6c4 to your computer and use it in GitHub Desktop.
Save ArCiGo/cf068636de620d6a81773d61f8c8b6c4 to your computer and use it in GitHub Desktop.
/** Adding constraint to an existing table **/
ALTER TABLE Customer ADD CONSTRAINT PK_ORDER PRIMARY KEY(Id);
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment