Sql Server Add unique constrint to a column of a table

0
23

Image

 

Its is simple

Here is how to add unique constraint to c_id of customers table

ALTER TABLE Customers
ADD UNIQUE (c_Id)

SHARE
Previous articleSQL server find nth Greatest row
Next articleGoogle Chrome Pros and Cons
abhilash, is a programmer by profession and a technology addict with a passion towards browsing , shopping and imaging . My views may be biased on reviews. all images and videos are copyrighted to respective owners.

LEAVE A REPLY

Please enter your comment!
Please enter your name here