Sql server add constraint foreign key if not exists July 8, 2019 16 32 64 128 Set foreign_key_checks = on Alter table add constraint