标签:blank inner add sel tac 数据 logs weight blog
向数据表新增一个列
https://stackoverflow.com/questions/12678208/altering-sql-table-to-add-column
IF NOT EXISTS ( SELECT 1 FROM sysobjects INNER JOIN syscolumns ON sysobjects.id = syscolumns.id WHERE sysobjects.name = N‘tbm_den_DynamicEntity‘ AND syscolumns.name = N‘EnableHistory‘ ) ALTER TABLE [dbo].[tbm_den_DynamicEntity] ADD EnableHistory BIT;
标签:blank inner add sel tac 数据 logs weight blog
原文地址:http://www.cnblogs.com/chucklu/p/7359277.html