Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create unique constraint postgres

//psql's inline help:
$ h ALTER TABLE

ALTER TABLE tablename ADD CONSTRAINT constraintname UNIQUE (columns);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #unique #constraint #postgres
ADD COMMENT
Topic
Name
8+3 =