表名:ZL_Shop_ProOrderList












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2OrderListIDint40    门店订单ID
3ProIDint40    商品ID
4ProNamenvarchar1000    商品名称
5ProPricemoney84    商品价格
6Pronumint40    订购数量
7Pronum_Receint40    收货数量
8ProArrivemoney84    商品优惠
9Remindnvarchar5000     
10ZStatusnvarchar2000     
11CDatedatetime83     
12UserIDint40     
13AllMoneymoney84    金额小计

简要说明:

门店采购订单

GO
CREATE TABLE [dbo].[ZL_Shop_ProOrderList](
[ID] [int] IDENTITY(1,1) NOT NULL,
[OrderListID] [int] NULL,
[ProID] [int] NULL,
[ProName] [nvarchar](100) NULL,
[ProPrice] [money] NULL,
[Pronum] [int] NULL,
[Pronum_Rece] [int] NULL,
[ProArrive] [money] NULL,
[Remind] [nvarchar](500) NULL,
[ZStatus] [nvarchar](200) NULL,
[CDate] [datetime] NULL,
[UserID] [int] NULL,
[AllMoney] [money] NULL,
CONSTRAINT [PK_ZL_Shop_ProOrderList] 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_ProOrderList

--注意:将删除整个表

drop table ZL_Shop_ProOrderList

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

TRUNCATE table ZL_Shop_ProOrderList