添加自动增长字段做主键

Create Table Student
(
   id   int    identity(1,1) primary key    
)
identity:自增列
int identity(1,1):从1开始每次递增1
posted on 2017-09-13 22:12  songbird  阅读(341)  评论(0)    收藏  举报