思想很简单:删除自增列然后重建
1 alter table #test drop column id
2 alter table #test add  id int identity

posted on 2007-12-03 08:09  不够谦虚  阅读(449)  评论(0编辑  收藏  举报