表名:ZL_MisSign












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2WorkDatenvarchar500    工作日
3WorkBeginnvarchar500    上班时间
4WorkEndnvarchar500    下班时间
5Statusint40    0 执行中 1 未执行
6BeginDatedatetime83    开始执行时间

简要说明:

OA工作时间安排表

GO
CREATE TABLE [dbo].[ZL_MisSign](
[ID] [int] IDENTITY(1,1) NOT NULL,
[WorkDate] [nvarchar](50) NULL,
[WorkBegin] [nvarchar](50) NULL,
[WorkEnd] [nvarchar](50) NULL,
[Status] [int] NULL,
[BeginDate] [datetime] NULL,
CONSTRAINT [PK_ZL_MisSign] 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]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0 执行中 1 未执行' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisSign', @level2type=N'COLUMN',@level2name=N'Status'
GO
SET IDENTITY_INSERT [ZL_MisSign] ON
INSERT [ZL_MisSign] ([ID],[WorkDate],[WorkBegin],[WorkEnd],[Status],[BeginDate]) VALUES (1,N'2013-3-30 19:54:21',N'2013-3-30 20:12:21',N'123',1,1)
SET IDENTITY_INSERT [ZL_MisSign] OFF

--注意:将清空全表数据

detele from ZL_MisSign

--注意:将删除整个表

drop table ZL_MisSign

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

TRUNCATE table ZL_MisSign