序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | FormsId | int | 4 | 0 | 是 | 是 | 否 | 表单ID | ||
2 | FormsTitle | nvarchar | 255 | 0 | 是 | 表单标题 | ||||
3 | FormsExplain | nvarchar | 255 | 0 | 是 | 表单说明 | ||||
4 | TextTips | nvarchar | 255 | 0 | 是 | 提示文字 | ||||
5 | nvarchar | 255 | 0 | 是 | 邮箱 | |||||
6 | FormsSet | nvarchar | 20 | 0 | 是 | 表单设置 | ||||
7 | Permissions | nvarchar | 255 | 0 | 是 | 表单权限 | ||||
8 | FormContent | nvarchar | 255 | 0 | 是 | 表单内容 |
子站网址
GO
CREATE TABLE [dbo].[ZL_Zone_question]
(
[FormsId] [int] NOT NULL IDENTITY(1, 1),
[FormsTitle] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[FormsExplain] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[TextTips] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[Email] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[FormsSet] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL,
[Permissions] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[FormContent] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ZL_Zone_question] ADD CONSTRAINT [PK_ZL_Zone_question] PRIMARY KEY CLUSTERED ([FormsId]) ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsId'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单标题', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsTitle'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单说明', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsExplain'
GO
EXEC sp_addextendedproperty N'MS_Description', N'提示文字', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'TextTips'
GO
EXEC sp_addextendedproperty N'MS_Description', N'邮箱', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'Email'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单设置', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsSet'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单权限', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'Permissions'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单内容', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormContent'
detele from ZL_Zone_question
drop table ZL_Zone_question
TRUNCATE table ZL_Zone_question