表名:ZL_Shop_DeliveryMan












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    送货员用户ID
3Authnvarchar40000    权限信息
4StoreIDint40    所属店铺ID
5ZStatusint40    状态[预留]
6Remindnvarchar5000    备注
7CDatedatetime83    添加时间
8Bonusmoney84    送货人分红比率

简要说明:

送货员表

GO
CREATE TABLE [dbo].[ZL_Shop_DeliveryMan](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[Auth] [nvarchar](4000) NULL,
[StoreID] [int] NULL,
[ZStatus] [int] NULL,
[Remind] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[Bonus] [money] NULL,
CONSTRAINT [PK_ZL_Shop_DeliverMan] 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_Shop_DeliveryMan

--注意:将删除整个表

drop table ZL_Shop_DeliveryMan

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

TRUNCATE table ZL_Shop_DeliveryMan