Difference between revisions of "Unique constraint"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  ### Error updating database.  Cause: [[org.postgresql.util.PSQLException]]: ERROR: duplicate key value violates [[unique constraint]] "[[live_measures_component]]"
 
  ### Error updating database.  Cause: [[org.postgresql.util.PSQLException]]: ERROR: duplicate key value violates [[unique constraint]] "[[live_measures_component]]"
  
 +
== Related ==
 +
[[ALTER TABLE]] tablename ADD [[CONSTRAINT]] constraintname UNIQUE (columns);
  
  
 
* {{PostgreSQL}}
 
* {{PostgreSQL}}

Revision as of 10:13, 25 November 2022

Advertising: