表名:ZL_Shop_PrintDevice












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2DeviceNonvarchar2000    设备编码
3MemberCodenvarchar2000    商户编码
4SecurityKeynvarchar2000    API密钥
5Sincedatetime83    激活日期
6LastConnecteddatetime83    最后一次通信时刻
7Aliasnvarchar500    别名
8ShopNamenvarchar500    店铺名称
9Remindnvarchar2000    备注
10IsDefaultint40    是否是默认打印机

简要说明:

飞印打印设备表

GO
CREATE TABLE [dbo].[ZL_Shop_PrintDevice](
[ID] [int] IDENTITY(1,1) NOT NULL,
[DeviceNo] [nvarchar](200) NULL,
[MemberCode] [nvarchar](200) NULL,
[SecurityKey] [nvarchar](200) NULL,
[Since] [datetime] NULL,
[LastConnected] [datetime] NULL,
[Alias] [nvarchar](50) NULL,
[ShopName] [nvarchar](50) NULL,
[Remind] [nvarchar](200) NULL,
[IsDefault] [int] NULL,
CONSTRAINT [PK_ZL_Shop_Feyin] 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_PrintDevice

--注意:将删除整个表

drop table ZL_Shop_PrintDevice

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

TRUNCATE table ZL_Shop_PrintDevice