序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | UserID | int | 4 | 0 | 是 | 借阅记录登记人id | ||||
3 | Uids | varchar | 4000 | 0 | 是 | 借阅人ids | ||||
4 | UNames | nvarchar | 4000 | 0 | 是 | 借阅人用户名 | ||||
5 | DocIDS | varchar | 4000 | 0 | 是 | 借阅文件 | ||||
6 | DocTitles | nvarchar | 4000 | 0 | 是 | 借阅文件标题 | ||||
7 | CDate | datetime | 8 | 3 | 是 | 创建时间 | ||||
8 | SDate | datetime | 8 | 3 | 是 | 起始时间,默认为当前时间 | ||||
9 | EDate | datetime | 8 | 3 | 是 | 结束时间 | ||||
10 | Remind | nvarchar | 4000 | 0 | 是 | 备注信息 |
借阅登记表
GO
CREATE TABLE [dbo].[ZL_OA_Borrow](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[Uids] [varchar](4000) NULL,
[UNames] [nvarchar](4000) NULL,
[DocIDS] [varchar](4000) NULL,
[DocTitles] [nvarchar](4000) NULL,
[CDate] [datetime] NULL,
[SDate] [datetime] NULL,
[EDate] [datetime] NULL,
[Remind] [nvarchar](4000) NULL,
CONSTRAINT [PK_ZL_OA_Borrow] 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_OA_Borrow
drop table ZL_OA_Borrow
TRUNCATE table ZL_OA_Borrow