if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[D_FK]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[D] DROP CONSTRAINT D_FK 相关文章: 2022-12-23 2021-08-16 2021-05-28 2021-10-15 2021-10-03