取消自增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   
posted @ 2006-10-17 16:47  NewSea  阅读(462)  评论(0编辑  收藏  举报