To alter a constraints we need to drop that constraints first.
then recreate that constraints.
Follow this syntax, to Drop Constraints.
ALTER TABLE [dbo].[TableName] DROP CONSTRAINT
[FK_Config_ConstraintsName]
This is a open code forum with some good code which makes you help to solve your coding problem.
REFERENTIAL constraints are saved in
REFERENTIAL_CONSTRAINTS table.
SQL Optimization 1. Add where on your query 2. If you remove some data after the data return then remove the remove condition in the sel...