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]
05-08 08:19