表名:ZL_WX_MsgTlp












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Aliasnvarchar1000    微信消息模板别名
3MsgTypenvarchar500    消息类型
4MsgContentntext160    消息内容
5AllowLabelint40    是否允许标签
6AdminIDint40     
7CDatedatetime83     

简要说明:

微信群发消息模板

GO
CREATE TABLE [dbo].[ZL_WX_MsgTlp](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Alias] [nvarchar](100) NULL,
[MsgType] [nvarchar](50) NULL,
[MsgContent] [ntext] NULL,
[AllowLabel] [int] NULL,
[AdminID] [int] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_WX_MsgTlp] 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_MsgTlp

--注意:将删除整个表

drop table ZL_WX_MsgTlp

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

TRUNCATE table ZL_WX_MsgTlp