表名:ZL_OA_Borrow












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    借阅记录登记人id
3Uidsvarchar40000    借阅人ids
4UNamesnvarchar40000    借阅人用户名
5DocIDSvarchar40000    借阅文件
6DocTitlesnvarchar40000    借阅文件标题
7CDatedatetime83    创建时间
8SDatedatetime83    起始时间,默认为当前时间
9EDatedatetime83    结束时间
10Remindnvarchar40000    备注信息

简要说明:

借阅登记表


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

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_OA_Borrow