sql语句建表,并且自增加主键

sql语句建表,并且自增加主键

use [test] CREATE TABLE [dbo].[Table_4] ( [userid] [int] IDENTITY(1,1) NOT NULL, CONSTRAINT [PK_Table_4] PRIMARY KEY CLUSTERED ( [userid] ASC ) ) ON [PRIMARY]

 

 

posted @ 2013-07-11 16:43  Summers  阅读(9795)  评论(0编辑  收藏  举报