Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql change a colum to unique

ALTER TABLE product
ADD CONSTRAINT UQ_product_name UNIQUE(name);
Source by learnsql.com #
 
PREVIOUS NEXT
Tagged: #sql #change #colum #unique
ADD COMMENT
Topic
Name
6+3 =