标签:
1.增加列: alter table tableName add columnName varchar(30) 2.修改列类型: alter table tableName alter column columnName varchar(4000) 3.修改列的名称: EXEC sp_rename ‘tableName.column1‘ , ‘column2‘ (把表名为tableName的column1列名修改为column2) 4.删除列: alter table tableName drop column columnName
标签:
原文地址:http://www.cnblogs.com/benpaodegegen/p/5968530.html