表名:ZL_Promotion












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    推广用户ID
3PromoNamenvarchar500    推广名称
4StartTimedatetime83    开始时间
5EndTimedatetime83    结束时间
6MoneyULmoney84     
7MoneyLLmoney84     
8ProIdsnvarchar2000     
9UserGroupnvarchar1000     
10ZTypeint40     
11CreateTimedatetime83     

简要说明:

优惠活动表

GO
CREATE TABLE [dbo].[ZL_Promotion](
 [ID] [int] IDENTITY(1,1) NOT NULL,
 [UserID] [int] NULL,
 [PromoName] [nvarchar](50) NULL,
 [StartTime] [datetime] NULL,
 [EndTime] [datetime] NULL,
 [MoneyUL] [money] NULL,
 [MoneyLL] [money] NULL,
 [ProIds] [nvarchar](200) NULL,
 [UserGroup] [nvarchar](100) NULL,
 [ZType] [int] NULL,
 [CreateTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Promotion] 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]

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

detele from ZL_Promotion

--注意:将删除整个表

drop table ZL_Promotion

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

TRUNCATE table ZL_Promotion