sp_configure 'allow updates', 1
GO
reconfigure with override
GO
update syscolumns set colstat = colstat & 0x0000
where id=object_id('表名') and name='列名'
GO
sp_configure 'allow updates', 0
用SQL去除表中某列的Identifer属性
最新推荐文章于 2022-01-20 17:24:51 发布
sp_configure 'allow updates', 1
GO
reconfigure with override
GO
update syscolumns set colstat = colstat & 0x0000
where id=object_id('表名') and name='列名'
GO
sp_configure 'allow updates', 0