What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-10-17 16:47:04
alter constraint in sql
You can not alter constraints ever but you can drop them and then recreate. Have look on this ALTER TABLE your_table DROP CONSTRAINT ACTIVEPROG_FKEY1; and then recreate it with ON DELETE CASCADE like this ALTER TABLE your_table add CONSTRA... Add solution
Best helpers
Ranking is empty