
复制DECLARE @Constraint_Name varchar (200)              select @Constraint_Name = Name               from dbo.sysobjects               where Xtype = PK                  and Parent_Obj = (select [ID]                                             from dbo.sysobjects                                             where id = object_id(N[T_LLCJDJ])                    and OBJECTPROPERTY(id,删实现
 NIsUserTable) = 1)              EXEC (alter table T_LLCJDJ drop constraint +@Constraint_Name )               1.2.3.4.5.6.7.8.9.10.11.            
(责任编辑:系统运维)