表名:ZL_OA_DocView












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2DocIDint40    公文ID
3ViewUserIDSvarchar80000    浏览人ID
4EditUserIDSvarchar80000    编辑人ID
5ZStatusint40     
6UserIDint40     
7CDatedatetime83     
8EndDatedatetime83    终止日期

简要说明:

OA公文传阅记录

GO
CREATE TABLE [dbo].[ZL_OA_FreePro](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ProID] [int] NULL,
[stepNum] [int] NOT NULL,
[stepName] [nvarchar](50) NULL,
[SendMan] [varchar](8000) NULL,
[ReferUser] [varchar](8000) NULL,
[ReferGroup] [varchar](8000) NULL,
[CCUser] [varchar](8000) NULL,
[CCGroup] [varchar](8000) NULL,
[HQoption] [int] NULL,
[Qzzjoption] [int] NULL,
[HToption] [int] NULL,
[EmailAlert] [varchar](8000) NULL,
[EmailGroup] [varchar](8000) NULL,
[SmsAlert] [varchar](8000) NULL,
[SmsGroup] [varchar](8000) NULL,
[BackOption] [int] NULL,
[PublicAttachOption] [int] NULL,
[PrivateAttachOption] [int] NULL,
[Status] [int] NULL,
[CreateTime] [datetime] NULL,
[Remind] [nvarchar](100) NULL,
[CanEditField] [varchar](3000) NULL,
[DocAuth] [varchar](500) NULL,
[ReferUser_Alias] [nvarchar](50) NULL,
[CCUser_Alias] [nvarchar](50) NULL,
[CCUser_Allow] [int] NULL,
[NextOP] [nvarchar](4000) NULL,
[HelpUser_Alias] [nvarchar](50) NULL,
[HelpUser_Allow] [int] NULL,
[HelpUser] [varchar](8000) NULL,
[StepAuth] [ntext] NULL,
[ParentID] [int] NULL,
[OrginStepID] [int] NULL,
CONSTRAINT [PK_ZL_OA_FreePro] PRIMARY KEY NONCLUSTERED
([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_OA_DocView

--注意:将删除整个表

drop table ZL_OA_DocView

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

TRUNCATE table ZL_OA_DocView