Alter CONSTRAINT to only use stored_prodedure on insert (not on update)
133977
Alter CONSTRAINT or stored procedure only to check when insert not on update
130341
SQL Insert Statement Persists Two Records When I Need Just One
34957
Idiomatic way to implement UPSERT in PostgreSQL
38371
How to UPSERT (MERGE, INSERT ... ON DUPLICATE UPDATE) in PostgreSQL?
90191
How can I edit this trigger to only fire once?
61152
constraint in oracle
80600
How to list all constraints of a table in PostgreSQL?
49655
Using ALTER to drop a column if it exists in MySQL
110522
Insert, on duplicate update in PostgreSQL?
68103
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints
135259
How do you copy a record in a SQL table but swap out the unique id of the new row?
60366
How can I reject all changes in a Linq to SQL's DataContext?
118632
How to set identity_insert to on in SQL Server
100019
Why does a UNIQUE constraint allow only one NULL?
150505
Unable to save the Lead record since Company is a standard required field in salesforce before insert trigger
74786
How to alter a column and change the default value?
103077
Cannot truncate table because it is being referenced by a FOREIGN KEY constraint?