CREATE TABLE gbook
(
[id] int identity(1,1) not null,
[title] nvarchar(50) collate Chinese_PRC_CI_AS null,
[name] nvarchar(50) collate Chinese_PRC_CI_AS null,
[time] datetime null,
[content] nvarchar(50) collate Chinese_PRC_CI_AS null,
[reptitle] nvarchar(50) collate Chinese_PRC_CI_AS null,
[admin] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL,
[reptime] [datetime] NULL,
[repcontent] [nvarchar](max) COLLATE Chinese_PRC_CI_AS NULL,
[classid] [int] NULL,
[userid] [int] NULL,
)
constraint [PK_gbook] primary key clustered
([id] asc);
with(PAD_INDEX=OFF,STATISTICS_NORECOMPUTE=OFF,IGNORE_DUP_KEY=OFF,ALLOW_ROW_LOCKS=ON,ALLOW_PAGE_LOCKS=ON)
ON PRIMARY
)ON PRIMARY
userid 字段後面 多了一個逗號?