if not exists(select * from syscolumns where id=object_id(‘table1’ )and name=’列名’)
alter table table1 add 列名 nchar default 初始值
Sql Server 给某张已存在的表新增某字段并附初始值
猜你喜欢
转载自blog.csdn.net/sinat_35444520/article/details/82687166
今日推荐
周排行