postgres drop and create contraint

Solutions on MaxInterview for postgres drop and create contraint by the best coders in the world

showing results for - "postgres drop and create contraint"
Leila
13 Apr 2016
1ALTER TABLE table_name
2ADD CONSTRAINT constraint_name UNIQUE (column1, column2, ... column_n);
Sara
01 Aug 2019
1ALTER TABLE table_name
2DROP CONSTRAINT constraint_name;