表名:ZL_WX_LuckDraw












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Namenvarchar2000    抽奖活动名称
3Prizentext160    奖品Json数据
4SDatedatetime83    开始时间
5EDatedatetime83    结束时间
6LimitNumint40    参加人数限制
7AdminIDint40     
8CDatedatetime83     
9Remindnvarchar20000     

简要说明:

微信抽奖活动

CREATE TABLE [dbo].[ZL_WX_LuckDraw](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](200) NULL,
[Prize] [ntext] NULL,
[SDate] [datetime] NULL,
[EDate] [datetime] NULL,
[LimitNum] [int] NULL,
[AdminID] [int] NULL,
[CDate] [datetime] NULL,
[Remind] [nvarchar](2000) NULL,
CONSTRAINT [PK_ZL_WX_LuckDraw] 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] TEXTIMAGE_ON [PRIMARY]

--注意:将清空全表数据

detele from ZL_WX_LuckDraw

--注意:将删除整个表

drop table ZL_WX_LuckDraw

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_WX_LuckDraw