序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Title | nvarchar | 200 | 0 | 是 | 邮件标题 | ||||
3 | Content | ntext | 16 | 0 | 是 | 邮件内容 | ||||
4 | Sender | nvarchar | 200 | 0 | 是 | 发件人 | ||||
5 | CCUser | nvarchar | 500 | 0 | 是 | 抄送人 | ||||
6 | Receiver | nvarchar | 500 | 0 | 是 | 收件人 | ||||
7 | Attach | nvarchar | 3000 | 0 | 是 | 附件 | ||||
8 | MailDate | datetime | 8 | 3 | 是 | 邮件编辑时间 | ||||
9 | CDate | datetime | 8 | 3 | 是 | 发送时间 | ||||
10 | UserID | int | 4 | 0 | 是 | |||||
11 | MailID | nvarchar | 300 | 0 | 是 | 邮件编号 | ||||
12 | Status | int | 4 | 0 | 是 | 邮件发送状态 | ||||
13 | MailType | int | 4 | 0 | 是 | 邮件类型 |
能力邮箱表
GO
CREATE TABLE [dbo].[ZL_Plat_Mail](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](200) NULL,
[Content] [ntext] NULL,
[Sender] [nvarchar](200) NULL,
[CCUser] [nvarchar](500) NULL,
[Receiver] [nvarchar](500) NULL,
[Attach] [nvarchar](3000) NULL,
[MailDate] [datetime] NULL,
[CDate] [datetime] NULL,
[UserID] [int] NULL,
[MailID] [nvarchar](300) NULL,
[Status] [int] NULL,
[MailType] [int] NULL,
CONSTRAINT [PK_ZL_Plat_Mail] 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_Plat_Mail
drop table ZL_Plat_Mail
TRUNCATE table ZL_Plat_Mail