会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我的.NET人生
博客园
首页
新随笔
联系
订阅
管理
解决SQL Server导入数据时id自增属性丢失
1 alter table #test drop column id 2 alter table #test add id int identity
思想很简单:删除自增列然后重建
1
alter
table
#test
drop
column
id
2
alter
table
#test
add
id
int
identity
posted on
2007-12-03 08:09
不够谦虚
阅读(
471
) 评论(
0
)
收藏
举报
刷新页面
返回顶部