取消自增ID.
sp_configure 'allow update',1
reconfigure with override
update syscolumns set colstat=0 where colstat=1 and id=object_id('tablename')
sp_configure 'allow update',0
reconfigure with override
reconfigure with override
update syscolumns set colstat=0 where colstat=1 and id=object_id('tablename')
sp_configure 'allow update',0
reconfigure with override
作者:NewSea 出处:http://newsea.cnblogs.com/
QQ,MSN:iamnewsea@hotmail.com 如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。 |