序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Alias | nvarchar | 100 | 0 | 是 | 微信消息模板别名 | ||||
3 | MsgType | nvarchar | 50 | 0 | 是 | 消息类型 | ||||
4 | MsgContent | ntext | 16 | 0 | 是 | 消息内容 | ||||
5 | AllowLabel | int | 4 | 0 | 是 | 是否允许标签 | ||||
6 | AdminID | int | 4 | 0 | 是 | |||||
7 | CDate | datetime | 8 | 3 | 是 |
微信群发消息模板
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
TRUNCATE table ZL_WX_MsgTlp