CREATE TABLE table1( [ID] [bigint] IDENTITY(1,1) NOT NULL, [Name] nvarchar NOT NULL, [class] int not null, [date] datetime not null)class 表示分类编号。 分类数不固定, 至少有上千种分类 date 表示该条记录被更 CREATE TABLE table1( [I
复制代码 代码如下: CREATE TABLE [dbo].[TbGuidTable]( [TableName] varchar NOT NULL, [KeyName] varchar NOT NULL, [KeyValue] varchar NOT NULL ) ON [PRIMARY] GO if exists (select * from dbo.sysobjects where id =