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
猜你喜欢
  • 2022-12-23
  • 2021-09-04
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-06-14
相关资源
相似解决方案