序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | AskID | int | 4 | 0 | 是 | 对应问卷 | ||||
3 | AnsID | int | 4 | 0 | 是 | 所属回答 | ||||
4 | Qid | int | 4 | 0 | 是 | 对应问题 | ||||
5 | Answer | nvarchar | 4000 | 0 | 是 | 回答 | ||||
6 | UserID | int | 4 | 0 | 是 | 提交人 | ||||
7 | CDate | datetime | 8 | 3 | 是 | 回答时间 |
问卷答题记录表
GO
CREATE TABLE [dbo].[ZL_Design_AnsDetail](
[ID] [int] IDENTITY(1,1) NOT NULL,
[AskID] [int] NULL,
[AnsID] [int] NULL,
[Qid] [int] NULL,
[Answer] [nvarchar](4000) NULL,
[UserID] [int] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Design_AnsDetail] 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_Design_AnsDetail
drop table ZL_Design_AnsDetail
TRUNCATE table ZL_Design_AnsDetail