用SQL去除表中某列的Identifer属性

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,object,Go)