Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create a unqie constraint mysql

ALTER TABLE contacts
ADD CONSTRAINT contact_name_unique UNIQUE (last_name, first_name);
Source by www.techonthenet.com #
 
PREVIOUS NEXT
Tagged: #create #unqie #constraint #mysql
ADD COMMENT
Topic
Name
1+4 =