sql server 2008 删除表的 constraints
摘要:
给定表名和列名删除列上的约束抄来一段DECLARE @tablename VARCHAR(100), @columnname VARCHAR(100), @tab VARCHAR(100) SET @tablename='CountryGroupEmailAndWaitAux' SET @columnname='actionOfHasNoValidEmail' declare @defname varchar(100) declare @cmd varchar(100) select @defname = name FROM sysobjects so JOIN 阅读全文
posted @ 2014-02-13 11:47 HardyLin 阅读(312) 评论(0) 推荐(0) 编辑