Answers for "postgres add unique constraint to column"

SQL
4

postgres add unique constraint to column

ALTER TABLE table_name
ADD CONSTRAINT constraint_name UNIQUE (column1, column2, ... column_n);
Posted by: Guest on January-14-2021

Code answers related to "postgres add unique constraint to column"

Code answers related to "SQL"

Browse Popular Code Answers by Language